summaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/alim15x3.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2007-10-13 17:47:53 +0200
committerBartlomiej Zolnierkiewicz2007-10-13 17:47:53 +0200
commit88ae4d8c3829fe3d7be9b1e3ed79a37814752d61 (patch)
treec9fa9df54ea0e62d719a269c16e9e5023801e60f /drivers/ide/pci/alim15x3.c
parentcs5520: fix ->dma_base equal zero handling (diff)
downloadkernel-qcow2-linux-88ae4d8c3829fe3d7be9b1e3ed79a37814752d61.tar.gz
kernel-qcow2-linux-88ae4d8c3829fe3d7be9b1e3ed79a37814752d61.tar.xz
kernel-qcow2-linux-88ae4d8c3829fe3d7be9b1e3ed79a37814752d61.zip
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>
Diffstat (limited to 'drivers/ide/pci/alim15x3.c')
0 files changed, 0 insertions, 0 deletions