diff options
Diffstat (limited to 'drivers/ide/pci/alim15x3.c')
-rw-r--r-- | drivers/ide/pci/alim15x3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index 68df77ec502b..2baed4e04beb 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c | |||
@@ -852,8 +852,8 @@ static void __devinit init_dma_ali15x3 (ide_hwif_t *hwif, unsigned long dmabase) | |||
852 | { | 852 | { |
853 | if (m5229_revision < 0x20) | 853 | if (m5229_revision < 0x20) |
854 | return; | 854 | return; |
855 | if (!(hwif->channel)) | 855 | if (!hwif->channel) |
856 | hwif->OUTB(hwif->INB(dmabase+2) & 0x60, dmabase+2); | 856 | outb(inb(dmabase + 2) & 0x60, dmabase + 2); |
857 | ide_setup_dma(hwif, dmabase, 8); | 857 | ide_setup_dma(hwif, dmabase, 8); |
858 | } | 858 | } |
859 | 859 | ||