linux/drivers/ide
Bartlomiej Zolnierkiewicz d54452fbf8 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>
2008-04-26 22:25:21 +02:00
..
arm ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
cris ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
h8300 ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
legacy ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
mips ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
pci ide: export ide_allocate_dma_engine() 2008-04-26 22:25:21 +02:00
ppc ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-acpi.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-cd_ioctl.c ide-cd: mark REQ_TYPE_ATA_PC write requests with REQ_RW flag 2008-03-07 21:53:49 +01:00
ide-cd_verbose.c ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
ide-cd.c ide-cd: fix remaining checkpatch.pl issues 2008-04-26 22:25:15 +02:00
ide-cd.h ide-cd: remove the internal 64k buffer 2008-04-26 17:36:37 +02:00
ide-disk.c ide-disk: fix issues found by checkpatch.pl 2008-04-26 17:36:37 +02:00
ide-dma.c ide: export ide_allocate_dma_engine() 2008-04-26 22:25:21 +02:00
ide-floppy.c IDE: Coding Style fixes to drivers/ide/ide-floppy.c 2008-04-26 17:36:41 +02:00
ide-generic.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-io.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
ide-iops.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
ide-lib.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-pnp.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-probe.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-proc.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide-tape: remove idetape_pipeline_active() 2008-04-26 22:25:20 +02:00
ide-taskfile.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-timing.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ide.c ide: remove ide_hwif_request_regions() 2008-04-26 22:25:19 +02:00
Kconfig ide/Kconfig: BLK_DEV_4DRIVES should be a tristate 2008-04-26 17:36:31 +02:00
Makefile ide: fix ide_find_port() 2008-04-18 00:46:21 +02:00
setup-pci.c ide: factor out setting PCI bus-mastering from ide_hwif_setup_dma() 2008-04-26 22:25:21 +02:00