kern/152736: Kernel fails to build without AH_SUPPORT_AR5416

Glen Barber glen.j.barber at gmail.com
Wed Dec 1 18:26:56 UTC 2010


Hi,

On 12/1/10 5:18 AM, brucec at FreeBSD.org wrote:
> As documented in ath(4) "options AH_SUPPORT_AR5416" is required if you want to
> build the ath(4) driver even if you don't have AR5416 hardware.
> 

Perhaps this should be noted in GENERIC as well.  What do you think
about the attached patch?

-- 
Glen Barber
-------------- next part --------------
Index: sys/amd64/conf/GENERIC
===================================================================
--- sys/amd64/conf/GENERIC	(revision 216097)
+++ sys/amd64/conf/GENERIC	(working copy)
@@ -257,6 +257,7 @@
 device		wlan_tkip	# 802.11 TKIP support
 device		wlan_amrr	# AMRR transmit rate control algorithm
 device		an		# Aironet 4500/4800 802.11 wireless NICs.
+# 'device ath' requires 'options AH_SUPPORT_AR5416'
 device		ath		# Atheros pci/cardbus NIC's
 device		ath_hal		# pci/cardbus chip support
 options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
Index: sys/i386/conf/GENERIC
===================================================================
--- sys/i386/conf/GENERIC	(revision 216097)
+++ sys/i386/conf/GENERIC	(working copy)
@@ -268,6 +268,7 @@
 device		wlan_tkip	# 802.11 TKIP support
 device		wlan_amrr	# AMRR transmit rate control algorithm
 device		an		# Aironet 4500/4800 802.11 wireless NICs.
+# 'device ath' requires 'options AH_SUPPORT_AR5416'
 device		ath		# Atheros pci/cardbus NIC's
 device		ath_hal		# pci/cardbus chip support
 options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
Index: sys/pc98/conf/GENERIC
===================================================================
--- sys/pc98/conf/GENERIC	(revision 216097)
+++ sys/pc98/conf/GENERIC	(working copy)
@@ -221,6 +221,7 @@
 #device		wlan_tkip	# 802.11 TKIP support
 #device		wlan_amrr	# AMRR transmit rate control algorithm
 #device		an		# Aironet 4500/4800 802.11 wireless NICs.
+## 'device ath' requires 'options AH_SUPPORT_AR5416'
 #device		ath		# Atheros pci/cardbus NIC's
 #device		ath_hal		# pci/cardbus chip support
 #options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
Index: sys/sparc64/conf/GENERIC
===================================================================
--- sys/sparc64/conf/GENERIC	(revision 216097)
+++ sys/sparc64/conf/GENERIC	(working copy)
@@ -203,6 +203,7 @@
 device		wlan_ccmp	# 802.11 CCMP support
 device		wlan_tkip	# 802.11 TKIP support
 device		wlan_amrr	# AMRR transmit rate control algorithm
+# 'device ath' requires 'options AH_SUPPORT_AR5416'
 device		ath		# Atheros pci/cardbus NIC's
 device		ath_hal		# Atheros HAL (Hardware Access Layer)
 options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors


More information about the freebsd-bugs mailing list