diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:38 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:38 -0400 |
commit | d1d76714e2f0c520b6c2a84ab5b050d0b3244949 (patch) | |
tree | 605b10d60a0bcc59441ebe87503c03016df08dd1 /include | |
parent | c67c216d810a05fffdbdbdf1b81048f0d4759287 (diff) |
ide: fix HDIO_DRIVE_TASK[FILE] ioctls for CHS commands on LBA devices
Add IDE_DFLAG_LBA device flag and use it instead of ->select.b.lba.
Since ->tf_load uses ->select.all for ATA Device/Head register this
fixes HDIO_DRIVE_TASK[FILE] ioctls for CHS commands on LBA devices.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index fdec0108dba1..cf7ec3a9d173 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -502,6 +502,7 @@ enum { | |||
502 | IDE_DFLAG_NOWERR = (1 << 24), | 502 | IDE_DFLAG_NOWERR = (1 << 24), |
503 | /* retrying in PIO */ | 503 | /* retrying in PIO */ |
504 | IDE_DFLAG_DMA_PIO_RETRY = (1 << 25), | 504 | IDE_DFLAG_DMA_PIO_RETRY = (1 << 25), |
505 | IDE_DFLAG_LBA = (1 << 26), | ||
505 | }; | 506 | }; |
506 | 507 | ||
507 | struct ide_drive_s { | 508 | struct ide_drive_s { |