commit | ebb00fb55d0566bb3e81518122a57b4b3bedf1e4 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jul 23 19:55:51 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Wed Jul 23 19:55:51 2008 +0200 |
tree | d8a717bf0e4556a71ba71579a6d5cedfa5bad980 | |
parent | 81e8d5a34f7d2a2acbe309cfa5810a9699a63239 [diff] |
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 <bzolnier@gmail.com>