From: Ben Gras Date: Thu, 22 Oct 2009 14:31:29 +0000 (+0000) Subject: Don't check DMA_ST_ERROR before DMA_ST_INT is set (which is done too) X-Git-Tag: v3.1.5~6 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=5920582bdedb741502afe0ab89b58a2568244c8b;p=minix.git Don't check DMA_ST_ERROR before DMA_ST_INT is set (which is done too) --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 459403056..e8cdebc36 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -2648,9 +2648,6 @@ PRIVATE void ack_irqs(unsigned int irqs) sys_outb(wini[drive].base_dma + DMA_STATUS, DMA_ST_INT); 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) printf("couldn't re-enable drive %d\n", drive); }