1# 2# OCTEON1 -- Generic kernel configuration file for FreeBSD/MIPS on Cavium Octeon 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8# 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 (https://www.FreeBSD.org/) for the 12# latest information. 13# 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 17# in NOTES. 18# 19# $FreeBSD$ 20 21ident OCTEON1 22 23makeoptions ARCH_FLAGS="-march=octeon+" 24makeoptions LDSCRIPT_NAME=ldscript.mips.octeon1 25 26# Don't build any modules yet. 27makeoptions MODULES_OVERRIDE="" 28makeoptions KERNLOADADDR=0xffffffff80100000 29 30# We don't need to build a trampolined version of the kernel. 31makeoptions WITHOUT_KERNEL_TRAMPOLINE=1 32 33include "../cavium/std.octeon1" 34 35hints "OCTEON1.hints" #Default places to look for devices. 36 37makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 38 39# Board-specific support that cannot be auto-detected at runtime. 40#options OCTEON_VENDOR_LANNER # Support for Lanner boards. 41#options OCTEON_VENDOR_RADISYS # Support for Radisys boards. 42#options OCTEON_VENDOR_UBIQUITI # Support for Ubiquiti boards. 43#options OCTEON_VENDOR_GEFES # Support for GE LANIC boards 44#options OCTEON_BOARD_CAPK_0100ND # Support for CAPK-0100nd. 45 46# Compile for a specified Octeon model. If not specified, support for 47# detection at runtime will be used instead, which may give inferior 48# performance. 49# 50# See sys/contrib/octeon-sdk/octeon-model.h for possible values. 51#options OCTEON_MODEL=OCTEON_CN58XX_PASS1_1 52 53options SCHED_ULE # ULE scheduler 54options PREEMPTION # Enable kernel thread preemption 55options INET # InterNETworking 56options INET6 # IPv6 communications protocols 57options TCP_HHOOK # hhook(9) framework for TCP 58options SCTP_SUPPORT # Allow kldload of SCTP 59options FFS # Berkeley Fast Filesystem 60options SOFTUPDATES # Enable FFS soft updates support 61options UFS_ACL # Support for access control lists 62options UFS_DIRHASH # Improve performance on big directories 63options UFS_GJOURNAL # Enable gjournal-based UFS journaling 64options MD_ROOT # MD is a potential root device 65options NFSCL # Network Filesystem Client 66options NFSD # Network Filesystem Server 67options NFSLOCKD # Network Lock Manager 68options NFS_ROOT # NFS usable as /, requires NFSCL 69options MSDOSFS # MSDOS Filesystem 70options CD9660 # ISO 9660 Filesystem 71options PROCFS # Process filesystem (requires PSEUDOFS) 72options PSEUDOFS # Pseudo-filesystem framework 73options GEOM_PART_GPT # GUID Partition Tables. 74options GEOM_LABEL # Provides labelization 75options COMPAT_FREEBSD32 # Compatible with o32 binaries 76options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 77options KTRACE # ktrace(1) support 78options STACK # stack(9) support 79options SYSVSHM # SYSV-style shared memory 80options SYSVMSG # SYSV-style message queues 81options SYSVSEM # SYSV-style semaphores 82options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 83options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 84options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 85options AUDIT # Security event auditing 86options MAC # TrustedBSD MAC Framework 87#options KDTRACE_FRAME # Ensure frames are compiled in 88#options KDTRACE_HOOKS # Kernel DTrace hooks 89options INCLUDE_CONFIG_FILE # Include this file in kernel 90options NO_SWAPPING # Disable support for paging 91 92# Debugging for use in -current 93options KDB # Enable kernel debugger support. 94options DDB # Support DDB. 95options GDB # Support remote GDB. 96options DEADLKRES # Enable the deadlock resolver 97options INVARIANTS # Enable calls of extra sanity checking 98options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 99options WITNESS # Enable checks to detect deadlocks and cycles 100options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 101options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 102 103# Make an SMP-capable kernel by default 104options SMP # Symmetric MultiProcessor Kernel 105 106# Bus support. 107device pci 108 109# ATA controllers 110device ahci # AHCI-compatible SATA controllers 111device ata # Legacy ATA/SATA controllers 112 113# On-board Compact Flash driver. 114device cf 115options ROOTDEVNAME=\"ufs:cf0s2a\" # Default root filesystem. 116 117# SCSI Controllers 118device ahc # AHA2940 and onboard AIC7xxx devices 119device mpt # LSI-Logic MPT-Fusion 120 121# ATA/SCSI peripherals 122device scbus # SCSI bus (required for ATA/SCSI) 123device ch # SCSI media changers 124device da # Direct Access (disks) 125device sa # Sequential Access (tape etc) 126device cd # CD 127device pass # Passthrough device (direct ATA/SCSI access) 128device ses # Enclosure Services (SES and SAF-TE) 129 130# RAID controllers interfaced to the SCSI subsystem 131device ciss # Compaq Smart RAID 5* 132 133# PCCARD (PCMCIA) support 134# PCMCIA and cardbus bridge support 135device cbb # cardbus (yenta) bridge 136device pccard # PC Card (16-bit) bus 137device cardbus # CardBus (32-bit) bus 138 139# Serial (COM) ports 140device uart # Generic UART driver 141 142# If you've got a "dumb" serial or parallel PCI card that is 143# supported by the puc(4) glue driver, uncomment the following 144# line to enable it (connects to sio, uart and/or ppc drivers): 145#device puc 146 147# On-board Cavium Octeon Ethernet. 148# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 149device octe 150 151# Cavium Octeon management Ethernet. 152device octm 153 154# Switch PHY support for the octe driver. These currently present a VLAN per 155# physical port, but may eventually provide support for DSA or similar instead. 156#device mv88e61xxphy # Marvell 88E61XX 157 158device iflib 159 160# PCI Ethernet NICs. 161device em # Intel PRO/1000 Gigabit Ethernet Family 162device ix # Intel PRO/10GbE PF PCIE Ethernet Family 163device ixv # Intel PRO/10GbE VF PCIE Ethernet Family 164 165# PCI Ethernet NICs that use the common MII bus controller code. 166# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 167device miibus # MII bus support 168device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 169device bfe # Broadcom BCM440x 10/100 Ethernet 170device bge # Broadcom BCM570xx Gigabit Ethernet 171 172device wlan # 802.11 support 173options IEEE80211_DEBUG # enable debug msgs 174options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 175device wlan_wep # 802.11 WEP support 176device wlan_ccmp # 802.11 CCMP support 177device wlan_tkip # 802.11 TKIP support 178device wlan_amrr # AMRR transmit rate control algorithm 179device ath # Atheros NIC's 180device ath_pci # Atheros pci/cardbus glue 181device ath_hal # pci/cardbus chip support 182device ath_rate_sample # SampleRate tx rate control for ath 183device ral # Ralink Technology RT2500 wireless NICs. 184 185# Pseudo devices. 186device loop # Network loopback 187device ether # Ethernet support 188device vlan # 802.1Q VLAN support 189device tuntap # Packet tunnel. 190device md # Memory "disks" 191device gif # IPv6 and IPv4 tunneling 192device firmware # firmware assist module 193 194# The `bpf' device enables the Berkeley Packet Filter. 195# Be aware of the administrative consequences of enabling this! 196# Note that 'bpf' is required for DHCP. 197device bpf # Berkeley packet filter 198 199# Hardware watchdog support. 200#device octeon_wdog # Octeon hardware watchdog 201 202# USB support 203options USB_DEBUG # enable debug msgs 204device octusb # Cavium Octeon on-board USB interface (USB 2.0) 205device uhci # UHCI PCI->USB interface 206device ohci # OHCI PCI->USB interface 207device ehci # EHCI PCI->USB interface (USB 2.0) 208device usb # USB Bus (required) 209#device udbp # USB Double Bulk Pipe devices 210device uhid # "Human Interface Devices" 211device ulpt # Printer 212device umass # Disks/Mass storage - Requires scbus and da 213device ums # Mouse 214# USB Serial devices 215device u3g # USB-based 3G modems (Option, Huawei, Sierra) 216device uark # Technologies ARK3116 based serial adapters 217device ubsa # Belkin F5U103 and compatible serial adapters 218device uftdi # For FTDI usb serial adapters 219device uipaq # Some WinCE based devices 220device uplcom # Prolific PL-2303 serial adapters 221device uslcom # SI Labs CP2101/CP2102 serial adapters 222device uvisor # Visor and Palm devices 223device uvscom # USB serial support for DDI pocket's PHS 224# USB Wireless 225device rum # Ralink Technology RT2501USB wireless NICs 226device uath # Atheros AR5523 wireless NICs 227device ural # Ralink Technology RT2500USB wireless NICs 228device zyd # ZyDAS zd1211/zd1211b wireless NICs 229 230# crypto subsystem 231device crypto # core crypto support 232device cryptodev # /dev/crypto for access to h/w 233device cryptocteon # Octeon coprocessor 2 crypto offload 234 235# GPIO support 236#device gpio 237 238# PMC support 239#device hwpmc 240 241# HID support 242options HID_DEBUG # enable debug msgs 243device hid # Generic HID support 244