Date: Sat, 11 Oct 2008 10:02:06 -0700 From: Sam Leffler <sam@freebsd.org> To: Alex Keda <admin@lissyara.su> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: HAL source code vs binary code Message-ID: <48F0DC0E.4010301@freebsd.org> In-Reply-To: <48F0CEA3.4080601@lissyara.su> References: <48F0CEA3.4080601@lissyara.su>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Keda wrote: > http://lkml.org/lkml/2008/9/26/321 > whether there are plans to include source code HAL in FreeBSD? > It is very difficult to update 2 MB binary files .. If someone wants to do the work I would happily turn over responsibility for ath. Beware however that the code Atheros gave out, while derived from my code base (note my name is on the files), has very different api's (sometimes subtle), lacks important functionality present in my hal, and is missing support for 5210, 5211, and 5416 class parts. Furthermore they didn't even give out the driver that goes with it and the code is incomplete (I know as have access to the code base this stuff came from). I will however say that releasing this code will enable me to start pushing certain useful tools into our code base (e.g. the register dumping tool I've used forever). The disclosure now also enables to me to point out how to do certain things like disable CCA on certain chips (ar5212/ar5212reg.h): #define AR_DIAG_SW 0x8048 /* MAC PCU control register */ #define DIAG_FORCE_RXCLR (1<<20) /* force rxclear (ignore CCA) */ The obvious right thing would have been to allow me to give out my code but that assumes Atheros really wanted to help the open source community. Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F0DC0E.4010301>
