]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: fix HDIO_DRIVE_TASK[FILE] ioctls for CHS commands on LBA devices
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:38 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:38 +0000 (21:39 +0200)
commitd1d76714e2f0c520b6c2a84ab5b050d0b3244949
tree605b10d60a0bcc59441ebe87503c03016df08dd1
parentc67c216d810a05fffdbdbdf1b81048f0d4759287
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>
drivers/ide/ide-disk.c
drivers/ide/ide-io.c
include/linux/ide.h