linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz 6f904d0152 ide: add ide_host_add() helper
Add ide_host_add() helper which does ide_host_alloc()+ide_host_register(),
then convert ide_setup_pci_device[s](), ide_legacy_device_add() and some
host drivers to use it.

While at it:

* Fix ide_setup_pci_device[s](), ide_arm.c, gayle.c, ide-4drives.c,
  macide.c, q40ide.c, cmd640.c and cs5520.c to return correct error value.

* -ENOENT -> -ENOMEM in rapide.c, ide-h8300.c, ide-generic.c, au1xxx-ide.c
  and pmac.c

* -ENODEV -> -ENOMEM in palm_bk3710.c, ide_platform.c and delkin_cb.c

* -1 -> -ENOMEM in ide-pnp.c

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-07-23 19:55:57 +02:00
..
aec62xx.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
alim15x3.c ide: factor out simplex handling from ide_pci_dma_base() 2008-07-23 19:55:51 +02:00
amd74xx.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
atiixp.c
cmd64x.c ide: remove ->dma_{status,command} fields from ide_hwif_t 2008-07-23 19:55:51 +02:00
cmd640.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
cs5520.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
cs5530.c
cs5535.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
cy82c693.c cy82c693: convert to use ide_timing_find_mode() 2008-07-16 20:33:38 +02:00
delkin_cb.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
generic.c
hpt34x.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
hpt366.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
it821x.c ide: it821x in pass-through mode segfaults in 2.6.26-stable 2008-07-16 20:33:34 +02:00
it8213.c it8213: fix return value in it8213_init_one() 2008-07-08 19:27:23 +02:00
jmicron.c
Makefile
ns87415.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
opti621.c opti621: add PIO 4 support 2008-06-15 21:00:22 +02:00
pdc202xx_new.c
pdc202xx_old.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
piix.c ide: remove ->dma_{status,command} fields from ide_hwif_t 2008-07-23 19:55:51 +02:00
rz1000.c
sc1200.c
scc_pata.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
serverworks.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
sgiioc4.c ide: add struct ide_host (take 3) 2008-07-23 19:55:57 +02:00
siimage.c ide: remove ->INB, ->OUTB and ->OUTBSYNC methods 2008-07-23 19:55:54 +02:00
sis5513.c ide: convert ide-timing.h to ide-timings.c library (take 2) 2008-07-16 20:33:37 +02:00
sl82c105.c ide: remove ->dma_{status,command} fields from ide_hwif_t 2008-07-23 19:55:51 +02:00
slc90e66.c
tc86c001.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00
triflex.c
trm290.c
via82cxxx.c ide: filter out "default" transfer mode values in set_xfer_rate() 2008-07-23 19:55:56 +02:00