Can't compile ath(4) into kernel

Mikhail T. mi+thunw at aldan.algebra.com
Wed Aug 25 15:04:28 UTC 2010


 On 8/25/2010 8:27 AM, John Baldwin wrote:
> You are missing:
>
> options         AH_SUPPORT_AR5416       # enable AR5416 tx/rx descriptors
>
But I don't have the ar5416 chipset... Mine is AR2312... And it is an
option, so should not it be optional? Anyway, I tried adding that option
and the error is the same (did cleandepend && depend, saw ah.c
recompiled anew).
> For the 6.x -> 8 upgrade you are doing, I strongly suggest looking at the 
> changes to GENERIC across your upgrade. It would save you several e-mails to 
> the mailing list
Thanks, I did that. After several attempts to fiddle with
options/devices, the wireless section now looks like:

    # Wireless NIC cards
    device          wlan            # 802.11 support
    options         IEEE80211_DEBUG # enable debug msgs
    options         IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
    options         IEEE80211_SUPPORT_MESH  # enable 802.11s draft support
    device          wlan_wep        # 802.11 WEP support
    device          wlan_ccmp       # 802.11 CCMP support
    device          wlan_tkip       # 802.11 TKIP support
    device          wlan_amrr       # AMRR transmit rate control algorithm
    device          ath
    device          ath_rate_sample # SampleRate tx rate control for ath
    device          ath_ar5212
    #device         ath_rate_onoe
    #options        AH_SUPPORT_AR5416       # enable AR5416 tx/rx
    descriptors

Generic simply uses the entire ath_hal, but ath_hal(4) suggests, that
picking out a single driver should work...

    -mi



More information about the freebsd-stable mailing list