linux_dsm_epyc7002/drivers/ide/legacy
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
..
ali14xx.c ali14xx: convert to use ide_timing_find_mode() 2008-07-16 20:33:37 +02:00
buddha.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +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: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
gayle.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
ht6560b.c ide: ->port_init_devs -> ->init_dev 2008-07-16 20:33:42 +02:00
ide_platform.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
ide-4drives.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
ide-cs.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
macide.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
Makefile ide: add ide-4drives host driver (take 3) 2008-04-18 00:46:34 +02:00
q40ide.c ide: pass hw_regs_t-s to ide_device_add[_all]() (take 3) 2008-07-23 19:55:50 +02:00
qd65xx.c ide: ->port_init_devs -> ->init_dev 2008-07-16 20:33:42 +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