Sound stoppage

Takashi Oe toe at unlserve.unl.edu
Wed Mar 28 00:30:13 EST 2001


On Tue, 27 Mar 2001, Michael R. Zucca wrote:

> I'd be willing to bet this is the dbdma bug Iain mentioned. Like the dma
> controller's getting wedged and the driver waits and waits for it to
> complete a transaction. I can wait for the fix.

It sounds exactly like the bmac bug.  So changing pmac_awacs_tx_intr()
from

	while (write_sq.active > 0) {
		...
		if ((stat & ACTIVE) == 0)
			break;	/* this frame is still going */
		...
	}

to

	while (write_sq.active > 0) {
		...
		if ((stat & ACTIVE) == 0) {
			if (cp == bus_to_virt(in_le32(&awacs_txdma->cmdptr)))
				break;
		}
		...
	}

fixes it or something?


Takashi Oe


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/






More information about the Linuxppc-dev mailing list