my fix to sound drivers for buggy VIA chipset

Andrea Arcangeli (andrea@e-mind.com)
Thu, 17 Dec 1998 15:15:08 +0100 (CET)


Nice to see that after 1 year my fix is been applyed quitely to the sound
drivers to avoid the bus lockup ;)

diff -u --recursive --new-file v2.1.131/linux/drivers/sound/dmabuf.c
linux/drivers/sound/dmabuf.c
--- v2.1.131/linux/drivers/sound/dmabuf.c Thu Nov 12 16:21:22 1998
+++ linux/drivers/sound/dmabuf.c Wed Dec 16 12:52:01 1998
@@ -630,7 +630,10 @@

f=claim_dma_lock();
clear_dma_ff(chan);
- disable_dma(dmap->dma);
+
+ if(!isa_dma_bridge_buggy)
+ disable_dma(dmap->dma);
+
pos = get_dma_residue(chan);

pos = dmap->bytes_in_use - pos;
[..]

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/