diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/ide-dma.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index 6879aaae544d..4703837bf1fc 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c | |||
@@ -611,12 +611,6 @@ static int __ide_dma_test_irq(ide_drive_t *drive) | |||
611 | ide_hwif_t *hwif = HWIF(drive); | 611 | ide_hwif_t *hwif = HWIF(drive); |
612 | u8 dma_stat = hwif->INB(hwif->dma_status); | 612 | u8 dma_stat = hwif->INB(hwif->dma_status); |
613 | 613 | ||
614 | #if 0 /* do not set unless you know what you are doing */ | ||
615 | if (dma_stat & 4) { | ||
616 | u8 stat = hwif->INB(IDE_STATUS_REG); | ||
617 | hwif->OUTB(hwif->dma_status, dma_stat & 0xE4); | ||
618 | } | ||
619 | #endif | ||
620 | /* return 1 if INTR asserted */ | 614 | /* return 1 if INTR asserted */ |
621 | if ((dma_stat & 4) == 4) | 615 | if ((dma_stat & 4) == 4) |
622 | return 1; | 616 | return 1; |