XLR revision 198791
155682Smarkm#################################RMI_BSD#####################################
2233294Sstas# Copyright (c) 2003-2009 RMI Corporation
3233294Sstas# All rights reserved.
4233294Sstas# 
555682Smarkm# Redistribution and use in source and binary forms, with or without
6233294Sstas# modification, are permitted provided that the following conditions
7233294Sstas# are met:
8233294Sstas# 1. Redistributions of source code must retain the above copyright
955682Smarkm#    notice, this list of conditions and the following disclaimer.
10233294Sstas# 2. Redistributions in binary form must reproduce the above copyright
11233294Sstas#    notice, this list of conditions and the following disclaimer in the
1255682Smarkm#    documentation and/or other materials provided with the distribution.
13233294Sstas# 3. Neither the name of RMI Corporation, nor the names of its contributors,
14233294Sstas#    may be used to endorse or promote products derived from this software
15233294Sstas#    without specific prior written permission.
1655682Smarkm# 
17233294Sstas# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18233294Sstas# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19233294Sstas# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2055682Smarkm# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21233294Sstas# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22233294Sstas# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23233294Sstas# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24233294Sstas# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25233294Sstas# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26233294Sstas# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27233294Sstas# SUCH DAMAGE.
28233294Sstas#################################RMI_BSD#####################################
29233294Sstas# XLR -- Generic kernel configuration file for FreeBSD/mips
30233294Sstas#
31233294Sstas# For more information on this file, please read the handbook section on
3255682Smarkm# Kernel Configuration Files:
3355682Smarkm#
3455682Smarkm#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
3555682Smarkm#
36233294Sstas# The handbook is also available locally in /usr/share/doc/handbook
3755682Smarkm# if you've installed the doc distribution, otherwise always see the
38178825Sdfr# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
39178825Sdfr# latest information.
4055682Smarkm#
4155682Smarkm# An exhaustive list of options and more detailed explanations of the
4255682Smarkm# device lines is also present in the ../../conf/NOTES and NOTES files. 
43233294Sstas# If you are in doubt as to the purpose or necessity of a line, check first 
4455682Smarkm# in NOTES.
45178825Sdfr#
4655682Smarkm# $FreeBSD$
4755682Smarkm
4855682Smarkmmachine 	mips
49178825Sdfrcpu 		CPU_MIPS4KC
5055682Smarkmident 		XLR
51178825Sdfr
52178825Sdfrmakeoptions	MODULES_OVERRIDE=""
5355682Smarkmmakeoptions     TARGET_BIG_ENDIAN
54178825Sdfr#
5555682Smarkm
56233294Sstasoptions		KERNVIRTADDR=0x80100000
57178825Sdfrinclude		"../rmi/std.xlr"
58178825Sdfr
59178825Sdfr
60178825Sdfrmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
61178825Sdfr#profile		2
62178825Sdfr
63178825Sdfr#options 	SCHED_ULE		# ULE scheduler
64178825Sdfroptions 	SCHED_4BSD		# 4BSD scheduler
65178825Sdfr#options 	PREEMPTION		# Enable kernel thread preemption
66178825Sdfr#options 	FULL_PREEMPTION		# Enable kernel thread preemption
67178825Sdfroptions 	INET			# InterNETworking
68178825Sdfroptions 	INET6			# IPv6 communications protocols
69178825Sdfroptions 	FFS			# Berkeley Fast Filesystem
70178825Sdfr#options 	SOFTUPDATES		# Enable FFS soft updates support
71178825Sdfroptions 	UFS_ACL			# Support for access control lists
72178825Sdfroptions 	UFS_DIRHASH		# Improve performance on big directories
73178825Sdfroptions 	MD_ROOT			# MD is a potential root device
74178825Sdfroptions		MD_ROOT_SIZE=14288
75178825Sdfr#options		MD_ROOT_SIZE=5120
76178825Sdfroptions		ROOTDEVNAME=\"ufs:md0\"
77178825Sdfroptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
78178825Sdfroptions 	HZ=1000	
79178825Sdfroptions 	PHYS_ADDR_64BIT
80178825Sdfroptions 	NO_SWAPPING
81178825Sdfr
8255682Smarkm#Debugging options
83178825Sdfroptions 	KTRACE			# ktrace(1) support
84178825Sdfroptions 	DDB
85233294Sstasoptions 	KDB
86178825Sdfroptions 	GDB
87178825Sdfroptions 	ALT_BREAK_TO_DEBUGGER
88178825Sdfr#options 	INVARIANTS		#Enable calls of extra sanity checking
89178825Sdfr#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
90178825Sdfr#options 	WITNESS			#Enable checks to detect deadlocks and cycles
91178825Sdfr#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
92178825Sdfr#options 	KTR			# ktr(4) and ktrdump(8) support
93178825Sdfr#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC|KTR_CRITICAL)
94178825Sdfr#options 	KTR_ENTRIES=131072
9555682Smarkm#options 	MUTEX_DEBUG
96178825Sdfr#options 	MUTEX_PROFILING
97178825Sdfr
98178825Sdfrdevice		pci
99178825Sdfr#device		ata
10055682Smarkm#device		atadisk
101178825Sdfr#options 	XLR_PERFMON		# Enable XLR processor activity monitoring
102178825Sdfr
103178825Sdfr#device 		genclock
104178825Sdfrdevice 		uart
105178825Sdfr
106178825Sdfr# Pseudo
107178825Sdfrdevice 		loop
108178825Sdfrdevice 		random
109178825Sdfrdevice 		md
110178825Sdfrdevice 		mem
111178825Sdfrdevice 		pty
112178825Sdfrdevice		bpf
113233294Sstas
114233294Sstas# Network
115233294Sstasdevice		miibus
116233294Sstasdevice		rge
117178825Sdfrdevice 		ether
118178825Sdfrdevice		re
119233294Sstasdevice		msk
120233294Sstas
121233294Sstasdevice          da
122233294Sstasdevice          scbus
123178825Sdfr#device          ohci            # OHCI PCI->USB interface
124178825Sdfrdevice          ehci            # EHCI PCI->USB interface (USB 2.0)
125178825Sdfrdevice          usb             # USB Bus (required)
126178825Sdfr#device         udbp            # USB Double Bulk Pipe devices
127178825Sdfr#device          ugen            # Generic
128178825Sdfr#device          uhid            # "Human Interface Devices"
129178825Sdfrdevice          umass           # Disks/Mass storage - Requires scbus and da
130178825Sdfr
131178825Sdfr#device		cfi
132178825Sdfr
133178825Sdfr#i2c
134178825Sdfr# Not yet
135178825Sdfr#device      ic
136178825Sdfr#device      iic
137178825Sdfr#device      iicbb
138178825Sdfr#device      iicbus
139178825Sdfr#device      xlr_rtc
140178825Sdfr#device      xlr_temperature
141178825Sdfr#device      xlr_eeprom
142178825Sdfr
143178825Sdfr#crypto
144178825Sdfr# Not yet
145178825Sdfr#device cryptodev
146178825Sdfr#device crypto
147178825Sdfr#device rmisec
148178825Sdfroptions		ISA_MIPS32
149178825Sdfrmakeoptions	KERNLOADADDR=0x80100000
150233294Sstas