]> err.no Git - linux-2.6/commit
ide: factor out simplex handling from ide_pci_dma_base()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:51 +0000 (19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:51 +0000 (19:55 +0200)
commitebb00fb55d0566bb3e81518122a57b4b3bedf1e4
treed8a717bf0e4556a71ba71579a6d5cedfa5bad980
parent81e8d5a34f7d2a2acbe309cfa5810a9699a63239
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>
drivers/ide/ide-probe.c
drivers/ide/pci/alim15x3.c
drivers/ide/pci/hpt366.c
drivers/ide/setup-pci.c
include/linux/ide.h