OpenCloudOS-Kernel/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 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
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
Kconfig ide: remove CONFIG_IDEDMA_IVB config option 2007-10-13 17:47:52 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
ide-acpi.c ide: unexport ide_acpi_set_state 2007-10-13 17:47:48 +02:00
ide-cd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ide-cd.h ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
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: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
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: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
ide-probe.c ide: change master/slave IDENTIFY order 2007-10-13 17:47:51 +02:00
ide-proc.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
ide-tape.c ide: eliminate warnings in ide-tape.c 2007-08-01 23:46:44 +02:00
ide-taskfile.c ide: never called printk statement in ide-taskfile.c::wait_drive_not_busy 2007-07-03 22:28:34 +02:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: move ide_config_drive_speed() calls to upper layers (take 2) 2007-10-13 17:47:51 +02:00
setup-pci.c ide: fix PCI refcounting 2007-09-11 22:28:34 +02:00