kernel_optimize_test/drivers/ide/pci
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
..
aec62xx.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
alim15x3.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
amd74xx.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
atiixp.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
cmd64x.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
cmd640.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
cs5520.c cs5520: add enablebits checking 2008-08-05 18:17:03 +02:00
cs5530.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
cs5535.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
cy82c693.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
delkin_cb.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
generic.c ide: prefix messages from IDE PCI host drivers by driver name 2008-07-24 22:53:32 +02:00
hpt34x.c ide: drop 'name' parameter from ->init_chipset method 2008-07-24 22:53:33 +02:00
hpt366.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
it821x.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
it8213.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
jmicron.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
Makefile ide-pci-generic: kill the unused ifdef/endif/MODULE code 2008-02-06 02:57:49 +01:00
ns87415.c ide: prefix messages from IDE PCI host drivers by driver name 2008-07-24 22:53:32 +02:00
opti621.c ide: prefix messages from IDE PCI host drivers by driver name 2008-07-24 22:53:32 +02:00
pdc202xx_new.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
pdc202xx_old.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
piix.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
rz1000.c ide: prefix messages from IDE PCI host drivers by driver name 2008-07-24 22:53:32 +02:00
sc1200.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
scc_pata.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
serverworks.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
sgiioc4.c sgiioc4: fixup message on resource allocation failure 2008-08-18 21:40:04 +02:00
siimage.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
sis5513.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
sl82c105.c ide: drop 'name' parameter from ->init_chipset method 2008-07-24 22:53:33 +02:00
slc90e66.c ide: ->cable_detect method cannot be marked __devinit 2008-08-05 18:17:04 +02:00
tc86c001.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00
triflex.c ide: prefix messages from IDE PCI host drivers by driver name 2008-07-24 22:53:32 +02:00
trm290.c ide: prefix messages from IDE PCI host drivers by driver name 2008-07-24 22:53:32 +02:00
via82cxxx.c drivers/ide/pci/: use __devexit_p() 2008-08-18 21:40:03 +02:00