1194140Simp# 2213340Sjmallett# OCTEON1 -- Generic kernel configuration file for FreeBSD/MIPS on Cavium Octeon 3194140Simp# 4213340Sjmallett# For more information on this file, please read the config(5) manual page, 5213340Sjmallett# and/or the handbook section on Kernel Configuration Files: 6213340Sjmallett# 7194140Simp# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8194140Simp# 9194140Simp# The handbook is also available locally in /usr/share/doc/handbook 10194140Simp# if you've installed the doc distribution, otherwise always see the 11194140Simp# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12194140Simp# latest information. 13194140Simp# 14194140Simp# An exhaustive list of options and more detailed explanations of the 15213340Sjmallett# device lines is also present in the ../../conf/NOTES and NOTES files. 16213340Sjmallett# If you are in doubt as to the purpose or necessity of a line, check first 17194140Simp# in NOTES. 18194140Simp# 19194140Simp# $FreeBSD$ 20194140Simp 21194143Simpident OCTEON1 22194140Simp 23210311Sjmallettmakeoptions ARCH_FLAGS="-march=octeon -mabi=64" 24217653Simpmakeoptions LDSCRIPT_NAME=ldscript.mips.octeon1 25194140Simp 26194140Simp# Don't build any modules yet. 27194140Simpmakeoptions MODULES_OVERRIDE="" 28199751Simpmakeoptions KERNLOADADDR=0xffffffff80100000 29194140Simp 30232913Sjmallett# We don't need to build a trampolined version of the kernel. 31232913Sjmallettmakeoptions WITHOUT_KERNEL_TRAMPOLINE=1 32232913Sjmallett 33202065Simpinclude "../cavium/std.octeon1" 34194140Simp 35194143Simphints "OCTEON1.hints" #Default places to look for devices. 36194140Simp 37194140Simpmakeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 38194140Simp 39213340Sjmallett# Board-specific support that cannot be auto-detected at runtime. 40213340Sjmallett#options OCTEON_VENDOR_LANNER # Support for Lanner boards. 41242104Sjmallett#options OCTEON_VENDOR_RADISYS # Support for Radisys boards. 42244984Sjmallett#options OCTEON_VENDOR_UBIQUITI # Support for Ubiquiti boards. 43250429Simp#options OCTEON_VENDOR_GEFES # Support for GE LANIC boards 44213340Sjmallett#options OCTEON_BOARD_CAPK_0100ND # Support for CAPK-0100nd. 45213340Sjmallett 46243469Sjmallett# Compile for a specified Octeon model. If not specified, support for 47243469Sjmallett# detection at runtime will be used instead, which may give inferior 48243469Sjmallett# performance. 49243469Sjmallett# 50243469Sjmallett# See sys/contrib/octeon-sdk/octeon-model.h for possible values. 51243469Sjmallett#options OCTEON_MODEL=OCTEON_CN58XX_PASS1_1 52243469Sjmallett 53213340Sjmallettoptions SCHED_ULE # ULE scheduler 54213340Sjmallettoptions PREEMPTION # Enable kernel thread preemption 55213340Sjmallettoptions INET # InterNETworking 56213340Sjmallettoptions INET6 # IPv6 communications protocols 57213340Sjmallettoptions SCTP # Stream Control Transmission Protocol 58213340Sjmallettoptions FFS # Berkeley Fast Filesystem 59213340Sjmallettoptions SOFTUPDATES # Enable FFS soft updates support 60213340Sjmallettoptions UFS_ACL # Support for access control lists 61213340Sjmallettoptions UFS_DIRHASH # Improve performance on big directories 62213340Sjmallettoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling 63213340Sjmallettoptions MD_ROOT # MD is a potential root device 64221753Sgonzooptions NFSCL # Network Filesystem Client 65221753Sgonzooptions NFSD # Network Filesystem Server 66213340Sjmallettoptions NFSLOCKD # Network Lock Manager 67221753Sgonzooptions NFS_ROOT # NFS usable as /, requires NFSCL 68213340Sjmallettoptions MSDOSFS # MSDOS Filesystem 69213340Sjmallettoptions CD9660 # ISO 9660 Filesystem 70213340Sjmallettoptions PROCFS # Process filesystem (requires PSEUDOFS) 71213340Sjmallettoptions PSEUDOFS # Pseudo-filesystem framework 72213340Sjmallettoptions GEOM_PART_GPT # GUID Partition Tables. 73213340Sjmallettoptions GEOM_LABEL # Provides labelization 74232720Sjmallettoptions COMPAT_FREEBSD32 # Compatible with o32 binaries 75213340Sjmallettoptions SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 76213340Sjmallettoptions KTRACE # ktrace(1) support 77213340Sjmallettoptions STACK # stack(9) support 78213340Sjmallettoptions SYSVSHM # SYSV-style shared memory 79213340Sjmallettoptions SYSVMSG # SYSV-style message queues 80213340Sjmallettoptions SYSVSEM # SYSV-style semaphores 81213340Sjmallettoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 82213340Sjmallettoptions PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 83213340Sjmallettoptions HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 84213340Sjmallettoptions AUDIT # Security event auditing 85213340Sjmallettoptions MAC # TrustedBSD MAC Framework 86213340Sjmallett#options KDTRACE_FRAME # Ensure frames are compiled in 87213340Sjmallett#options KDTRACE_HOOKS # Kernel DTrace hooks 88213340Sjmallettoptions INCLUDE_CONFIG_FILE # Include this file in kernel 89213340Sjmallettoptions NO_SWAPPING # Disable support for paging 90194140Simp 91213340Sjmallett# Debugging for use in -current 92213340Sjmallettoptions KDB # Enable kernel debugger support. 93213340Sjmallettoptions DDB # Support DDB. 94213340Sjmallettoptions GDB # Support remote GDB. 95213340Sjmallettoptions DEADLKRES # Enable the deadlock resolver 96213340Sjmallettoptions INVARIANTS # Enable calls of extra sanity checking 97213340Sjmallettoptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 98213340Sjmallettoptions WITNESS # Enable checks to detect deadlocks and cycles 99213340Sjmallettoptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 100213340Sjmallettoptions MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 101194140Simp 102213340Sjmallett# Make an SMP-capable kernel by default 103213340Sjmallettoptions SMP # Symmetric MultiProcessor Kernel 104194140Simp 105213340Sjmallett# Bus support. 106213340Sjmallettdevice pci 107194140Simp 108220982Smav# ATA controllers 109220982Smavdevice ahci # AHCI-compatible SATA controllers 110220982Smavdevice ata # Legacy ATA/SATA controllers 111221071Smavoptions ATA_STATIC_ID # Static device numbering 112220982Smavdevice mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA 113220982Smavdevice siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA 114194140Simp 115213340Sjmallett# On-board Compact Flash driver. 116213340Sjmallettdevice cf 117213340Sjmallettoptions ROOTDEVNAME=\"ufs:cf0s2a\" # Default root filesystem. 118194140Simp 119213340Sjmallett# SCSI Controllers 120213340Sjmallettdevice ahc # AHA2940 and onboard AIC7xxx devices 121213340Sjmallettoptions AHC_REG_PRETTY_PRINT # Print register bitfields in debug 122213340Sjmallett # output. Adds ~128k to driver. 123213340Sjmallettdevice ahd # AHA39320/29320 and onboard AIC79xx devices 124213340Sjmallettoptions AHD_REG_PRETTY_PRINT # Print register bitfields in debug 125213340Sjmallett # output. Adds ~215k to driver. 126228005Smariusdevice esp # AMD Am53C974 (Tekram DC-390(T)) 127213340Sjmallettdevice hptiop # Highpoint RocketRaid 3xxx series 128213340Sjmallettdevice isp # Qlogic family 129213340Sjmallett#device ispfw # Firmware for QLogic HBAs- normally a module 130213340Sjmallettdevice mpt # LSI-Logic MPT-Fusion 131213340Sjmallettdevice mps # LSI-Logic MPT-Fusion 2 132265388Skendevice mpr # LSI-Logic MPT-Fusion 3 133213340Sjmallett#device ncr # NCR/Symbios Logic 134213340Sjmallettdevice trm # Tekram DC395U/UW/F DC315U adapters 135210311Sjmallett 136213340Sjmallettdevice adv # Advansys SCSI adapters 137213340Sjmallettdevice adw # Advansys wide SCSI adapters 138213340Sjmallettdevice aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. 139213340Sjmallettdevice bt # Buslogic/Mylex MultiMaster SCSI adapters 140210311Sjmallett 141220982Smav# ATA/SCSI peripherals 142220982Smavdevice scbus # SCSI bus (required for ATA/SCSI) 143213340Sjmallettdevice ch # SCSI media changers 144213340Sjmallettdevice da # Direct Access (disks) 145213340Sjmallettdevice sa # Sequential Access (tape etc) 146213340Sjmallettdevice cd # CD 147220982Smavdevice pass # Passthrough device (direct ATA/SCSI access) 148235898Smavdevice ses # Enclosure Services (SES and SAF-TE) 149194140Simp 150213340Sjmallett# RAID controllers interfaced to the SCSI subsystem 151213340Sjmallettdevice amr # AMI MegaRAID 152213340Sjmallett#XXX it is not 64-bit clean, -scottl 153213340Sjmallett#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID 154213340Sjmallettdevice ciss # Compaq Smart RAID 5* 155213340Sjmallettdevice dpt # DPT Smartcache III, IV - See NOTES for options 156213340Sjmallettdevice iir # Intel Integrated RAID 157213340Sjmallettdevice ips # IBM (Adaptec) ServeRAID 158213340Sjmallettdevice mly # Mylex AcceleRAID/eXtremeRAID 159194140Simp 160213340Sjmallett# RAID controllers 161213340Sjmallettdevice aac # Adaptec FSA RAID 162213340Sjmallettdevice aacp # SCSI passthrough for aac (requires CAM) 163213340Sjmallettdevice ida # Compaq Smart RAID 164213340Sjmallettdevice mfi # LSI MegaRAID SAS 165213340Sjmallettdevice mlx # Mylex DAC960 family 166213340Sjmallett#XXX pointer/int warnings 167213340Sjmallett#device pst # Promise Supertrak SX6000 168213340Sjmallettdevice twe # 3ware ATA RAID 169194140Simp 170213340Sjmallett# PCCARD (PCMCIA) support 171213340Sjmallett# PCMCIA and cardbus bridge support 172213340Sjmallettdevice cbb # cardbus (yenta) bridge 173213340Sjmallettdevice pccard # PC Card (16-bit) bus 174213340Sjmallettdevice cardbus # CardBus (32-bit) bus 175194140Simp 176213340Sjmallett# Serial (COM) ports 177213340Sjmallettdevice uart # Generic UART driver 178213340Sjmallett 179213340Sjmallett# If you've got a "dumb" serial or parallel PCI card that is 180213340Sjmallett# supported by the puc(4) glue driver, uncomment the following 181213340Sjmallett# line to enable it (connects to sio, uart and/or ppc drivers): 182213340Sjmallett#device puc 183213340Sjmallett 184213340Sjmallett# On-board Cavium Octeon Ethernet. 185213340Sjmallett# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 186213340Sjmallettdevice octe 187213340Sjmallett 188217214Sjmallett# Cavium Octeon management Ethernet. 189217214Sjmallettdevice octm 190217214Sjmallett 191213762Sjmallett# Switch PHY support for the octe driver. These currently present a VLAN per 192213762Sjmallett# physical port, but may eventually provide support for DSA or similar instead. 193213762Sjmallett#device mv88e61xxphy # Marvell 88E61XX 194213762Sjmallett 195213340Sjmallett# PCI Ethernet NICs. 196213340Sjmallettdevice de # DEC/Intel DC21x4x (``Tulip'') 197213340Sjmallettdevice em # Intel PRO/1000 Gigabit Ethernet Family 198213340Sjmallettdevice igb # Intel PRO/1000 PCIE Server Gigabit Family 199213340Sjmallettdevice ixgbe # Intel PRO/10GbE PCIE Ethernet Family 200213340Sjmallettdevice le # AMD Am7900 LANCE and Am79C9xx PCnet 201213340Sjmallettdevice ti # Alteon Networks Tigon I/II gigabit Ethernet 202213340Sjmallettdevice txp # 3Com 3cR990 (``Typhoon'') 203213340Sjmallettdevice vx # 3Com 3c590, 3c595 (``Vortex'') 204213340Sjmallett 205213340Sjmallett# PCI Ethernet NICs that use the common MII bus controller code. 206213340Sjmallett# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 207213340Sjmallettdevice miibus # MII bus support 208213340Sjmallettdevice ae # Attansic/Atheros L2 FastEthernet 209213340Sjmallettdevice age # Attansic/Atheros L1 Gigabit Ethernet 210213340Sjmallettdevice alc # Atheros AR8131/AR8132 Ethernet 211213340Sjmallettdevice ale # Atheros AR8121/AR8113/AR8114 Ethernet 212213340Sjmallettdevice bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 213213340Sjmallettdevice bfe # Broadcom BCM440x 10/100 Ethernet 214213340Sjmallettdevice bge # Broadcom BCM570xx Gigabit Ethernet 215213340Sjmallettdevice dc # DEC/Intel 21143 and various workalikes 216213340Sjmallettdevice et # Agere ET1310 10/100/Gigabit Ethernet 217213340Sjmallettdevice fxp # Intel EtherExpress PRO/100B (82557, 82558) 218213340Sjmallettdevice jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 219213340Sjmallettdevice lge # Level 1 LXT1001 gigabit Ethernet 220213340Sjmallettdevice msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 221213340Sjmallettdevice nge # NatSemi DP83820 gigabit Ethernet 222213340Sjmallett#device nve # nVidia nForce MCP on-board Ethernet Networking 223213340Sjmallettdevice pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') 224213340Sjmallettdevice re # RealTek 8139C+/8169/8169S/8110S 225213340Sjmallettdevice rl # RealTek 8129/8139 226213340Sjmallettdevice sf # Adaptec AIC-6915 (``Starfire'') 227213340Sjmallettdevice sge # Silicon Integrated Systems SiS190/191 228213340Sjmallettdevice sis # Silicon Integrated Systems SiS 900/SiS 7016 229213340Sjmallettdevice sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 230213340Sjmallettdevice ste # Sundance ST201 (D-Link DFE-550TX) 231213340Sjmallettdevice stge # Sundance/Tamarack TC9021 gigabit Ethernet 232213340Sjmallettdevice tl # Texas Instruments ThunderLAN 233213340Sjmallettdevice tx # SMC EtherPower II (83c170 ``EPIC'') 234213340Sjmallettdevice vge # VIA VT612x gigabit Ethernet 235213340Sjmallettdevice vr # VIA Rhine, Rhine II 236213340Sjmallettdevice wb # Winbond W89C840F 237213340Sjmallettdevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 238213340Sjmallett 239213340Sjmallett# Wireless NIC cards 240213340Sjmallettdevice wlan # 802.11 support 241213340Sjmallettoptions IEEE80211_DEBUG # enable debug msgs 242213340Sjmallettoptions IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's 243213340Sjmallettoptions IEEE80211_SUPPORT_MESH # enable 802.11s draft support 244213340Sjmallettdevice wlan_wep # 802.11 WEP support 245213340Sjmallettdevice wlan_ccmp # 802.11 CCMP support 246213340Sjmallettdevice wlan_tkip # 802.11 TKIP support 247213340Sjmallettdevice wlan_amrr # AMRR transmit rate control algorithm 248213340Sjmallettdevice an # Aironet 4500/4800 802.11 wireless NICs. 249220185Sadriandevice ath # Atheros NIC's 250232409Sjmallettdevice ath_pci # Atheros pci/cardbus glue 251213340Sjmallettdevice ath_hal # pci/cardbus chip support 252213340Sjmallettoptions AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 253213340Sjmallettdevice ath_rate_sample # SampleRate tx rate control for ath 254213340Sjmallettdevice ral # Ralink Technology RT2500 wireless NICs. 255213340Sjmallettdevice wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. 256213340Sjmallett 257213340Sjmallett# Pseudo devices. 258213340Sjmallettdevice loop # Network loopback 259213340Sjmallettdevice random # Entropy device 260213340Sjmallettdevice ether # Ethernet support 261213340Sjmallettdevice vlan # 802.1Q VLAN support 262213340Sjmallettdevice tun # Packet tunnel. 263213340Sjmallettdevice md # Memory "disks" 264213340Sjmallettdevice gif # IPv6 and IPv4 tunneling 265213340Sjmallettdevice faith # IPv6-to-IPv4 relaying (translation) 266213340Sjmallettdevice firmware # firmware assist module 267213340Sjmallett 268213340Sjmallett# The `bpf' device enables the Berkeley Packet Filter. 269213340Sjmallett# Be aware of the administrative consequences of enabling this! 270213340Sjmallett# Note that 'bpf' is required for DHCP. 271213340Sjmallettdevice bpf # Berkeley packet filter 272213340Sjmallett 273242953Sjmallett# Hardware watchdog support. 274242953Sjmallett#device octeon_wdog # Octeon hardware watchdog 275242953Sjmallett 276213340Sjmallett# USB support 277213340Sjmallettoptions USB_DEBUG # enable debug msgs 278213340Sjmallettdevice octusb # Cavium Octeon on-board USB interface (USB 2.0) 279213340Sjmallettdevice uhci # UHCI PCI->USB interface 280213340Sjmallettdevice ohci # OHCI PCI->USB interface 281213340Sjmallettdevice ehci # EHCI PCI->USB interface (USB 2.0) 282213340Sjmallettdevice usb # USB Bus (required) 283213340Sjmallett#device udbp # USB Double Bulk Pipe devices 284213340Sjmallettdevice uhid # "Human Interface Devices" 285213340Sjmallettdevice ulpt # Printer 286213340Sjmallettdevice umass # Disks/Mass storage - Requires scbus and da 287213340Sjmallettdevice ums # Mouse 288213340Sjmallettdevice urio # Diamond Rio 500 MP3 player 289213340Sjmallett# USB Serial devices 290213340Sjmallettdevice u3g # USB-based 3G modems (Option, Huawei, Sierra) 291213340Sjmallettdevice uark # Technologies ARK3116 based serial adapters 292213340Sjmallettdevice ubsa # Belkin F5U103 and compatible serial adapters 293213340Sjmallettdevice uftdi # For FTDI usb serial adapters 294213340Sjmallettdevice uipaq # Some WinCE based devices 295213340Sjmallettdevice uplcom # Prolific PL-2303 serial adapters 296213340Sjmallettdevice uslcom # SI Labs CP2101/CP2102 serial adapters 297213340Sjmallettdevice uvisor # Visor and Palm devices 298213340Sjmallettdevice uvscom # USB serial support for DDI pocket's PHS 299213340Sjmallett# USB Ethernet, requires miibus 300213340Sjmallettdevice aue # ADMtek USB Ethernet 301213340Sjmallettdevice axe # ASIX Electronics USB Ethernet 302213340Sjmallettdevice cdce # Generic USB over Ethernet 303213340Sjmallettdevice cue # CATC USB Ethernet 304213340Sjmallettdevice kue # Kawasaki LSI USB Ethernet 305213340Sjmallettdevice rue # RealTek RTL8150 USB Ethernet 306213340Sjmallettdevice udav # Davicom DM9601E USB 307213340Sjmallett# USB Wireless 308213340Sjmallettdevice rum # Ralink Technology RT2501USB wireless NICs 309213340Sjmallettdevice uath # Atheros AR5523 wireless NICs 310213340Sjmallettdevice ural # Ralink Technology RT2500USB wireless NICs 311225482Sbruefferdevice zyd # ZyDAS zd1211/zd1211b wireless NICs 312242953Sjmallett 313242953Sjmallett# crypto subsystem 314242953Sjmallettdevice crypto # core crypto support 315242953Sjmallettdevice cryptodev # /dev/crypto for access to h/w 316242953Sjmallettdevice cryptocteon # Octeon coprocessor 2 crypto offload 317242953Sjmallett 318242953Sjmallett# GPIO support 319242953Sjmallett#device gpio 320242953Sjmallett 321242953Sjmallett# PMC support 322242953Sjmallett#device hwpmc 323