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