]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/ERL
Remove IEEE80211_AMPDU_AGE config option.
[FreeBSD/FreeBSD.git] / sys / mips / conf / ERL
1 #
2 # ERL - EdgeRouter Lite kernel config
3 # Based on configuration from http://rtfm.net/FreeBSD/ERL
4 #
5 # For more information on this file, please read the config(5) manual page,
6 # and/or the handbook section on Kernel Configuration Files:
7 #
8 #    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 #
10 # The handbook is also available locally in /usr/share/doc/handbook
11 # if you've installed the doc distribution, otherwise always see the
12 # FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
13 # latest information.
14 #
15 # An exhaustive list of options and more detailed explanations of the
16 # device lines is also present in the ../../conf/NOTES and NOTES files.
17 # If you are in doubt as to the purpose or necessity of a line, check first
18 # in NOTES.
19 #
20 # $FreeBSD$
21
22 ident           ERL
23
24 makeoptions     ARCH_FLAGS="-march=octeon+ -mabi=64"
25 makeoptions     LDSCRIPT_NAME=ldscript.mips.octeon1
26
27 makeoptions     KERNLOADADDR=0xffffffff80100000
28
29 # We don't need to build a trampolined version of the kernel.
30 makeoptions     WITHOUT_KERNEL_TRAMPOLINE=1
31
32 include         "../cavium/std.octeon1"
33
34 hints           "OCTEON1.hints"         #Default places to look for devices.
35
36 makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols
37
38 # Board-specific support that cannot be auto-detected at runtime.
39 #options        OCTEON_VENDOR_LANNER            # Support for Lanner boards.
40 #options        OCTEON_VENDOR_RADISYS           # Support for Radisys boards.
41 options         OCTEON_VENDOR_UBIQUITI          # Support for Ubiquiti boards.
42 #options        OCTEON_VENDOR_GEFES             # Support for GE LANIC boards
43 #options        OCTEON_BOARD_CAPK_0100ND        # Support for CAPK-0100nd.
44
45 # Compile for a specified Octeon model.  If not specified, support for
46 # detection at runtime will be used instead, which may give inferior
47 # performance.
48 #
49 # See sys/contrib/octeon-sdk/octeon-model.h for possible values.
50 options         OCTEON_MODEL=OCTEON_CN50XX_PASS1
51
52 options         SCHED_ULE               # ULE scheduler
53 options         PREEMPTION              # Enable kernel thread preemption
54 options         INET                    # InterNETworking
55 options         INET6                   # IPv6 communications protocols
56 options         IPSEC                   # IP (v4/v6) security
57 options         TCP_HHOOK               # hhook(9) framework for TCP
58 options         SCTP                    # Stream Control Transmission Protocol
59 options         FFS                     # Berkeley Fast Filesystem
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
63 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
64 options         MD_ROOT                 # MD is a potential root device
65 options         NFSCL                   # Network Filesystem Client
66 options         NFSD                    # Network Filesystem Server
67 options         NFSLOCKD                # Network Lock Manager
68 options         NFS_ROOT                # NFS usable as /, requires NFSCL
69 options         MSDOSFS                 # MSDOS Filesystem
70 options         CD9660                  # ISO 9660 Filesystem
71 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
72 options         PSEUDOFS                # Pseudo-filesystem framework
73 options         GEOM_PART_GPT           # GUID Partition Tables.
74 options         GEOM_LABEL              # Provides labelization
75 options         COMPAT_FREEBSD32        # Compatible with o32 binaries
76 options         COMPAT_FREEBSD10        # Compatible with FreeBSD10
77 options         COMPAT_FREEBSD11        # Compatible with FreeBSD11
78 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
79 options         KTRACE                  # ktrace(1) support
80 options         STACK                   # stack(9) support
81 options         SYSVSHM                 # SYSV-style shared memory
82 options         SYSVMSG                 # SYSV-style message queues
83 options         SYSVSEM                 # SYSV-style semaphores
84 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
85 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
86 options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
87 options         AUDIT                   # Security event auditing
88 options         MAC                     # TrustedBSD MAC Framework
89 options         KDTRACE_FRAME           # Ensure frames are compiled in
90 options         KDTRACE_HOOKS           # Kernel DTrace hooks
91 options         DDB_CTF                 # Kernel ELF linker loads CTF data
92 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
93 options         TMPFS                   # Temporary file system
94 options         CAPABILITY_MODE         # Capsicum capability mode
95 options         CAPABILITIES            # Capsicum capabilities
96
97 # Debugging for use in -current
98 #options        KDB                     # Enable kernel debugger support.
99 options         DDB                     # Support DDB.
100 #options        GDB                     # Support remote GDB.
101 #options        DEADLKRES               # Enable the deadlock resolver
102 #options        INVARIANTS              # Enable calls of extra sanity checking
103 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
104 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
105 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
106 #options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
107
108 # Make an SMP-capable kernel by default
109 options         SMP                     # Symmetric MultiProcessor Kernel
110
111 options         ROOTDEVNAME=\"ufs:da0s2a\"      # Default root filesystem.
112
113 # ATA/SCSI peripherals
114 device          scbus           # SCSI bus (required for ATA/SCSI)
115 device          ch              # SCSI media changers
116 device          da              # Direct Access (disks)
117 device          sa              # Sequential Access (tape etc)
118 device          cd              # CD
119 device          pass            # Passthrough device (direct ATA/SCSI access)
120 device          ses             # Enclosure Services (SES and SAF-TE)
121
122 # Serial (COM) ports
123 device          uart            # Generic UART driver
124
125 # On-board Cavium Octeon Ethernet.
126 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
127 device          octe
128
129 # Cavium Octeon management Ethernet.
130 device          octm
131
132 # Switch PHY support for the octe driver.  These currently present a VLAN per
133 # physical port, but may eventually provide support for DSA or similar instead.
134 #device         mv88e61xxphy    # Marvell 88E61XX
135
136 # Wireless NIC cards
137 device          wlan            # 802.11 support
138 options         IEEE80211_DEBUG # enable debug msgs
139 options         IEEE80211_SUPPORT_MESH  # enable 802.11s draft support
140 device          wlan_wep        # 802.11 WEP support
141 device          wlan_ccmp       # 802.11 CCMP support
142 device          wlan_tkip       # 802.11 TKIP support
143 device          wlan_amrr       # AMRR transmit rate control algorithm
144 #device         ath             # Atheros NIC's
145 #device         ath_pci         # Atheros pci/cardbus glue
146 #device         ath_hal         # pci/cardbus chip support
147 #options        AH_SUPPORT_AR5416       # enable AR5416 tx/rx descriptors
148 #device         ath_rate_sample # SampleRate tx rate control for ath
149
150 # Pseudo devices.
151 device          loop            # Network loopback
152 device          random          # Entropy device
153 device          ether           # Ethernet support
154 device          vlan            # 802.1Q VLAN support
155 device          tun             # Packet tunnel.
156 device          md              # Memory "disks"
157 device          gif             # IPv6 and IPv4 tunneling
158 device          firmware        # firmware assist module
159
160 # The `bpf' device enables the Berkeley Packet Filter.
161 # Be aware of the administrative consequences of enabling this!
162 # Note that 'bpf' is required for DHCP.
163 device          bpf             # Berkeley packet filter
164
165 # Hardware watchdog support.
166 #device         octeon_wdog     # Octeon hardware watchdog
167
168 # USB support
169 options         USB_DEBUG       # enable debug msgs
170 device          octusb          # Cavium Octeon on-board USB interface (USB 2.0)
171 device          uhci            # UHCI PCI->USB interface
172 device          ohci            # OHCI PCI->USB interface
173 device          ehci            # EHCI PCI->USB interface (USB 2.0)
174 device          usb             # USB Bus (required)
175 #device         udbp            # USB Double Bulk Pipe devices
176 device          uhid            # "Human Interface Devices"
177 device          ulpt            # Printer
178 device          umass           # Disks/Mass storage - Requires scbus and da
179 device          ums             # Mouse
180 device          urio            # Diamond Rio 500 MP3 player
181 # USB Serial devices
182 device          u3g             # USB-based 3G modems (Option, Huawei, Sierra)
183 device          uark            # Technologies ARK3116 based serial adapters
184 device          ubsa            # Belkin F5U103 and compatible serial adapters
185 device          uftdi           # For FTDI usb serial adapters
186 device          uipaq           # Some WinCE based devices
187 device          uplcom          # Prolific PL-2303 serial adapters
188 device          uslcom          # SI Labs CP2101/CP2102 serial adapters
189 device          uvisor          # Visor and Palm devices
190 device          uvscom          # USB serial support for DDI pocket's PHS
191 # USB Ethernet, requires miibus
192 device          miibus          # MII bus support
193 device          aue             # ADMtek USB Ethernet
194 device          axe             # ASIX Electronics USB Ethernet
195 device          cdce            # Generic USB over Ethernet
196 device          cue             # CATC USB Ethernet
197 device          kue             # Kawasaki LSI USB Ethernet
198 device          rue             # RealTek RTL8150 USB Ethernet
199 device          udav            # Davicom DM9601E USB
200 # USB Wireless
201 device          rum             # Ralink Technology RT2501USB wireless NICs
202 device          uath            # Atheros AR5523 wireless NICs
203 device          ural            # Ralink Technology RT2500USB wireless NICs
204 device          zyd             # ZyDAS zd1211/zd1211b wireless NICs
205
206 # crypto subsystem
207 device          crypto          # core crypto support (required for IPSEC)
208 device          cryptodev       # /dev/crypto for access to h/w
209 device          cryptocteon     # Octeon coprocessor 2 crypto offload
210
211 # GPIO support
212 #device         gpio
213
214 # PMC support
215 #device         hwpmc