patch-2.3.41 linux/drivers/block/cmd64x.c
Next file: linux/drivers/block/hpt34x.c
Previous file: linux/drivers/block/buddha.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Thu Jan 27 08:58:15 2000
- Orig file:
v2.3.40/linux/drivers/block/cmd64x.c
- Orig date:
Fri Jan 21 18:19:16 2000
diff -u --recursive --new-file v2.3.40/linux/drivers/block/cmd64x.c linux/drivers/block/cmd64x.c
@@ -228,6 +228,7 @@
dma_stat = inb(dma_base+2); /* get DMA status */
outb(inb(dma_base)&~1, dma_base); /* stop DMA */
outb(dma_stat|6, dma_base+2); /* clear the INTR & ERROR bits */
+ ide_destroy_dmatable(drive); /* and free any DMA resources */
return (dma_stat & 7) != 4; /* verify good DMA status */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)