On 11/16/2009 01:25 PM, Daniel Schmitt wrote: > Hi Larry, > > I applied your patch. > dmesg if PIN13 is open (wire disconnected on minipci adapter): > b43legacy: phy rev < 3: RADIO_ENAB_LO 0xFD71 > b43legacy: RADIO_ENAB_HI 0x40 > > dmesg if PIN13 is connected (no modifications on minipci adapter): > b43legacy: phy rev < 3: RADIO_ENAB_LO 0xDD71 > b43legacy: RADIO_ENAB_HI 0x10001 > > wow, there are many different bits ...
Yes, but we only consider bits that are set with PIN13 open and unset with PI13 connected. This gives us bit 0x2000 in RADIO_ENAB_LO.and bit 0x0040 in RADIO_ENAB_HI. From the specs, I expect the difference to be in RADIO_ENAB_LO. Please try this patch: Index: wireless-testing/drivers/net/wireless/b43legacy/b43legacy.h =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43legacy/b43legacy.h +++ wireless-testing/drivers/net/wireless/b43legacy/b43legacy.h @@ -160,7 +160,7 @@ /* Hardware Radio Enable masks */ #define B43legacy_MMIO_RADIO_HWENABLED_HI_MASK (1 << 16) -#define B43legacy_MMIO_RADIO_HWENABLED_LO_MASK (1 << 4) +#define B43legacy_MMIO_RADIO_HWENABLED_LO_MASK (1 << 13) /* HostFlags. See b43legacy_hf_read/write() */ #define B43legacy_HF_SYMW 0x00000002 /* G-PHY SYM workaround */ Larry
Index: wireless-testing/drivers/net/wireless/b43legacy/b43legacy.h =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43legacy/b43legacy.h +++ wireless-testing/drivers/net/wireless/b43legacy/b43legacy.h @@ -160,7 +160,7 @@ /* Hardware Radio Enable masks */ #define B43legacy_MMIO_RADIO_HWENABLED_HI_MASK (1 << 16) -#define B43legacy_MMIO_RADIO_HWENABLED_LO_MASK (1 << 4) +#define B43legacy_MMIO_RADIO_HWENABLED_LO_MASK (1 << 13) /* HostFlags. See b43legacy_hf_read/write() */ #define B43legacy_HF_SYMW 0x00000002 /* G-PHY SYM workaround */
_______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
