Don't check DMA_ST_ERROR before DMA_ST_INT is set (which is done too)
This commit is contained in:
parent
204f9d496a
commit
5920582bde
1 changed files with 0 additions and 3 deletions
|
@ -2648,9 +2648,6 @@ PRIVATE void ack_irqs(unsigned int irqs)
|
||||||
sys_outb(wini[drive].base_dma + DMA_STATUS, DMA_ST_INT);
|
sys_outb(wini[drive].base_dma + DMA_STATUS, DMA_ST_INT);
|
||||||
wini[drive].dma_intseen = 1;
|
wini[drive].dma_intseen = 1;
|
||||||
}
|
}
|
||||||
if(w_status & DMA_ST_ERROR) {
|
|
||||||
printf("at_wini: DMA error\n");
|
|
||||||
}
|
|
||||||
if (sys_irqenable(&wini[drive].irq_hook_id) != OK)
|
if (sys_irqenable(&wini[drive].irq_hook_id) != OK)
|
||||||
printf("couldn't re-enable drive %d\n", drive);
|
printf("couldn't re-enable drive %d\n", drive);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue