diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index ccb70abe991b..e919c865f0c7 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -265,7 +265,7 @@ enum { | |||
265 | IDE_TFLAG_WRITE = (1 << 12), | 265 | IDE_TFLAG_WRITE = (1 << 12), |
266 | IDE_TFLAG_CUSTOM_HANDLER = (1 << 13), | 266 | IDE_TFLAG_CUSTOM_HANDLER = (1 << 13), |
267 | IDE_TFLAG_DMA_PIO_FALLBACK = (1 << 14), | 267 | IDE_TFLAG_DMA_PIO_FALLBACK = (1 << 14), |
268 | IDE_TFLAG_IN_HOB_FEATURE = (1 << 15), | 268 | IDE_TFLAG_IN_HOB_ERROR = (1 << 15), |
269 | IDE_TFLAG_IN_HOB_NSECT = (1 << 16), | 269 | IDE_TFLAG_IN_HOB_NSECT = (1 << 16), |
270 | IDE_TFLAG_IN_HOB_LBAL = (1 << 17), | 270 | IDE_TFLAG_IN_HOB_LBAL = (1 << 17), |
271 | IDE_TFLAG_IN_HOB_LBAM = (1 << 18), | 271 | IDE_TFLAG_IN_HOB_LBAM = (1 << 18), |
@@ -273,10 +273,10 @@ enum { | |||
273 | IDE_TFLAG_IN_HOB_LBA = IDE_TFLAG_IN_HOB_LBAL | | 273 | IDE_TFLAG_IN_HOB_LBA = IDE_TFLAG_IN_HOB_LBAL | |
274 | IDE_TFLAG_IN_HOB_LBAM | | 274 | IDE_TFLAG_IN_HOB_LBAM | |
275 | IDE_TFLAG_IN_HOB_LBAH, | 275 | IDE_TFLAG_IN_HOB_LBAH, |
276 | IDE_TFLAG_IN_HOB = IDE_TFLAG_IN_HOB_FEATURE | | 276 | IDE_TFLAG_IN_HOB = IDE_TFLAG_IN_HOB_ERROR | |
277 | IDE_TFLAG_IN_HOB_NSECT | | 277 | IDE_TFLAG_IN_HOB_NSECT | |
278 | IDE_TFLAG_IN_HOB_LBA, | 278 | IDE_TFLAG_IN_HOB_LBA, |
279 | IDE_TFLAG_IN_FEATURE = (1 << 20), | 279 | IDE_TFLAG_IN_ERROR = (1 << 20), |
280 | IDE_TFLAG_IN_NSECT = (1 << 21), | 280 | IDE_TFLAG_IN_NSECT = (1 << 21), |
281 | IDE_TFLAG_IN_LBAL = (1 << 22), | 281 | IDE_TFLAG_IN_LBAL = (1 << 22), |
282 | IDE_TFLAG_IN_LBAM = (1 << 23), | 282 | IDE_TFLAG_IN_LBAM = (1 << 23), |
@@ -310,8 +310,12 @@ enum { | |||
310 | 310 | ||
311 | struct ide_taskfile { | 311 | struct ide_taskfile { |
312 | u8 hob_data; /* 0: high data byte (for TASKFILE IOCTL) */ | 312 | u8 hob_data; /* 0: high data byte (for TASKFILE IOCTL) */ |
313 | /* 1-5: additional data to support LBA48 */ | ||
314 | union { | ||
315 | u8 hob_error; /* read: error */ | ||
316 | u8 hob_feature; /* write: feature */ | ||
317 | }; | ||
313 | 318 | ||
314 | u8 hob_feature; /* 1-5: additional data to support LBA48 */ | ||
315 | u8 hob_nsect; | 319 | u8 hob_nsect; |
316 | u8 hob_lbal; | 320 | u8 hob_lbal; |
317 | u8 hob_lbam; | 321 | u8 hob_lbam; |