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