On Wednesday 04 February 2009 04:12:46 Larry Finger wrote:
> Francesco,
> 
> I have coded b43 to dump the microcode PSM when
> b43_dma_handle_txstatus is called for an skb that has already been
> processed and deleted. This dump is for V5.0 of the open firmware and
> includes everything but the PC and condition codes.

You can get the PC from the debug register. However, this stuff is asynchronous
wrt to the firmware. So the PC would have absolutely no meaning.
The interrupt takes a few microseconds to trigger and the bottom half
probably takes up to a few milliseconds. So the firmware will have advanced a 
lot
until you dump the state.

For this reason I introduced the synchronous debug-irq. With this IRQ it's
possible to synchronously send events to the driver and dump some state in
a consistent way. However, it requires firmware support, of course.

We cannot read the conditions without help of the firmware. Or at least, we 
don't
know how to, if it's possible somehow.

-- 
Greetings, Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to