summaryrefslogtreecommitdiffstats
path: root/drivers/md/linear.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 22:25:21 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 22:25:21 +0200
commitd54452fbf84500eff77a55a2061f4669441d2cc3 (patch)
tree3bc697e9360a915703aed4e579ff85bd43e014d9 /drivers/md/linear.c
parentb8e73fba60414e161d8fd2429b6fb268e34502e2 (diff)
downloadblackbird-op-linux-d54452fbf84500eff77a55a2061f4669441d2cc3.tar.gz
blackbird-op-linux-d54452fbf84500eff77a55a2061f4669441d2cc3.zip
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>
Diffstat (limited to 'drivers/md/linear.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud