diff options
Diffstat (limited to 'drivers/ide/pci/sl82c105.c')
-rw-r--r-- | drivers/ide/pci/sl82c105.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c index 8a5c7b286b2b..900301e43818 100644 --- a/drivers/ide/pci/sl82c105.c +++ b/drivers/ide/pci/sl82c105.c | |||
@@ -447,7 +447,6 @@ static void __devinit init_hwif_sl82c105(ide_hwif_t *hwif) | |||
447 | printk(" %s: Winbond 553 bridge revision %d, BM-DMA disabled\n", | 447 | printk(" %s: Winbond 553 bridge revision %d, BM-DMA disabled\n", |
448 | hwif->name, rev); | 448 | hwif->name, rev); |
449 | } else { | 449 | } else { |
450 | #ifdef CONFIG_BLK_DEV_IDEDMA | ||
451 | dma_state |= 0x60; | 450 | dma_state |= 0x60; |
452 | 451 | ||
453 | hwif->atapi_dma = 1; | 452 | hwif->atapi_dma = 1; |
@@ -468,7 +467,6 @@ static void __devinit init_hwif_sl82c105(ide_hwif_t *hwif) | |||
468 | 467 | ||
469 | if (hwif->mate) | 468 | if (hwif->mate) |
470 | hwif->serialized = hwif->mate->serialized = 1; | 469 | hwif->serialized = hwif->mate->serialized = 1; |
471 | #endif /* CONFIG_BLK_DEV_IDEDMA */ | ||
472 | } | 470 | } |
473 | hwif->OUTB(dma_state, hwif->dma_base + 2); | 471 | hwif->OUTB(dma_state, hwif->dma_base + 2); |
474 | } | 472 | } |
@@ -489,7 +487,7 @@ static int __devinit sl82c105_init_one(struct pci_dev *dev, const struct pci_dev | |||
489 | } | 487 | } |
490 | 488 | ||
491 | static struct pci_device_id sl82c105_pci_tbl[] = { | 489 | static struct pci_device_id sl82c105_pci_tbl[] = { |
492 | { PCI_VENDOR_ID_WINBOND, PCI_DEVICE_ID_WINBOND_82C105, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 490 | { PCI_DEVICE(PCI_VENDOR_ID_WINBOND, PCI_DEVICE_ID_WINBOND_82C105), 0}, |
493 | { 0, }, | 491 | { 0, }, |
494 | }; | 492 | }; |
495 | MODULE_DEVICE_TABLE(pci, sl82c105_pci_tbl); | 493 | MODULE_DEVICE_TABLE(pci, sl82c105_pci_tbl); |