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