Re: What is this code I found in bwn?

2017-04-03 Thread Adrian Chadd
hi,

kinda. I think 43224 is PHY-N but uses the newer internal bus
structure (not SIBA)..



-a


On 2 April 2017 at 19:07, Kiernan Hager  wrote:
> In gnu/dev/bwn/phy_n/if_bwn_phy_n_tables.c, i found this code lurking:
>
> /* Auto increment broken + caching issue on BCM43224? */
> if (siba_get_chipid(sc->sc_dev) == 43224 && 
> siba_get_revid(sc->sc_dev) == 1) {
> BWN_PHY_READ(mac, BWN_NPHY_TABLE_DATALO);
> BWN_PHY_WRITE(mac, BWN_NPHY_TABLE_ADDR, offset + i);
> }
>
> Does this mean that there is some level of support for the BCM43224 in
> the bwn driver? Or is it just something for identification?
> ___
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


What is this code I found in bwn?

2017-04-02 Thread Kiernan Hager
In gnu/dev/bwn/phy_n/if_bwn_phy_n_tables.c, i found this code lurking:

/* Auto increment broken + caching issue on BCM43224? */
if (siba_get_chipid(sc->sc_dev) == 43224 && 
siba_get_revid(sc->sc_dev) == 1) {
BWN_PHY_READ(mac, BWN_NPHY_TABLE_DATALO);
BWN_PHY_WRITE(mac, BWN_NPHY_TABLE_ADDR, offset + i);
}

Does this mean that there is some level of support for the BCM43224 in
the bwn driver? Or is it just something for identification?
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"