On Wed, 2008-11-12 at 12:39 +0100, Michael Buesch wrote: > On Wednesday 12 November 2008 04:27:14 Brian J. Murrell wrote: > > Please excuse the cross-posting but this thread started on openwrt-users > > but the findings are probably more relevant to the developers. > > > > On Tue, 2008-10-21 at 17:46 +0200, Michael Buesch wrote: > > > > > > Lookup b43_interrupt_handler() and look for the "reason" variable. > > > Fairly straightforward, IMO. > > > > OK. I've managed to tool up a b43.ko with a printk and this is what I > > see, before I even pump anything through the wireless link (i.e. up in > > Master mode, and idle): > > Did you print the value _after_ it was masked with the mask? It seems you > didn't.
All I did was:
if (b43_status(dev) < B43_STAT_STARTED)
goto out;
reason = b43_read32(dev, B43_MMIO_GEN_IRQ_REASON);
+ /* don't print transmits */
+ if (reason & B43_IRQ_TX_OK)
+ ;
+ else
+ printk(KERN_INFO "b43_interrupt_handler: 0x%x\n", reason);
if (reason == 0xffffffff) /* shared IRQ */
goto out;
ret = IRQ_HANDLED;
b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
