diff options
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index e76c1d91533f..80eb6d271330 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -547,25 +547,6 @@ static void __devinit init_dma_pdc202xx(ide_hwif_t *hwif, unsigned long dmabase) | |||
547 | (hwif->INB(dmabase|0x1f)&1) ? "":"IN"); | 547 | (hwif->INB(dmabase|0x1f)&1) ? "":"IN"); |
548 | } | 548 | } |
549 | #endif /* CONFIG_PDC202XX_BURST */ | 549 | #endif /* CONFIG_PDC202XX_BURST */ |
550 | #ifdef CONFIG_PDC202XX_MASTER | ||
551 | if (!(primary_mode & 1)) { | ||
552 | printk(KERN_INFO "%s: FORCING PRIMARY MODE BIT " | ||
553 | "0x%02x -> 0x%02x ", hwif->cds->name, | ||
554 | primary_mode, (primary_mode|1)); | ||
555 | hwif->OUTB(primary_mode|1, (dmabase|0x1a)); | ||
556 | printk("%s\n", | ||
557 | (hwif->INB((dmabase|0x1a)) & 1) ? "MASTER" : "PCI"); | ||
558 | } | ||
559 | |||
560 | if (!(secondary_mode & 1)) { | ||
561 | printk(KERN_INFO "%s: FORCING SECONDARY MODE BIT " | ||
562 | "0x%02x -> 0x%02x ", hwif->cds->name, | ||
563 | secondary_mode, (secondary_mode|1)); | ||
564 | hwif->OUTB(secondary_mode|1, (dmabase|0x1b)); | ||
565 | printk("%s\n", | ||
566 | (hwif->INB((dmabase|0x1b)) & 1) ? "MASTER" : "PCI"); | ||
567 | } | ||
568 | #endif /* CONFIG_PDC202XX_MASTER */ | ||
569 | 550 | ||
570 | ide_setup_dma(hwif, dmabase, 8); | 551 | ide_setup_dma(hwif, dmabase, 8); |
571 | } | 552 | } |