Date: Mon, 26 Sep 2011 10:20:03 +0800 From: Adrian Chadd <adrian@freebsd.org> To: pyunyh@gmail.com Cc: freebsd-wireless@freebsd.org, Justin Hibbits <chmeeedalf@gmail.com>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: CFT: macio attachment for if_wi Message-ID: <CAJ-VmomZA_qLACYEXTAUR3T7q1kvY9pniaQH9WCdGzdEesSTJw@mail.gmail.com> In-Reply-To: <20110926015215.GB1702@michelle.cdnetworks.com> References: <54FFB452-534A-46C6-950B-880EB36F61C1@gmail.com> <20110926015215.GB1702@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 September 2011 09:52, YongHyeon PYUN <pyunyh@gmail.com> wrote: > It seems the WI_DATA0/WI_DATA1 registers provide access to data > with FIFO style. =A0This indicates driver have to read raw data and > subsequent access would have to use htoleXX() macro to compare it > with the raw data instead of converting it from little-endian to > host byte order. > So your patch looks like the first step that goes to right > direction. =A0As Adrian said, there could be multiple places that > used wrong data from endianess view. Cool; I'll try to remember to get this committed to -HEAD once it's unlocked for bug fixes. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomZA_qLACYEXTAUR3T7q1kvY9pniaQH9WCdGzdEesSTJw>