diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/ide.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index c333a7528d94..67f98c096c03 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -913,6 +913,27 @@ enum { | |||
| 913 | IDE_TFLAG_IN_DATA = (1 << 17), | 913 | IDE_TFLAG_IN_DATA = (1 << 17), |
| 914 | IDE_TFLAG_CUSTOM_HANDLER = (1 << 18), | 914 | IDE_TFLAG_CUSTOM_HANDLER = (1 << 18), |
| 915 | IDE_TFLAG_DMA_PIO_FALLBACK = (1 << 19), | 915 | IDE_TFLAG_DMA_PIO_FALLBACK = (1 << 19), |
| 916 | IDE_TFLAG_IN_HOB_FEATURE = (1 << 20), | ||
| 917 | IDE_TFLAG_IN_HOB_NSECT = (1 << 21), | ||
| 918 | IDE_TFLAG_IN_HOB_LBAL = (1 << 22), | ||
| 919 | IDE_TFLAG_IN_HOB_LBAM = (1 << 23), | ||
| 920 | IDE_TFLAG_IN_HOB_LBAH = (1 << 24), | ||
| 921 | IDE_TFLAG_IN_HOB_LBA = IDE_TFLAG_IN_HOB_LBAL | | ||
| 922 | IDE_TFLAG_IN_HOB_LBAM | | ||
| 923 | IDE_TFLAG_IN_HOB_LBAH, | ||
| 924 | IDE_TFLAG_IN_HOB = IDE_TFLAG_IN_HOB_FEATURE | | ||
| 925 | IDE_TFLAG_IN_HOB_NSECT | | ||
| 926 | IDE_TFLAG_IN_HOB_LBA, | ||
| 927 | IDE_TFLAG_IN_NSECT = (1 << 25), | ||
| 928 | IDE_TFLAG_IN_LBAL = (1 << 26), | ||
| 929 | IDE_TFLAG_IN_LBAM = (1 << 27), | ||
| 930 | IDE_TFLAG_IN_LBAH = (1 << 28), | ||
| 931 | IDE_TFLAG_IN_LBA = IDE_TFLAG_IN_LBAL | | ||
| 932 | IDE_TFLAG_IN_LBAM | | ||
| 933 | IDE_TFLAG_IN_LBAH, | ||
| 934 | IDE_TFLAG_IN_TF = IDE_TFLAG_IN_NSECT | | ||
| 935 | IDE_TFLAG_IN_LBA, | ||
| 936 | IDE_TFLAG_IN_DEVICE = (1 << 29), | ||
| 916 | }; | 937 | }; |
| 917 | 938 | ||
| 918 | struct ide_taskfile { | 939 | struct ide_taskfile { |
| @@ -956,8 +977,7 @@ typedef struct ide_task_s { | |||
| 956 | } ide_task_t; | 977 | } ide_task_t; |
| 957 | 978 | ||
| 958 | void ide_tf_load(ide_drive_t *, ide_task_t *); | 979 | void ide_tf_load(ide_drive_t *, ide_task_t *); |
| 959 | 980 | void ide_tf_read(ide_drive_t *, ide_task_t *); | |
| 960 | extern u32 ide_read_24(ide_drive_t *); | ||
| 961 | 981 | ||
| 962 | extern void SELECT_DRIVE(ide_drive_t *); | 982 | extern void SELECT_DRIVE(ide_drive_t *); |
| 963 | extern void SELECT_MASK(ide_drive_t *, int); | 983 | extern void SELECT_MASK(ide_drive_t *, int); |
