2 # AR724X -- Kernel configuration file for FreeBSD/MIPS for Atheros 724x systems
4 # This includes all the common drivers for the AR724x boards.
5 # Since the AR724x boards tend to have minimal flash (sometimes 4MB!),
6 # the majority of the kernel framework will be built as modules.
14 makeoptions KERNLOADADDR=0x80050000
18 files "../atheros/files.ar71xx"
20 # For now, hints are per-board.
22 hints "AR724X_BASE.hints"
24 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
26 # Build these as modules so small platform builds will have the
27 # modules already built.
28 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 hwpmc cam"
30 # For small memory footprints
31 options VM_KMEM_SIZE_SCALE=1
36 options SCHED_4BSD #4BSD scheduler
37 options INET #InterNETworking
39 options TCP_HHOOK # hhook(9) framework for TCP
40 #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 # Don't include the SCSI/CAM strings in the default build
54 options SCSI_NO_SENSE_STRINGS
55 options SCSI_NO_OP_STRINGS
57 # .. And no sysctl strings
58 options NO_SYSCTL_DESCR
60 options FFS #Berkeley Fast Filesystem
61 options NO_FFS_SNAPSHOT
62 # options SOFTUPDATES #Enable FFS soft updates support
63 # options UFS_ACL #Support for access control lists
64 # options UFS_DIRHASH #Improve performance on big directories
65 # options MSDOSFS # Read MSDOS filesystems; useful for USB/CF
71 options IEEE80211_DEBUG
73 options IEEE80211_SUPPORT_MESH
74 options IEEE80211_SUPPORT_SUPERG
75 options IEEE80211_SUPPORT_TDMA
76 options IEEE80211_AMPDU_AGE
77 #device wlan # 802.11 support
78 #device wlan_wep # 802.11 WEP support
79 #device wlan_ccmp # 802.11 CCMP support
80 #device wlan_tkip # 802.11 TKIP support
81 #device wlan_xauth # 802.11 hostap support
83 # Atheros wireless NICs
84 #device ath # Atheros interface support
85 #device ath_pci # Atheros PCI/Cardbus bus
88 options ATH_ENABLE_11N
93 option AH_SUPPORT_AR5416
94 #device ath_rate_sample
95 option AH_RXCFG_SDMAMW_4BYTES
96 option AH_AR5416_INTERRUPT_MITIGATION
97 # There's no DFS radar detection support yet so this won't actually
98 # detect radars. It however does enable the rest of the channel change
99 # machinery so DFS can be debugged.
100 option ATH_ENABLE_DFS
104 options ARGE_DEBUG # Enable if_arge debugging for now
107 options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
109 options USB_HOST_ALIGN=32 # AR724X (MIPS in general?) requires this
134 #device gif # ip[46] in ip[46] tunneling protocol
135 #device gre # generic encapsulation - only for IPv4 in IPv4 though atm