From owner-freebsd-wireless@FreeBSD.ORG Sun Mar 31 20:58:30 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B19B0D3 for ; Sun, 31 Mar 2013 20:58:30 +0000 (UTC) (envelope-from gofdw-freebsd-wireless@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 71A7EECF for ; Sun, 31 Mar 2013 20:58:30 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UMPL2-0001HK-0O for freebsd-wireless@freebsd.org; Sun, 31 Mar 2013 22:58:52 +0200 Received: from a91-154-115-217.elisa-laajakaista.fi ([91.154.115.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Mar 2013 22:58:51 +0200 Received: from rakuco by a91-154-115-217.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Mar 2013 22:58:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-wireless@freebsd.org From: Raphael Kubo da Costa Subject: Re: [rft] ar9300 HAL updated Date: Sun, 31 Mar 2013 22:58:18 +0300 Lines: 32 Message-ID: <86y5d31gv9.fsf@orwell.Elisa> References: <86bo9z39q0.fsf@orwell.Elisa> <515860AD.2040003@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: a91-154-115-217.elisa-laajakaista.fi User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:IcuxUGLWNUr2HLyPv/UlaQswWY0= X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 20:58:30 -0000 Joshua Isom writes: > On 3/31/2013 9:49 AM, Raphael Kubo da Costa wrote: >> The first error I got was in ar9300_radio.c:90 -- clang complained >> `ichan' was not being used. > > I keep forgetting about this, but if you open the file go to line 89 > and change the ifdef to '#if 0' it'll compile. Yeah, I did something similar and compilation went a little bit further. > Also, for your kernel config, generic won't work. Comment out the > device lines for ath, ath_pci, and ath_hal. Three options need added, > so it'll look like this. Gah, thanks for reminding me about removing those `device' entries from my kernel configuration. I build my kernel as a "diff" against GENERIC [1], and this is what I'm currently using (the rest of the options are already present in GENERIC): # For the experimental AR9485 support. options ATH_DEBUG options AH_DEBUG options ATH_DIAGAPI nodevice ath nodevice ath_pci nodevice ath_hal nodevice ath_rate_sample [1] http://www.wonkity.com/~wblock/docs/html/kernelconfig.html Anyway, I'm still stuck at those other warnings/errors I posted before.