Annotation of elwix/config/ELWIX_ALFA_N2, revision 1.3
1.2 misho 1: #
2: # PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference
3: # board (AR7242)
4: #
5: # $FreeBSD: head/sys/mips/conf/PB92 263301 2014-03-18 14:41:18Z imp $
6: #
7:
8: machine mips mips
9: ident ELWIX_ALFA_N2
10: # XXX The default load address in the Uboot environment is 0x80010000
11: makeoptions KERNLOADADDR=0x80050000
1.3 ! misho 12: options DEVICE_POLLING
1.2 misho 13: options HZ=1000
14: options HWPMC_HOOKS
15: device hwpmc
16: device hwpmc_mips24k
17:
18: # The PB92 has 32mb of RAM; hard-code that
19: options AR71XX_REALMEM=32*1024*1024
20:
21: # It's UBOOT, not Redboot - without this, things will hang at startup
22: options AR71XX_ENV_UBOOT
23: options AR71XX_ATH_EEPROM # Fetch EEPROM/PCI config from flash
24: options ATH_EEPROM_FIRMWARE # Use EEPROM from flash
25: device firmware # Used by the above
26:
27: device etherswitch
28: device arswitch
29:
30: hints "ELWIX_ALFA_N2.hints"
31: include "../atheros/std.ar71xx"
32:
33: makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
34: #makeoptions MODULES_OVERRIDE="random 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 zlib"
35:
36: #options DDB
37: #options KDB
38:
39: options PREEMPTION # Enable kernel thread preemption
40: options SCHED_ULE # ULE scheduler
41: #options SCHED_4BSD #4BSD scheduler
42: options INET #InterNETworking
43: options INET6
44: options PSEUDOFS #Pseudo-filesystem framework
45: options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
46: options ALQ
47:
48: # Debugging for use in -current
49: #options DEADLKRES
50: #options INVARIANTS
51: #options INVARIANT_SUPPORT
52: #options WITNESS
53: #options WITNESS_SKIPSPIN
54:
55: # Don't include the SCSI/CAM strings in the default build
56: options SCSI_NO_SENSE_STRINGS
57: options SCSI_NO_OP_STRINGS
58:
59: options FFS #Berkeley Fast Filesystem
60: options NO_FFS_SNAPSHOT
61: #options SOFTUPDATES #Enable FFS soft updates support
62: #options UFS_ACL #Support for access control lists
63: #options UFS_DIRHASH #Improve performance on big directories
64:
65: # Support uncompress lzma rootfs
66: device geom_uncompress
67: options GEOM_UNCOMPRESS
68: options ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
69:
70: # PCI bus
71: device pci
72: device ar724x_pci
73:
74: # NVRAM U-Boot Environment -> Kernel environment
75: device nvram2env
76:
77: options NFSCL # New Network Filesystem Client
78: #options NFSD # New Network Filesystem Server
79: options NFSCLIENT #Network File System client
80: #options NFSSERVER #Network File System server
81: options NFSLOCKD # Network Lock Manager
82: options NFS_ROOT # NFS usable as /, requires NFSCL
83: #options BOOTP # Use BOOTP to obtain IP address/hostname
84: # Requires NFSCLIENT and NFS_ROOT
85: #options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
86: #options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
87: #options BOOTP_COMPAT # Workaround for broken bootp daemons.
88: #options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
89:
90: options GEOM_LABEL # Provides labelization
91: options GEOM_UZIP
92: device geom_uzip # compressed in-memory filesystem support
93:
94: # Wireless NIC cards
95: #options IEEE80211_DEBUG
96: options IEEE80211_SUPPORT_MESH
97: options IEEE80211_SUPPORT_SUPERG
98: options IEEE80211_AMPDU_AGE
99: options IEEE80211_SUPPORT_TDMA
100: options IEEE80211_ALQ
101: device wlan # 802.11 support
102: device wlan_wep # 802.11 WEP support
103: device wlan_ccmp # 802.11 CCMP support
104: device wlan_tkip # 802.11 TKIP support
105: device wlan_xauth # 802.11 hostap support
106: device wlan_acl
107: device wlan_amrr
108: device wlan_rssadapt
109:
110: # Atheros wireless NICs
111: device ath # Atheros interface support
112: device ath_pci # Atheros PCI/Cardbus bus
113: device ath_ahb
114: #options ATH_DEBUG
115: options ATH_ENABLE_11N
116: options ATH_DIAGAPI
117:
118: device ath_hal
119: options AH_SUPPORT_AR5416
120: options AH_DEBUG
121: options AH_DEBUG_ALQ
122:
123: #option AH_SUPPORT_AR9130 # Makes other chipsets not function!
124: device ath_rate_sample
125: options AH_RXCFG_SDMAMW_4BYTES
126: options AH_AR5416_INTERRUPT_MITIGATION
127: # There's no DFS radar detection support yet so this won't actually
128: # detect radars. It however does enable the rest of the channel change
129: # machinery so DFS can be debugged.
130: option ATH_ENABLE_DFS
131:
132: device mii
133: device arge
134: ##options ARGE_DEBUG # Enable if_arge debugging for now
135: options ARGE_MDIO # Export an MDIO bus separate from arge
136: device miiproxy # MDIO bus <-> MII PHY rendezvous
137:
138: # USB devices - PB92 has EHCI only
139:
140: #device usb
141: options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
142: #options USB_DEBUG
143: options USB_HOST_ALIGN=32
144: #device ehci
145:
146: # Mass storage
147: #device scbus
148: #device umass
149: #device da
150:
151: # Read MSDOS formatted disks
152: options GEOM_PART_BSD
153: options GEOM_PART_MBR
154:
155: options NULLFS
156: options UNIONFS
157: #options TMPFS
158: #options MSDOSFS
159:
160: # GPIO Bus
161: device gpio
162: device gpioled
163: device gpioiic
164:
165: device iicbb
166: device iicbus
167: device iic
168:
169: # SPI and flash
170: device spibus
171: device ar71xx_spi
172: device mx25l
173:
174: # The flash is statically partitioned; add in that
175: device geom_map
176:
177: device ar71xx_wdog
178:
179: # Serial
180: device uart
181: device uart_ar71xx
182:
183: # Network twiddling
184: device loop
185: device ether
186: device vlan
187: device md
188: device bpf
189: device random
190: device if_bridge
191: device gif # ip[46] in ip[46] tunneling protocol
192: device gre # generic encapsulation - only for IPv4 in IPv4 though atm
193: device tun
194: device tap
195:
196: device pf
197: device pflog
198: device pfsync
199:
200: options P1003_1B_MQUEUE
201: options P1003_1B_SEMAPHORES # POSIX-style semaphores
202:
203: #options MSGBUF_SIZE=65536
204: #options SHMALL=128
205: #options NSFBUFS=1024
206: #options MAXFILES=512
207: #options MAXUSERS=3
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>