linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz 328dcbb636 siimage: PIO mode setup fixes (take 2)
* Add sil_tuneproc() wrapper for siimage_tuneproc() which also sets
  PIO mode on the device.

* Add missing ide_get_best_pio_mode() call to sil_tuneproc() so
  "pio" == 255 (autotune) is handled correctly (previously PIO0 was used)
  and "pio" values > 4 && < 255 are filtered to PIO4 (instead of PIO0).

* Add code limiting maximum PIO mode according to the pair device capabilities
  to sil_tuneproc().

* Convert users of config_siimage_chipset_for_pio() to use sil_tune_pio() and
  sil_tuneproc().  This fixes PIO fallback in siimage_config_drive_for_dma() to
  use max PIO mode available instead of PIO4 (config_siimage_chipset_for_pio()
  used wrong arguments for ide_get_best_pio_mode() and as a results always
  tried to set PIO4).

* Remove no longer needed siimage_taskfile_timing()
  and config_siimage_chipset_for_pio().

* Enable ->autotune unconditionally and remove PIO tuning for UDMA/MDMA modes
  from siimage_speedproc()

* Bump driver version.

v2:
* Fix issues noticed by Sergei:
  - correct pair device check
  - trim only taskfile PIO to the slowest of the master/slave
  - enable ->autotune unconditionally and remove PIO tuning for UDMA/MDMA modes
    from siimage_speedproc()
  - add TODO item for IORDY bugs
  - minor cleanups

Reviewed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-07-20 01:11:54 +02:00
..
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
aec62xx.c ide: Stop mapping ROMs 2007-07-20 01:11:54 +02:00
alim15x3.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
amd74xx.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
atiixp.c atiixp: PIO mode setup fixes 2007-07-20 01:11:54 +02:00
cmd64x.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
cmd640.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
cs5520.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
cs5530.c PCI: add pci_try_set_mwi 2007-07-11 16:02:11 -07:00
cs5535.c ide: add short cables support 2007-07-09 23:17:58 +02:00
cy82c693.c ide: use PIO/MMIO operations directly where possible (v2) 2007-02-17 02:40:25 +01:00
delkin_cb.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
generic.c ide: generic IDE PCI driver, add another device exception 2007-06-08 15:14:31 +02:00
hpt34x.c ide: Stop mapping ROMs 2007-07-20 01:11:54 +02:00
hpt366.c ide: Stop mapping ROMs 2007-07-20 01:11:54 +02:00
it821x.c ide: add short cables support 2007-07-09 23:17:58 +02:00
it8213.c ide: add short cables support 2007-07-09 23:17:58 +02:00
jmicron.c ide: add short cables support 2007-07-09 23:17:58 +02:00
ns87415.c ide: add ide_set_dma() helper (v2) 2007-02-17 02:40:26 +01:00
opti621.c ide: remove some obsoleted kernel params (v2) 2007-03-03 17:48:55 +01:00
pdc202xx_new.c ide: Stop mapping ROMs 2007-07-20 01:11:54 +02:00
pdc202xx_old.c ide: Stop mapping ROMs 2007-07-20 01:11:54 +02:00
piix.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
rz1000.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
sc1200.c ide: remove ide_dma_enable() 2007-05-16 00:51:46 +02:00
scc_pata.c scc_pata.c: Workaround for errata A308 (take 2) 2007-07-20 01:11:53 +02:00
serverworks.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sgiioc4.c ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
siimage.c siimage: PIO mode setup fixes (take 2) 2007-07-20 01:11:54 +02:00
sis5513.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sl82c105.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
slc90e66.c ide: add short cables support 2007-07-09 23:17:58 +02:00
tc86c001.c ide: add short cables support 2007-07-09 23:17:58 +02:00
triflex.c ide: add ide_tune_dma() helper 2007-05-10 00:01:09 +02:00
trm290.c ide: use PIO/MMIO operations directly where possible (v2) 2007-02-17 02:40:25 +01:00
via82cxxx.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00