Date: Sun, 25 Sep 2011 21:38:57 +0800 From: Adrian Chadd <adrian@freebsd.org> To: Justin Hibbits <chmeeedalf@gmail.com> Cc: freebsd-wireless@freebsd.org, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: CFT: macio attachment for if_wi Message-ID: <CAJ-Vmo=ch-g2Sz4vdabCLeAkz96Dxef96vy5Y-7Z=y1drsJKvA@mail.gmail.com> In-Reply-To: <54FFB452-534A-46C6-950B-880EB36F61C1@gmail.com> References: <54FFB452-534A-46C6-950B-880EB36F61C1@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25 September 2011 20:54, Justin Hibbits <chmeeedalf@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 > anything. 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. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=ch-g2Sz4vdabCLeAkz96Dxef96vy5Y-7Z=y1drsJKvA>
