linux_dsm_epyc7002/drivers/ide/pci
Bartlomiej Zolnierkiewicz 0ae2e17865 ide: remove ->ide_dma_check (take 2)
* Add IDE_HFLAG_TRUST_BIOS_FOR_DMA host flag for host drivers that depend
  on BIOS for programming device/controller for DMA.  Set it in cy82c693,
  generic, ns87415, opti621 and trm290 host drivers.

* Add IDE_HFLAG_VDMA host flag for host drivers using VDMA.  Set it in cs5520
  host driver.

* Teach ide_tune_dma() about IDE_HFLAG_TRUST_BIOS_FOR_DMA flag.

* Add generic ide_dma_check() helper and remove all open coded ->ide_dma_check
  implementations.  Fix all places checking for presence of ->ide_dma_check
  hook to check for ->ide_dma_on instead.

* Remove no longer needed code from config_drive_for_dma().

* Make ide_tune_dma() static.

v2:
* Fix config_drive_for_dma() return values.

* Fix ide-dma.c build for CONFIG_BLK_DEV_IDEDMA_PCI=n by adding
  dummy config_drive_for_dma() inline.

* Fix IDE_HFLAG_TRUST_BIOS_FOR_DMA handling in ide_dma_check().

* Fix init_hwif_it8213() comment.

There should be no functionality changes caused by this patch.

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-16 22:29:55 +02:00
..
aec62xx.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
alim15x3.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
amd74xx.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
atiixp.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
cmd64x.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
cmd640.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
cs5520.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
cs5530.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
cs5535.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
cy82c693.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
delkin_cb.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
generic.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
hpt34x.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
hpt366.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
it821x.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
it8213.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
jmicron.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
opti621.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
pdc202xx_new.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
pdc202xx_old.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
piix.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +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: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
scc_pata.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
serverworks.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
sgiioc4.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
siimage.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
sis5513.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
sl82c105.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
slc90e66.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
tc86c001.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
triflex.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
trm290.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00
via82cxxx.c ide: remove ->ide_dma_check (take 2) 2007-10-16 22:29:55 +02:00