From: Bartlomiej Zolnierkiewicz Date: Wed, 23 Jul 2008 17:55:51 +0000 (+0200) Subject: ide: factor out simplex handling from ide_pci_dma_base() X-Git-Tag: v2.6.27-rc1~854^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb00fb55d0566bb3e81518122a57b4b3bedf1e4;p=pandora-kernel.git ide: factor out simplex handling from ide_pci_dma_base() * Factor out simplex handling from ide_pci_dma_base() to ide_pci_check_simplex(). * Set hwif->dma_base early in ->init_dma method / ide_hwif_setup_dma() and reset it in ide_init_port() if DMA initialization fails. * Use ->read_sff_dma_status instead of ->INB in ide_pci_dma_base(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed