linux/drivers/ide/pci
Bartlomiej Zolnierkiewicz 88ae4d8c38 sc1200: fix ->dma_base equal zero handling
Set hwif->atapi_dma/{ultra,mwdma}_mask and drive->autodma after checking that
->dma_base exists.  If ->dma_base is not set (== PCI BAR4 cannot be reserved)
then DMA hooks shouldn't be initialized or bad things will happen.

OTOH hwif->set_{pio,dma}_mode hooks should be set even if hwif->dma_base == 0.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-13 17:47:53 +02:00
..
aec62xx.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
alim15x3.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
amd74xx.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
atiixp.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
cmd64x.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
cmd640.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
cs5520.c cs5520: fix ->dma_base equal zero handling 2007-10-13 17:47:52 +02:00
cs5530.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
cs5535.c cs5535: add missing ->dma_base check 2007-10-13 17:47:52 +02:00
cy82c693.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +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: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
hpt366.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
it821x.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
it8213.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
jmicron.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +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 ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
pdc202xx_new.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
pdc202xx_old.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
piix.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
rz1000.c ide: add ide_pci_device_t.host_flags (take 2) 2007-07-20 01:11:55 +02:00
sc1200.c sc1200: fix ->dma_base equal zero handling 2007-10-13 17:47:53 +02:00
scc_pata.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
serverworks.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
sgiioc4.c sgiioc4: add missing ->dma_base check 2007-10-13 17:47:52 +02:00
siimage.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
sis5513.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
sl82c105.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
slc90e66.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
tc86c001.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
triflex.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +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: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00