linux/drivers/ide
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
..
arm ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
cris ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
h8300
legacy ide_platform: set hwif->chipset 2007-10-13 17:47:47 +02:00
mips ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
pci sc1200: fix ->dma_base equal zero handling 2007-10-13 17:47:53 +02:00
ppc ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
ide-acpi.c ide: unexport ide_acpi_set_state 2007-10-13 17:47:48 +02:00
ide-cd.c
ide-cd.h
ide-disk.c ide: ST320413A has the same problem as ST340823A 2007-09-17 12:35:30 +02:00
ide-dma.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c
ide-io.c ide-pmac: remove pmac_ide_do_setfeature() (take 2) 2007-10-13 17:47:50 +02:00
ide-iops.c ide: remove CONFIG_IDEDMA_IVB config option 2007-10-13 17:47:52 +02:00
ide-lib.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
ide-pnp.c
ide-probe.c ide: change master/slave IDENTIFY order 2007-10-13 17:47:51 +02:00
ide-proc.c
ide-tape.c ide: eliminate warnings in ide-tape.c 2007-08-01 23:46:44 +02:00
ide-taskfile.c
ide-timing.h
ide.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
Kconfig ide: remove CONFIG_IDEDMA_IVB config option 2007-10-13 17:47:52 +02:00
Makefile
setup-pci.c ide: fix PCI refcounting 2007-09-11 22:28:34 +02:00