Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 10:03:22 -0400
From:      "Mikhail T." <mi+thunw@aldan.algebra.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        stable@freebsd.org, sam@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: Can't compile ath(4) into kernel
Message-ID:  <4C7522AA.90004@aldan.algebra.com>
In-Reply-To: <201008250827.13482.jhb@freebsd.org>
References:  <4C749E8C.1020506@aldan.algebra.com> <201008250827.13482.jhb@freebsd.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7522AA.90004>