kernel_optimize_test/drivers/ide/pci
Bartlomiej Zolnierkiewicz 6a824c92db ide: remove ide_find_best_pio_mode()
* Add ->host_flags to ide_hwif_t to store ide_pci_device_t.host_flags,
  assign it in setup-pci.c:ide_pci_setup_ports().

* Add IDE_HFLAG_PIO_NO_{BLACKLIST,DOWNGRADE} to ide_pci_device_t.host_flags
  and teach ide_get_best_pio_mode() about them.  Also remove needless
  !drive->id check while at it (drive->id is always present).

* Convert amd74xx, via82cxxx and ide-timing.h to use ide_get_best_pio_mode()
  and then remove no longer needed ide_find_best_pio_mode().

There should be no functionality changes caused by this patch.

Acked-by: Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-07-20 01:11:58 +02:00
..
aec62xx.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
alim15x3.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
amd74xx.c ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
atiixp.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
cmd64x.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
cmd640.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
cs5520.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
cs5530.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
cs5535.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
cy82c693.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
delkin_cb.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
generic.c ide: add ide_pci_device_t.host_flags (take 2) 2007-07-20 01:11:55 +02:00
hpt34x.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
hpt366.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
it821x.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
it8213.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
jmicron.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: add ide_pci_device_t.host_flags (take 2) 2007-07-20 01:11:55 +02:00
opti621.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
pdc202xx_new.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
pdc202xx_old.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
piix.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
rz1000.c ide: add ide_pci_device_t.host_flags (take 2) 2007-07-20 01:11:55 +02:00
sc1200.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
scc_pata.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
serverworks.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
sgiioc4.c ide: add ide_pci_device_t.host_flags (take 2) 2007-07-20 01:11:55 +02:00
siimage.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
sis5513.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
sl82c105.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
slc90e66.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
tc86c001.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
triflex.c ide: drop "PIO data" argument from ide_get_best_pio_mode() 2007-07-20 01:11:58 +02:00
trm290.c ide: add ide_pci_device_t.host_flags (take 2) 2007-07-20 01:11:55 +02:00
via82cxxx.c ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00