2 # AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems
4 # This includes all the common drivers for the AR71XX boards along with
5 # the usb, net80211 and atheros driver code.
13 makeoptions KERNLOADADDR=0x80050000
17 files "../atheros/files.ar71xx"
19 # For now, hints are per-board.
21 hints "AR71XX_BASE.hints"
23 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
25 # Build these as modules so small platform builds will have the
26 # modules already built.
27 makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci"
29 # For small memory footprints
30 options VM_KMEM_SIZE_SCALE=1
35 options SCHED_4BSD #4BSD scheduler
36 options INET #InterNETworking
39 # options NFSCL #Network Filesystem Client
41 options PSEUDOFS #Pseudo-filesystem framework
42 options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
44 # options NFS_LEGACYRPC
45 # Debugging for use in -current
47 options INVARIANT_SUPPORT
49 options WITNESS_SKIPSPIN
51 options DEBUG_MEMGUARD
53 options FFS #Berkeley Fast Filesystem
54 # options SOFTUPDATES #Enable FFS soft updates support
55 # options UFS_ACL #Support for access control lists
56 # options UFS_DIRHASH #Improve performance on big directories
57 # options MSDOSFS # Read MSDOS filesystems; useful for USB/CF
63 options IEEE80211_DEBUG
65 options IEEE80211_SUPPORT_MESH
66 options IEEE80211_SUPPORT_TDMA
67 options IEEE80211_AMPDU_AGE
68 device wlan # 802.11 support
69 device wlan_wep # 802.11 WEP support
70 device wlan_ccmp # 802.11 CCMP support
71 device wlan_tkip # 802.11 TKIP support
72 device wlan_xauth # 802.11 hostap support
74 # Atheros wireless NICs
75 device ath # Atheros interface support
76 device ath_pci # Atheros PCI/Cardbus bus
79 options ATH_ENABLE_11N
84 option AH_SUPPORT_AR5416
85 device ath_rate_sample
86 option AH_RXCFG_SDMAMW_4BYTES
87 option AH_AR5416_INTERRUPT_MITIGATION
88 # There's no DFS radar detection support yet so this won't actually
89 # detect radars. It however does enable the rest of the channel change
90 # machinery so DFS can be debugged.
97 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
99 options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this
123 device gif # ip[46] in ip[46] tunneling protocol
124 device gre # generic encapsulation - only for IPv4 in IPv4 though atm
126 options ARGE_DEBUG # Enable if_arge debugging for now