OCTEON1 revision 265388
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# http://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 (http://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: stable/10/sys/mips/conf/OCTEON1 265388 2014-05-05 20:35:35Z ken $ 20 21ident OCTEON1 22 23makeoptions ARCH_FLAGS="-march=octeon -mabi=64" 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 SCTP # Stream Control Transmission Protocol 58options FFS # Berkeley Fast Filesystem 59options SOFTUPDATES # Enable FFS soft updates support 60options UFS_ACL # Support for access control lists 61options UFS_DIRHASH # Improve performance on big directories 62options UFS_GJOURNAL # Enable gjournal-based UFS journaling 63options MD_ROOT # MD is a potential root device 64options NFSCL # Network Filesystem Client 65options NFSD # Network Filesystem Server 66options NFSLOCKD # Network Lock Manager 67options NFS_ROOT # NFS usable as /, requires NFSCL 68options MSDOSFS # MSDOS Filesystem 69options CD9660 # ISO 9660 Filesystem 70options PROCFS # Process filesystem (requires PSEUDOFS) 71options PSEUDOFS # Pseudo-filesystem framework 72options GEOM_PART_GPT # GUID Partition Tables. 73options GEOM_LABEL # Provides labelization 74options COMPAT_FREEBSD32 # Compatible with o32 binaries 75options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 76options KTRACE # ktrace(1) support 77options STACK # stack(9) support 78options SYSVSHM # SYSV-style shared memory 79options SYSVMSG # SYSV-style message queues 80options SYSVSEM # SYSV-style semaphores 81options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 82options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 83options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 84options AUDIT # Security event auditing 85options MAC # TrustedBSD MAC Framework 86#options KDTRACE_FRAME # Ensure frames are compiled in 87#options KDTRACE_HOOKS # Kernel DTrace hooks 88options INCLUDE_CONFIG_FILE # Include this file in kernel 89options NO_SWAPPING # Disable support for paging 90 91# Debugging for use in -current 92options KDB # Enable kernel debugger support. 93options DDB # Support DDB. 94options GDB # Support remote GDB. 95options DEADLKRES # Enable the deadlock resolver 96options INVARIANTS # Enable calls of extra sanity checking 97options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS 98options WITNESS # Enable checks to detect deadlocks and cycles 99options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed 100options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones 101 102# Make an SMP-capable kernel by default 103options SMP # Symmetric MultiProcessor Kernel 104 105# Bus support. 106device pci 107 108# ATA controllers 109device ahci # AHCI-compatible SATA controllers 110device ata # Legacy ATA/SATA controllers 111options ATA_STATIC_ID # Static device numbering 112device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA 113device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA 114 115# On-board Compact Flash driver. 116device cf 117options ROOTDEVNAME=\"ufs:cf0s2a\" # Default root filesystem. 118 119# SCSI Controllers 120device ahc # AHA2940 and onboard AIC7xxx devices 121options AHC_REG_PRETTY_PRINT # Print register bitfields in debug 122 # output. Adds ~128k to driver. 123device ahd # AHA39320/29320 and onboard AIC79xx devices 124options AHD_REG_PRETTY_PRINT # Print register bitfields in debug 125 # output. Adds ~215k to driver. 126device esp # AMD Am53C974 (Tekram DC-390(T)) 127device hptiop # Highpoint RocketRaid 3xxx series 128device isp # Qlogic family 129#device ispfw # Firmware for QLogic HBAs- normally a module 130device mpt # LSI-Logic MPT-Fusion 131device mps # LSI-Logic MPT-Fusion 2 132device mpr # LSI-Logic MPT-Fusion 3 133#device ncr # NCR/Symbios Logic 134device trm # Tekram DC395U/UW/F DC315U adapters 135 136device adv # Advansys SCSI adapters 137device adw # Advansys wide SCSI adapters 138device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. 139device bt # Buslogic/Mylex MultiMaster SCSI adapters 140 141# ATA/SCSI peripherals 142device scbus # SCSI bus (required for ATA/SCSI) 143device ch # SCSI media changers 144device da # Direct Access (disks) 145device sa # Sequential Access (tape etc) 146device cd # CD 147device pass # Passthrough device (direct ATA/SCSI access) 148device ses # Enclosure Services (SES and SAF-TE) 149 150# RAID controllers interfaced to the SCSI subsystem 151device amr # AMI MegaRAID 152#XXX it is not 64-bit clean, -scottl 153#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID 154device ciss # Compaq Smart RAID 5* 155device dpt # DPT Smartcache III, IV - See NOTES for options 156device iir # Intel Integrated RAID 157device ips # IBM (Adaptec) ServeRAID 158device mly # Mylex AcceleRAID/eXtremeRAID 159 160# RAID controllers 161device aac # Adaptec FSA RAID 162device aacp # SCSI passthrough for aac (requires CAM) 163device ida # Compaq Smart RAID 164device mfi # LSI MegaRAID SAS 165device mlx # Mylex DAC960 family 166#XXX pointer/int warnings 167#device pst # Promise Supertrak SX6000 168device twe # 3ware ATA RAID 169 170# PCCARD (PCMCIA) support 171# PCMCIA and cardbus bridge support 172device cbb # cardbus (yenta) bridge 173device pccard # PC Card (16-bit) bus 174device cardbus # CardBus (32-bit) bus 175 176# Serial (COM) ports 177device uart # Generic UART driver 178 179# If you've got a "dumb" serial or parallel PCI card that is 180# supported by the puc(4) glue driver, uncomment the following 181# line to enable it (connects to sio, uart and/or ppc drivers): 182#device puc 183 184# On-board Cavium Octeon Ethernet. 185# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 186device octe 187 188# Cavium Octeon management Ethernet. 189device octm 190 191# Switch PHY support for the octe driver. These currently present a VLAN per 192# physical port, but may eventually provide support for DSA or similar instead. 193#device mv88e61xxphy # Marvell 88E61XX 194 195# PCI Ethernet NICs. 196device de # DEC/Intel DC21x4x (``Tulip'') 197device em # Intel PRO/1000 Gigabit Ethernet Family 198device igb # Intel PRO/1000 PCIE Server Gigabit Family 199device ixgbe # Intel PRO/10GbE PCIE Ethernet Family 200device le # AMD Am7900 LANCE and Am79C9xx PCnet 201device ti # Alteon Networks Tigon I/II gigabit Ethernet 202device txp # 3Com 3cR990 (``Typhoon'') 203device vx # 3Com 3c590, 3c595 (``Vortex'') 204 205# PCI Ethernet NICs that use the common MII bus controller code. 206# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 207device miibus # MII bus support 208device ae # Attansic/Atheros L2 FastEthernet 209device age # Attansic/Atheros L1 Gigabit Ethernet 210device alc # Atheros AR8131/AR8132 Ethernet 211device ale # Atheros AR8121/AR8113/AR8114 Ethernet 212device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 213device bfe # Broadcom BCM440x 10/100 Ethernet 214device bge # Broadcom BCM570xx Gigabit Ethernet 215device dc # DEC/Intel 21143 and various workalikes 216device et # Agere ET1310 10/100/Gigabit Ethernet 217device fxp # Intel EtherExpress PRO/100B (82557, 82558) 218device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 219device lge # Level 1 LXT1001 gigabit Ethernet 220device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 221device nge # NatSemi DP83820 gigabit Ethernet 222#device nve # nVidia nForce MCP on-board Ethernet Networking 223device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') 224device re # RealTek 8139C+/8169/8169S/8110S 225device rl # RealTek 8129/8139 226device sf # Adaptec AIC-6915 (``Starfire'') 227device sge # Silicon Integrated Systems SiS190/191 228device sis # Silicon Integrated Systems SiS 900/SiS 7016 229device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 230device ste # Sundance ST201 (D-Link DFE-550TX) 231device stge # Sundance/Tamarack TC9021 gigabit Ethernet 232device tl # Texas Instruments ThunderLAN 233device tx # SMC EtherPower II (83c170 ``EPIC'') 234device vge # VIA VT612x gigabit Ethernet 235device vr # VIA Rhine, Rhine II 236device wb # Winbond W89C840F 237device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 238 239# Wireless NIC cards 240device wlan # 802.11 support 241options IEEE80211_DEBUG # enable debug msgs 242options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's 243options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 244device wlan_wep # 802.11 WEP support 245device wlan_ccmp # 802.11 CCMP support 246device wlan_tkip # 802.11 TKIP support 247device wlan_amrr # AMRR transmit rate control algorithm 248device an # Aironet 4500/4800 802.11 wireless NICs. 249device ath # Atheros NIC's 250device ath_pci # Atheros pci/cardbus glue 251device ath_hal # pci/cardbus chip support 252options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 253device ath_rate_sample # SampleRate tx rate control for ath 254device ral # Ralink Technology RT2500 wireless NICs. 255device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. 256 257# Pseudo devices. 258device loop # Network loopback 259device random # Entropy device 260device ether # Ethernet support 261device vlan # 802.1Q VLAN support 262device tun # Packet tunnel. 263device md # Memory "disks" 264device gif # IPv6 and IPv4 tunneling 265device faith # IPv6-to-IPv4 relaying (translation) 266device firmware # firmware assist module 267 268# The `bpf' device enables the Berkeley Packet Filter. 269# Be aware of the administrative consequences of enabling this! 270# Note that 'bpf' is required for DHCP. 271device bpf # Berkeley packet filter 272 273# Hardware watchdog support. 274#device octeon_wdog # Octeon hardware watchdog 275 276# USB support 277options USB_DEBUG # enable debug msgs 278device octusb # Cavium Octeon on-board USB interface (USB 2.0) 279device uhci # UHCI PCI->USB interface 280device ohci # OHCI PCI->USB interface 281device ehci # EHCI PCI->USB interface (USB 2.0) 282device usb # USB Bus (required) 283#device udbp # USB Double Bulk Pipe devices 284device uhid # "Human Interface Devices" 285device ulpt # Printer 286device umass # Disks/Mass storage - Requires scbus and da 287device ums # Mouse 288device urio # Diamond Rio 500 MP3 player 289# USB Serial devices 290device u3g # USB-based 3G modems (Option, Huawei, Sierra) 291device uark # Technologies ARK3116 based serial adapters 292device ubsa # Belkin F5U103 and compatible serial adapters 293device uftdi # For FTDI usb serial adapters 294device uipaq # Some WinCE based devices 295device uplcom # Prolific PL-2303 serial adapters 296device uslcom # SI Labs CP2101/CP2102 serial adapters 297device uvisor # Visor and Palm devices 298device uvscom # USB serial support for DDI pocket's PHS 299# USB Ethernet, requires miibus 300device aue # ADMtek USB Ethernet 301device axe # ASIX Electronics USB Ethernet 302device cdce # Generic USB over Ethernet 303device cue # CATC USB Ethernet 304device kue # Kawasaki LSI USB Ethernet 305device rue # RealTek RTL8150 USB Ethernet 306device udav # Davicom DM9601E USB 307# USB Wireless 308device rum # Ralink Technology RT2501USB wireless NICs 309device uath # Atheros AR5523 wireless NICs 310device ural # Ralink Technology RT2500USB wireless NICs 311device zyd # ZyDAS zd1211/zd1211b wireless NICs 312 313# crypto subsystem 314device crypto # core crypto support 315device cryptodev # /dev/crypto for access to h/w 316device cryptocteon # Octeon coprocessor 2 crypto offload 317 318# GPIO support 319#device gpio 320 321# PMC support 322#device hwpmc 323