CFT: macio attachment for if_wi
adrian at freebsd.org
Sun Sep 25 13:38:58 UTC 2011
On 25 September 2011 20:54, Justin Hibbits <chmeeedalf at gmail.com> wrote:
> Attached is a patch adding the macio attachment for the if_wi driver, to
> support the airport card in PowerPC macs. To do this I needed to modify the
> wi_read_bap and wi_write_bap functions to use the bus space stream functions
> instead of regular functions, like NetBSD and OpenBSD do. I currently get a
> 'no carrier' status from ifconfig, so I can't fully test connections, only
> the attachment. Testing wanted and needed to make sure I didn't break
I think it's worth digging into exactly why this works. Can we find
out whether the card firmware does magically speak host endian?
Since you haven't seen it associate to anything yet, I can't help but
wonder if there are lots of other random endianness issues creeping
throughout the driver.
More information about the freebsd-wireless