commit | d54452fbf84500eff77a55a2061f4669441d2cc3 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Apr 26 22:25:21 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Apr 26 22:25:21 2008 +0200 |
tree | 3bc697e9360a915703aed4e579ff85bd43e014d9 | |
parent | b8e73fba60414e161d8fd2429b6fb268e34502e2 [diff] |
ide: factor out setting PCI bus-mastering from ide_hwif_setup_dma() Factor out setting PCI bus-mastering from ide_hwif_setup_dma() to ide_pci_set_master() helper. While at it: * don't read PCI Command register if not necessary * use PCI device name instead of hwif->name * cleanup ide_hwif_setup_dma() a bit Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>