Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2013 11:13:33 -0500
From:      Joshua Isom <jrisom@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   Re: [rft] ar9300 HAL updated
Message-ID:  <515860AD.2040003@gmail.com>
In-Reply-To: <86bo9z39q0.fsf@orwell.Elisa>
References:  <CAJ-Vmonck2=OUgOb_NbPuJMD5%2BkETSzi%2Be1wkVjTx-Q_wrQCyg@mail.gmail.com> <86bo9z39q0.fsf@orwell.Elisa>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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.

#device         ath             # Atheros NICs
#device         ath_pci         # Atheros pci/cardbus glue
#device         ath_hal         # pci/cardbus chip support
options         ATH_DEBUG
options         AH_DEBUG
options         ATH_DIAGAPI
options         AH_SUPPORT_AR5416       # enable AR5416 tx/rx descriptors
options         AH_AR5416_INTERRUPT_MITIGATION  # AR5416 interrupt 
mitigation
options         ATH_ENABLE_11N  # Enable 802.11n support for AR5416 and 
later
#device         ath_rate_sample # SampleRate tx rate control for ath

You can add 'if_ath_load="YES"' and 'if_ath_pci_load="YES"' to your 
loader.conf to get it loaded on boot.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515860AD.2040003>