aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/setup-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r--drivers/ide/setup-pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
index f620da42e157..3d101f73f910 100644
--- a/drivers/ide/setup-pci.c
+++ b/drivers/ide/setup-pci.c
@@ -438,8 +438,6 @@ static void ide_hwif_setup_dma(struct pci_dev *dev, ide_pci_device_t *d, ide_hwi
438 * Set up BM-DMA capability 438 * Set up BM-DMA capability
439 * (PnP BIOS should have done this) 439 * (PnP BIOS should have done this)
440 */ 440 */
441 /* default DMA off if we had to configure it here */
442 hwif->autodma = 0;
443 pci_set_master(dev); 441 pci_set_master(dev);
444 if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd) || !(pcicmd & PCI_COMMAND_MASTER)) { 442 if (pci_read_config_word(dev, PCI_COMMAND, &pcicmd) || !(pcicmd & PCI_COMMAND_MASTER)) {
445 printk(KERN_ERR "%s: %s error updating PCICMD\n", 443 printk(KERN_ERR "%s: %s error updating PCICMD\n",