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.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to