linux_dsm_epyc7002/drivers/ide/pci
Sergei Shtylyov 2808b0a96a hpt366: UltraDMA filter for SATA cards (take 2)
The Marvell bridge chips used on HighPoint SATA cards do not seem to support
the UltraDMA modes 1, 2, and 3 as well as any MWDMA modes, so the driver needs
to account for this in the udma_filter() method.  In order to achieve that, do
the following changes:

- install the method for all chips, not only HPT36x/370 and improve the code
  formatting by killing the extra tabs while at it;

- add to the end of the 'switch' statement in the method cases for HPT372[AN]
  and HPT374 chips upon which the known SATA cards are based;

- use hwif->ultra_mask as a default mask for the ide_dma_filter() method to
  behave correctly;

- move the HPT370[A] cases below the HPT36x case for consistency.

While at it, replace the explicit UltraDMA mode masks with ATA_UDMA* constants
all over the driver...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Bob Ham <rah@bash.sh>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-09-11 22:28:36 +02:00
..
aec62xx.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
alim15x3.c alim15x3: Correct HP detect 2007-08-01 23:46:43 +02:00
amd74xx.c ide: add PIO masks 2007-07-20 01:11:59 +02:00
atiixp.c ide: add PIO masks 2007-07-20 01:11:59 +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: UltraDMA filter for SATA cards (take 2) 2007-09-11 22:28:36 +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 jmicron: PIO fixes 2007-08-01 23:46:46 +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: fix PCI refcounting 2007-09-11 22:28:34 +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 [libata, IDE] add new VIA bridge to VIA PATA drivers 2007-09-10 22:06:01 -04:00