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