On Tuesday 08 April 2008 21:11:04 Larry Finger wrote:
> Michael,
> 
> I'm gaining on my problems with 2 PCI (not Cardbus) cards, which are 
> as follows:
> 
> 1. BCM4301 - With the ssb patch fixing IRQ TPS flag handling, I was 
> finally able to read beacons; however, no output interrupts were 
> delivered. By comparing the code in bcm43xx with that of b43legacy, I 
> found a section that had not been transferred. In it all bits are set 
> in B43legacy_MMIO_GEN_IRQ_REASON, the magic number 0x20402 is written 
> to B43legacy_MMIO_MACCTL, and the program spins waiting for IRQ_READY. 
> I was able to simplify the code to the following:
> 
>         b43legacy_write32(dev, B43legacy_MMIO_GEN_IRQ_REASON,
>                        0xFFFFFFFF);
>         b43legacy_write32(dev, B43legacy_MMIO_MACCTL, 0x00020402);
>         msleep(1);
>         b43legacy_read32(dev, B43legacy_MMIO_GEN_IRQ_REASON);

_where_ is this code?

-- 
Greetings Michael.
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to