diff options
-rw-r--r-- | drivers/ide/pci/cmd64x.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c index ea0143ef5fe5..51fca441c294 100644 --- a/drivers/ide/pci/cmd64x.c +++ b/drivers/ide/pci/cmd64x.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/cmd64x.c Version 1.50 May 10, 2007 | 2 | * linux/drivers/ide/pci/cmd64x.c Version 1.51 Nov 8, 2007 |
3 | * | 3 | * |
4 | * cmd64x.c: Enable interrupts at initialization time on Ultra/PCI machines. | 4 | * cmd64x.c: Enable interrupts at initialization time on Ultra/PCI machines. |
5 | * Due to massive hardware bugs, UltraDMA is only supported | 5 | * Due to massive hardware bugs, UltraDMA is only supported |
@@ -339,7 +339,8 @@ static int cmd648_ide_dma_end (ide_drive_t *drive) | |||
339 | u8 mrdmode = inb(hwif->dma_master + 0x01); | 339 | u8 mrdmode = inb(hwif->dma_master + 0x01); |
340 | 340 | ||
341 | /* clear the interrupt bit */ | 341 | /* clear the interrupt bit */ |
342 | outb(mrdmode | irq_mask, hwif->dma_master + 0x01); | 342 | outb((mrdmode & ~(MRDMODE_INTR_CH0 | MRDMODE_INTR_CH1)) | irq_mask, |
343 | hwif->dma_master + 0x01); | ||
343 | 344 | ||
344 | return err; | 345 | return err; |
345 | } | 346 | } |