android_kernel_xiaomi_sm8350/drivers/ide/pci
Bartlomiej Zolnierkiewicz a8028fcb48 ide: add missing ide_rate_filter() calls to ->speedproc()-s
* Fix icside, cris-ide, au1xxx-ide, amd74xx, via82cxxx and pmac host drivers
  to use ide_rate_filter().

  This results in the following modes (from user requests) being clipped down:
  - invalid modes (values 0x46-0xFF)  [ for all hosts ]
  - unsupported by a host UDMA modes  [ for hosts which support UDMA]
  - all UDMA modes and MWDMA3-4 modes [ for hosts which don't support UDMA ]
  - invalid modes (values 0x25-0x39)  [ for hosts which don't support UDMA ]

* Host driver specific changes in behavior:

  icside:
    - no change

  cris-ide
    - clip unsupported UDMA3-6 modes down
    - fix BUG() on trying to set unsupported UDMA3-6 modes

  au1xxx-ide/pmac
    - clip unsupported UDMA modes down

  amd74xx/via82cxxx
    - clip unsupported UDMA modes down
    - fix random PIO timings being set for unsupported/invalid modes
    - fix unsupported/invalid modes being set on the device

* While at it remove no longer needed checks from pmac.c driver.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-11 23:53:59 +02:00
..
aec62xx.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
alim15x3.c pata_ali/alim15x3: override 80-wire cable detection for Toshiba S1800-814 2007-09-11 22:28:36 +02:00
amd74xx.c ide: add missing ide_rate_filter() calls to ->speedproc()-s 2007-10-11 23:53:59 +02:00
atiixp.c atiixp: SB700 contains more than one IDE channel 2007-10-11 23:53:58 +02:00
cmd64x.c ide: fix runtogether printk's in cmd64x IDE driver 2007-08-01 23:46:44 +02:00
cmd640.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
cs5520.c cs5520: fix PIO auto-tuning in ->ide_dma_check method 2007-08-01 23:46:45 +02:00
cs5530.c cs5530: add missing ->dma_base check 2007-08-20 22:42:56 +02:00
cs5535.c cs5535: PIO fixes 2007-08-01 23:46:45 +02:00
cy82c693.c ide: add PIO masks 2007-07-20 01:11:59 +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 hpt34x: fix CONFIG_HPT34X_AUTODMA=n handling 2007-08-20 22:42:57 +02:00
hpt366.c hpt366: MWDMA filter for SATA cards (take 2) 2007-10-11 23:53:58 +02:00
it821x.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
it8213.c it8213: PIO fixes (take 2) 2007-08-01 23:46:46 +02:00
jmicron.c ide: make jmicron match vendor and device class 2007-10-11 23:53:59 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: config_drive_for_dma() fixes 2007-08-20 22:42:55 +02:00
opti621.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
pdc202xx_new.c pdc202xx_new: switch to using pci_get_slot() (take 2) 2007-10-11 23:53:58 +02:00
pdc202xx_old.c pdc202xx_old: add missing ->dma_base check 2007-08-20 22:42:56 +02:00
piix.c piix/slc90e66: fix PIO1 handling in ->speedproc method (take 2) 2007-08-01 23:46:46 +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: add PIO masks 2007-07-20 01:11:59 +02:00
scc_pata.c scc_pata: PIO fixes 2007-08-01 23:46:46 +02:00
serverworks.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
sgiioc4.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
siimage.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
sis5513.c sis5513: Add FSC Amilo A1630 PCI subvendor/dev to laptops 2007-08-01 23:46:44 +02:00
sl82c105.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
slc90e66.c piix/slc90e66: fix PIO1 handling in ->speedproc method (take 2) 2007-08-01 23:46:46 +02:00
tc86c001.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
triflex.c triflex: add missing ->dma_base check 2007-08-20 22:42:56 +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: add missing ide_rate_filter() calls to ->speedproc()-s 2007-10-11 23:53:59 +02:00