2 # OCTEON1 -- Generic kernel configuration file for FreeBSD/MIPS on Cavium Octeon
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
23 makeoptions ARCH_FLAGS="-march=octeon -mabi=64"
24 makeoptions LDSCRIPT_NAME=ldscript.mips.octeon1
26 # Don't build any modules yet.
27 makeoptions MODULES_OVERRIDE=""
28 makeoptions KERNLOADADDR=0xffffffff80100000
30 include "../cavium/std.octeon1"
32 hints "OCTEON1.hints" #Default places to look for devices.
34 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
36 # Board-specific support that cannot be auto-detected at runtime.
37 #options OCTEON_VENDOR_LANNER # Support for Lanner boards.
38 #options OCTEON_BOARD_CAPK_0100ND # Support for CAPK-0100nd.
40 # XXX This option is very nearly irrelevant.
43 options SCHED_ULE # ULE scheduler
44 options PREEMPTION # Enable kernel thread preemption
45 options INET # InterNETworking
46 options INET6 # IPv6 communications protocols
47 options SCTP # Stream Control Transmission Protocol
48 options FFS # Berkeley Fast Filesystem
49 options SOFTUPDATES # Enable FFS soft updates support
50 options UFS_ACL # Support for access control lists
51 options UFS_DIRHASH # Improve performance on big directories
52 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
53 options MD_ROOT # MD is a potential root device
54 options NFSCL # Network Filesystem Client
55 options NFSD # Network Filesystem Server
56 options NFSLOCKD # Network Lock Manager
57 options NFS_ROOT # NFS usable as /, requires NFSCL
58 options MSDOSFS # MSDOS Filesystem
59 options CD9660 # ISO 9660 Filesystem
60 options PROCFS # Process filesystem (requires PSEUDOFS)
61 options PSEUDOFS # Pseudo-filesystem framework
62 options GEOM_PART_GPT # GUID Partition Tables.
63 options GEOM_LABEL # Provides labelization
64 #options COMPAT_FREEBSD32 # Compatible with o32 binaries (not yet)
65 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
66 options KTRACE # ktrace(1) support
67 options STACK # stack(9) support
68 options SYSVSHM # SYSV-style shared memory
69 options SYSVMSG # SYSV-style message queues
70 options SYSVSEM # SYSV-style semaphores
71 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
72 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
73 options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
74 options AUDIT # Security event auditing
75 options MAC # TrustedBSD MAC Framework
76 #options KDTRACE_FRAME # Ensure frames are compiled in
77 #options KDTRACE_HOOKS # Kernel DTrace hooks
78 options INCLUDE_CONFIG_FILE # Include this file in kernel
79 options NO_SWAPPING # Disable support for paging
81 # Debugging for use in -current
82 options KDB # Enable kernel debugger support.
83 options DDB # Support DDB.
84 options GDB # Support remote GDB.
85 options DEADLKRES # Enable the deadlock resolver
86 options INVARIANTS # Enable calls of extra sanity checking
87 options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
88 options WITNESS # Enable checks to detect deadlocks and cycles
89 options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
90 options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
92 # Make an SMP-capable kernel by default
93 options SMP # Symmetric MultiProcessor Kernel
99 device ahci # AHCI-compatible SATA controllers
100 device ata # Legacy ATA/SATA controllers
101 options ATA_CAM # Handle legacy controllers with CAM
102 options ATA_STATIC_ID # Static device numbering
103 device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
104 device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
106 # On-board Compact Flash driver.
108 options ROOTDEVNAME=\"ufs:cf0s2a\" # Default root filesystem.
111 device ahc # AHA2940 and onboard AIC7xxx devices
112 options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
113 # output. Adds ~128k to driver.
114 device ahd # AHA39320/29320 and onboard AIC79xx devices
115 options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
116 # output. Adds ~215k to driver.
117 device esp # AMD Am53C974 (Tekram DC-390(T))
118 device hptiop # Highpoint RocketRaid 3xxx series
119 device isp # Qlogic family
120 #device ispfw # Firmware for QLogic HBAs- normally a module
121 device mpt # LSI-Logic MPT-Fusion
122 device mps # LSI-Logic MPT-Fusion 2
123 device mpr # LSI-Logic MPT-Fusion 3
124 #device ncr # NCR/Symbios Logic
125 device trm # Tekram DC395U/UW/F DC315U adapters
127 device adv # Advansys SCSI adapters
128 device adw # Advansys wide SCSI adapters
129 device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
130 device bt # Buslogic/Mylex MultiMaster SCSI adapters
132 # ATA/SCSI peripherals
133 device scbus # SCSI bus (required for ATA/SCSI)
134 device ch # SCSI media changers
135 device da # Direct Access (disks)
136 device sa # Sequential Access (tape etc)
138 device pass # Passthrough device (direct ATA/SCSI access)
139 device ses # SCSI Environmental Services (and SAF-TE)
141 # RAID controllers interfaced to the SCSI subsystem
142 device amr # AMI MegaRAID
143 #XXX it is not 64-bit clean, -scottl
144 #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
145 device ciss # Compaq Smart RAID 5*
146 device dpt # DPT Smartcache III, IV - See NOTES for options
147 device iir # Intel Integrated RAID
148 device ips # IBM (Adaptec) ServeRAID
149 device mly # Mylex AcceleRAID/eXtremeRAID
152 device aac # Adaptec FSA RAID
153 device aacp # SCSI passthrough for aac (requires CAM)
154 device ida # Compaq Smart RAID
155 device mfi # LSI MegaRAID SAS
156 device mlx # Mylex DAC960 family
157 #XXX pointer/int warnings
158 #device pst # Promise Supertrak SX6000
159 device twe # 3ware ATA RAID
161 # PCCARD (PCMCIA) support
162 # PCMCIA and cardbus bridge support
163 device cbb # cardbus (yenta) bridge
164 device pccard # PC Card (16-bit) bus
165 device cardbus # CardBus (32-bit) bus
168 device uart # Generic UART driver
170 # If you've got a "dumb" serial or parallel PCI card that is
171 # supported by the puc(4) glue driver, uncomment the following
172 # line to enable it (connects to sio, uart and/or ppc drivers):
175 # On-board Cavium Octeon Ethernet.
176 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
179 # Cavium Octeon management Ethernet.
182 # Switch PHY support for the octe driver. These currently present a VLAN per
183 # physical port, but may eventually provide support for DSA or similar instead.
184 #device mv88e61xxphy # Marvell 88E61XX
187 device de # DEC/Intel DC21x4x (``Tulip'')
188 device em # Intel PRO/1000 Gigabit Ethernet Family
189 device igb # Intel PRO/1000 PCIE Server Gigabit Family
190 device ixgbe # Intel PRO/10GbE PCIE Ethernet Family
191 device le # AMD Am7900 LANCE and Am79C9xx PCnet
192 device ti # Alteon Networks Tigon I/II gigabit Ethernet
193 device txp # 3Com 3cR990 (``Typhoon'')
194 device vx # 3Com 3c590, 3c595 (``Vortex'')
196 # PCI Ethernet NICs that use the common MII bus controller code.
197 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
198 device miibus # MII bus support
199 device ae # Attansic/Atheros L2 FastEthernet
200 device age # Attansic/Atheros L1 Gigabit Ethernet
201 device alc # Atheros AR8131/AR8132 Ethernet
202 device ale # Atheros AR8121/AR8113/AR8114 Ethernet
203 device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
204 device bfe # Broadcom BCM440x 10/100 Ethernet
205 device bge # Broadcom BCM570xx Gigabit Ethernet
206 device dc # DEC/Intel 21143 and various workalikes
207 device et # Agere ET1310 10/100/Gigabit Ethernet
208 device fxp # Intel EtherExpress PRO/100B (82557, 82558)
209 device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
210 device lge # Level 1 LXT1001 gigabit Ethernet
211 device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
212 device nge # NatSemi DP83820 gigabit Ethernet
213 #device nve # nVidia nForce MCP on-board Ethernet Networking
214 device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')
215 device re # RealTek 8139C+/8169/8169S/8110S
216 device rl # RealTek 8129/8139
217 device sf # Adaptec AIC-6915 (``Starfire'')
218 device sge # Silicon Integrated Systems SiS190/191
219 device sis # Silicon Integrated Systems SiS 900/SiS 7016
220 device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
221 device ste # Sundance ST201 (D-Link DFE-550TX)
222 device stge # Sundance/Tamarack TC9021 gigabit Ethernet
223 device tl # Texas Instruments ThunderLAN
224 device tx # SMC EtherPower II (83c170 ``EPIC'')
225 device vge # VIA VT612x gigabit Ethernet
226 device vr # VIA Rhine, Rhine II
227 device wb # Winbond W89C840F
228 device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
231 device wlan # 802.11 support
232 options IEEE80211_DEBUG # enable debug msgs
233 options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
234 options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
235 device wlan_wep # 802.11 WEP support
236 device wlan_ccmp # 802.11 CCMP support
237 device wlan_tkip # 802.11 TKIP support
238 device wlan_amrr # AMRR transmit rate control algorithm
239 device an # Aironet 4500/4800 802.11 wireless NICs.
240 device ath # Atheros NIC's
241 device ath_hal # pci/cardbus chip support
242 options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
243 device ath_rate_sample # SampleRate tx rate control for ath
244 device ral # Ralink Technology RT2500 wireless NICs.
245 device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
248 device loop # Network loopback
249 device random # Entropy device
250 device ether # Ethernet support
251 device vlan # 802.1Q VLAN support
252 device tun # Packet tunnel.
253 device pty # BSD-style compatibility pseudo ttys
254 device md # Memory "disks"
255 device gif # IPv6 and IPv4 tunneling
256 device faith # IPv6-to-IPv4 relaying (translation)
257 device firmware # firmware assist module
259 # The `bpf' device enables the Berkeley Packet Filter.
260 # Be aware of the administrative consequences of enabling this!
261 # Note that 'bpf' is required for DHCP.
262 device bpf # Berkeley packet filter
265 options USB_DEBUG # enable debug msgs
266 device octusb # Cavium Octeon on-board USB interface (USB 2.0)
267 device uhci # UHCI PCI->USB interface
268 device ohci # OHCI PCI->USB interface
269 device ehci # EHCI PCI->USB interface (USB 2.0)
270 device usb # USB Bus (required)
271 #device udbp # USB Double Bulk Pipe devices
272 device uhid # "Human Interface Devices"
273 device ulpt # Printer
274 device umass # Disks/Mass storage - Requires scbus and da
276 device urio # Diamond Rio 500 MP3 player
278 device u3g # USB-based 3G modems (Option, Huawei, Sierra)
279 device uark # Technologies ARK3116 based serial adapters
280 device ubsa # Belkin F5U103 and compatible serial adapters
281 device uftdi # For FTDI usb serial adapters
282 device uipaq # Some WinCE based devices
283 device uplcom # Prolific PL-2303 serial adapters
284 device uslcom # SI Labs CP2101/CP2102 serial adapters
285 device uvisor # Visor and Palm devices
286 device uvscom # USB serial support for DDI pocket's PHS
287 # USB Ethernet, requires miibus
288 device aue # ADMtek USB Ethernet
289 device axe # ASIX Electronics USB Ethernet
290 device cdce # Generic USB over Ethernet
291 device cue # CATC USB Ethernet
292 device kue # Kawasaki LSI USB Ethernet
293 device rue # RealTek RTL8150 USB Ethernet
294 device udav # Davicom DM9601E USB
296 device rum # Ralink Technology RT2501USB wireless NICs
297 device uath # Atheros AR5523 wireless NICs
298 device ural # Ralink Technology RT2500USB wireless NICs
299 device zyd # ZyDAS zd1211/zd1211b wireless NICs