USB2 patches

Hans Petter Selasky hselasky at c2i.net
Sun Feb 1 11:12:11 PST 2009


Hi Andrew,

On Sunday 01 February 2009, Andrew Thompson wrote:
> On Sun, Feb 01, 2009 at 07:22:15PM +0100, Hans Petter Selasky wrote:

>
> The code should be,
>

That's what I'm doing already ... I pre-copy all channel & bssid stuff into a 
message structure ...

> xxx_set_channel()
> {
> 	ieee80211_channel c = wlan->curchan;
>
> 	hw_reg = array1[c];
> 	write USB register;
> 	hw_reg = array2[c];
> 	write USB register;
> }

And don't forget "volatile" ...

--HPS


More information about the freebsd-usb mailing list