Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2009 20:14:29 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Andrew Thompson <thompsa@freebsd.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB2 patches
Message-ID:  <200902012014.32190.hselasky@c2i.net>
In-Reply-To: <20090201190820.GB32503@citylink.fud.org.nz>
References:  <20090131231957.GB31825@citylink.fud.org.nz> <200902011922.16810.hselasky@c2i.net> <20090201190820.GB32503@citylink.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902012014.32190.hselasky>