From: Bartlomiej Zolnierkiewicz Date: Sat, 13 Oct 2007 15:47:52 +0000 (+0200) Subject: cs5520: fix ->dma_base equal zero handling X-Git-Tag: v2.6.24-rc1~1363^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfb2311226539e0496c0a7c65ceebaaff2120a0b;p=pandora-kernel.git cs5520: fix ->dma_base equal zero handling Set hwif->ide_dma_{check,on} and hwif->autodma to 1 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. Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed