kernel_optimize_test/drivers/ide
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
..
arm ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
h8300 ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
legacy ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
mips IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
pci ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ppc ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-acpi.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-atapi.c ide: remove unused PC_FLAG_DRQ_INTERRUPT 2008-07-23 19:56:01 +02:00
ide-cd_ioctl.c ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings 2008-07-23 19:56:02 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-cd.h ide-cd: convert to using the new atapi_flags 2008-07-23 19:56:02 +02:00
ide-disk.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide-dma.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide-floppy.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-generic.c ide-generic: remove ide_default_{io_base,irq}() inlines (take 3) 2008-07-24 22:53:31 +02:00
ide-io.c ide: remove superfluous check from ide_disk_special() 2008-10-10 22:39:18 +02:00
ide-iops.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide-lib.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pnp.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-probe.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide-proc.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-taskfile.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-timings.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
Kconfig IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
Makefile ide: remove stale comments from drivers/ide/Makefile 2008-07-24 22:53:36 +02:00
setup-pci.c ide: drop 'name' parameter from ->init_chipset method 2008-07-24 22:53:33 +02:00