linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz c97c6aca75 ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3)
* Add 'hw_regs_t **hws' argument to ide_device_add[_all]() and convert
  host drivers + ide_legacy_init_one() + ide_setup_pci_device[s]() to use
  it instead of calling ide_init_port_hw() directly.

  [ However if host has > 1 port we must still set hwif->chipset to hint
    consecutive ide_find_port() call that the previous slot is occupied. ]

* Unexport ide_init_port_hw().

v2:
* Use defines instead of hard-coded values in buddha.c, gayle.c and q40ide.c.
  (Suggested by Geert Uytterhoeven)

* Better patch description.

v3:
* Fix build problem in ide-cs.c. (Noticed by Stephen Rothwell)

There should be no functional changes caused by this patch.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-07-23 19:55:50 +02:00
..
aec62xx.c ide: remove obsoleted "idebus=" kernel parameter 2008-07-15 21:21:46 +02:00
alim15x3.c alim15x3: convert to use ide_timing_find_mode() 2008-07-16 20:33:37 +02:00
amd74xx.c ide: convert ide-timing.h to ide-timings.c library (take 2) 2008-07-16 20:33:37 +02:00
atiixp.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
cmd64x.c cmd64x: convert to use ide_timing_find_mode() 2008-07-16 20:33:38 +02:00
cmd640.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
cs5520.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
cs5530.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
cs5535.c ide: convert ide-timing.h to ide-timings.c library (take 2) 2008-07-16 20:33:37 +02:00
cy82c693.c cy82c693: convert to use ide_timing_find_mode() 2008-07-16 20:33:38 +02:00
delkin_cb.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
generic.c IDE: Coding Style fixes to drivers/ide/pci/generic.c 2008-04-26 17:36:40 +02:00
hpt34x.c ide: remove ->extra field from struct ide_port_info 2008-04-26 22:25:20 +02:00
hpt366.c ide: remove drive->ctl 2008-07-15 21:21:50 +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 ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
Makefile ide-pci-generic: kill the unused ifdef/endif/MODULE code 2008-02-06 02:57:49 +01:00
ns87415.c ide: remove drive->ctl 2008-07-15 21:21:50 +02:00
opti621.c opti621: add PIO 4 support 2008-06-15 21:00:22 +02:00
pdc202xx_new.c ide: remove ->dma_vendor{1,3} fields from ide_hwif_t 2008-04-28 23:44:42 +02:00
pdc202xx_old.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
piix.c piix: add Asus Eee 701 controller to short cable list 2008-04-28 23:44:43 +02:00
rz1000.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
sc1200.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
scc_pata.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
serverworks.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
sgiioc4.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
siimage.c IDE: Report errors during drive reset back to user space 2008-07-16 20:33:48 +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 sl82c105: convert to use ide_timing_find_mode() 2008-07-16 20:33:38 +02:00
slc90e66.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
tc86c001.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
triflex.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
trm290.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
via82cxxx.c ide: convert ide-timing.h to ide-timings.c library (take 2) 2008-07-16 20:33:37 +02:00