2 # AR91XX -- Kernel configuration base file for the Atheros AR913x SoC.
4 # This file (and the hints file accompanying it) are not designed to be
5 # used by themselves. Instead, users of this file should create a kernel
6 # config file which includes this file (which gets the basic hints), then
7 # override the default options (adding devices as needed) and adding
8 # hints as needed (for example, the GPIO and LAN PHY.)
16 makeoptions KERNLOADADDR=0x80050000
19 files "../atheros/files.ar71xx"
20 hints "AR933X_BASE.hints"
22 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
23 makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_tap if_tun if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw ipfw_nat libalias ipfw_nptv6 rtwn rtwn_usb rtwnfw otus otusfw hwpmc_mips24k"
28 options ALT_BREAK_TO_DEBUGGER
30 options UMTX_CHAINS=16
32 options SCHED_4BSD #4BSD scheduler
33 options INET #InterNETworking
34 #options INET6 #InterNETworking
35 options TCP_HHOOK # hhook(9) framework for TCP
36 #options NFSCL #Network Filesystem Client
37 options PSEUDOFS #Pseudo-filesystem framework
38 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
40 # Don't include the SCSI/CAM strings in the default build
41 options SCSI_NO_SENSE_STRINGS
42 options SCSI_NO_OP_STRINGS
44 # .. And no sysctl strings
45 options NO_SYSCTL_DESCR
47 # For small memory footprints
48 options VM_KMEM_SIZE_SCALE=1
53 # Limit UMTX hash size
54 options UMTX_CHAINS=64
61 # options NFS_LEGACYRPC
62 # Debugging for use in -current
64 #options INVARIANT_SUPPORT
66 #options WITNESS_SKIPSPIN
67 options FFS #Berkeley Fast Filesystem
68 #options SOFTUPDATES #Enable FFS soft updates support
69 #options UFS_ACL #Support for access control lists
70 #options UFS_DIRHASH #Improve performance on big directories
71 options NO_FFS_SNAPSHOT # We don't require snapshot support
73 options IPFIREWALL_DEFAULT_TO_ACCEPT
76 options IEEE80211_DEBUG
77 options IEEE80211_SUPPORT_MESH
78 options IEEE80211_SUPPORT_TDMA
79 options IEEE80211_SUPPORT_SUPERG
80 options IEEE80211_ALQ # 802.11 ALQ logging support
81 device wlan # 802.11 support
82 device wlan_wep # 802.11 WEP support
83 device wlan_ccmp # 802.11 CCMP support
84 device wlan_tkip # 802.11 TKIP support
85 device wlan_xauth # 802.11 hostap support
88 device ath # Atheros network device
89 device ath_rate_sample
90 device ath_ahb # Atheros host bus glue
97 device ath_ar9300 # AR9330 HAL; no need for the others
99 option AH_SUPPORT_AR5416 # 11n HAL support
100 option AH_SUPPORT_AR9330 # Chipset support
101 option AH_AR5416_INTERRUPT_MITIGATION
107 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
109 options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this