linux/drivers/ide/legacy
Bartlomiej Zolnierkiewicz 48fb2688aa ide: remove drive->driveid
* Factor out HDIO_[OBSOLETE,GET]_IDENTITY ioctls handling
  to ide_get_identity_ioctl().

* Use temporary buffer in ide_get_identity_ioctl() instead
  of accessing drive->id directly.

* Add ide_id_to_hd_driveid() inline to convert raw id into
  struct hd_driveid format (needed on big-endian).

* Use ide_id_to_hd_driveid() in ide_get_identity_ioctl(),
  cleanup ide_fix_driveid() and switch ide to use use raw id.

* Remove no longer needed drive->driveid.

  This leaves us with 3 users of struct hd_driveid in tree:
  - arch/um/drivers/ubd_kern.c
  - drivers/block/xsysace.c
  - drivers/usb/storage/isd200.c

While at it:

* Use ata_id_u{32,64}() and ata_id_has_{dma,lba,iordy}() macros.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:19 +02:00
..
ali14xx.c ali14xx: convert to use ide_timing_find_mode() 2008-07-16 20:33:37 +02:00
buddha.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
dtc2278.c ide: always auto-tune PIO in legacy VLB host drivers 2008-04-27 15:38:29 +02:00
falconide.c ide: add ide_host_free() helper (take 2) 2008-07-23 19:55:59 +02:00
gayle.c gayle: release resources on ide_host_add() failure 2008-07-24 22:53:34 +02:00
ht6560b.c ht6560b: remove old history 2008-07-24 22:53:35 +02:00
ide-4drives.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-cs.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide_platform.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
macide.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
Makefile ide: add ide-4drives host driver (take 3) 2008-04-18 00:46:34 +02:00
q40ide.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
qd65xx.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
qd65xx.h qd65xx: use IDE_HFLAG_SINGLE host flag 2008-04-26 17:36:42 +02:00
umc8672.c ide: always auto-tune PIO in legacy VLB host drivers 2008-04-27 15:38:29 +02:00