]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't check DMA_ST_ERROR before DMA_ST_INT is set (which is done too)
authorBen Gras <ben@minix3.org>
Thu, 22 Oct 2009 14:31:29 +0000 (14:31 +0000)
committerBen Gras <ben@minix3.org>
Thu, 22 Oct 2009 14:31:29 +0000 (14:31 +0000)
drivers/at_wini/at_wini.c

index 4594030563d97be0236e56994622caf23d67761c..e8cdebc36953becc5b7765117872a8484b56c81b 100644 (file)
@@ -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);
        }