]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] bcm43xx: Drain TX status before starting IRQs
authorMichael Buesch <mb@bu3sch.de>
Mon, 6 Nov 2006 15:45:31 +0000 (09:45 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Nov 2006 01:05:06 +0000 (20:05 -0500)
commitecac598bcd1f151ee4760489bded625c147fb366
treeb320d527f52e9b05c2bcf7f616745571c4848ab1
parentedd106fc8ac1826dbe231b70ce0762db24133e5c
[PATCH] bcm43xx: Drain TX status before starting IRQs

Drain the Microcode TX-status-FIFO before we enable IRQs.
This is required, because the FIFO may still have entries left
from a previous run. Those would immediately fire after enabling
IRQs and would lead to an oops in the DMA TXstatus handling code.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c