aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:10 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:10 -0500
commit657cc1a8f6cd6a9e2974cba3af9fccd8c25e06ad (patch)
tree4f1542ec2738993193ac4c02cba78aa4ed981f80 /include/linux
parent3687221f28058c40e2c57a286decd0caeac67382 (diff)
ide: set IDE_TFLAG_IN_* flags before queuing/executing command
* Add IDE_TFLAG_{HOB,TF,DEVICE} defines. * Set IDE_TFLAG_IN_* flags in {do_rw,ide_no_data,ide_raw}_taskfile() users. * Remove no longer needed ->tf_flags setup from ide_end_drive_cmd(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index c1a8b8bb93ab..02493dbb156d 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -931,6 +931,12 @@ enum {
931 IDE_TFLAG_IN_TF = IDE_TFLAG_IN_NSECT | 931 IDE_TFLAG_IN_TF = IDE_TFLAG_IN_NSECT |
932 IDE_TFLAG_IN_LBA, 932 IDE_TFLAG_IN_LBA,
933 IDE_TFLAG_IN_DEVICE = (1 << 29), 933 IDE_TFLAG_IN_DEVICE = (1 << 29),
934 IDE_TFLAG_HOB = IDE_TFLAG_OUT_HOB |
935 IDE_TFLAG_IN_HOB,
936 IDE_TFLAG_TF = IDE_TFLAG_OUT_TF |
937 IDE_TFLAG_IN_TF,
938 IDE_TFLAG_DEVICE = IDE_TFLAG_OUT_DEVICE |
939 IDE_TFLAG_IN_DEVICE,
934 /* force 16-bit I/O operations */ 940 /* force 16-bit I/O operations */
935 IDE_TFLAG_IO_16BIT = (1 << 30), 941 IDE_TFLAG_IO_16BIT = (1 << 30),
936}; 942};