1220297Sadrian# RT305X -- Kernel configuration file for FreeBSD/mips for Ralink RT305xF systems
2220297Sadrian#
3220297Sadrian# For more information on this file, please read the handbook section on
4220297Sadrian# Kernel Configuration Files:
5220297Sadrian#
6220297Sadrian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7220297Sadrian#
8220297Sadrian# The handbook is also available locally in /usr/share/doc/handbook
9220297Sadrian# if you've installed the doc distribution, otherwise always see the
10220297Sadrian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11220297Sadrian# latest information.
12220297Sadrian#
13220297Sadrian# An exhaustive list of options and more detailed explanations of the
14220297Sadrian# device lines is also present in the ../../conf/NOTES and NOTES files. 
15220297Sadrian# If you are in doubt as to the purpose or necessity of a line, check first 
16220297Sadrian# in NOTES.
17220297Sadrian#
18220297Sadrian# $FreeBSD$
19220297Sadrian
20220297Sadrianident		RT305X
21220297Sadrian
22220297Sadrianmachine		mips mipsel
23220297Sadrianmakeoptions	MIPS_LITTLE_ENDIAN=defined
24220297Sadrianmakeoptions	KERNLOADADDR=0x80001000
25220297Sadrian
26220297Sadrian# Don't build any modules yet.
27224008Sraymakeoptions	MODULES_OVERRIDE="wlan_xauth wlan_wep wlan_tkip wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt random if_bridge bridgestp msdosfs md ipfw dummynet libalias geom/geom_label ufs usb/uplcom usb/u3g usb/umodem usb/umass usb/ucom cam zlib"
28220297Sadrianmakeoptions	RT3052F
29220297Sadrian
30220297Sadrianinclude		"../rt305x/std.rt305x"
31220297Sadrian
32220297Sadrianhints		"RT305X.hints"		#Default places to look for devices.
33220297Sadrian
34224008Sray#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
35224008Sray
36224005Sray# Debugging for use in -current
37224008Sray#options 	DEADLKRES		#Enable the deadlock resolver
38224008Sray#options		INVARIANTS		#Enable calls of extra sanity checking
39224008Sray#options		INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
40224008Sray#options		WITNESS			#Enable checks to detect deadlocks and cycles
41224008Sray#options		WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
42224008Sray#options         DIAGNOSTIC
43224008Sray#options     DEBUG_LOCKS
44224008Sray#options     DEBUG_VFS_LOCKS
45220297Sadrian#options 	GDB
46224008Srayoptions 	DDB
47220297Sadrianoptions 	KDB
48220297Sadrian
49220297Sadrianoptions 	SCHED_ULE
50220297Sadrian#options 	SCHED_4BSD		#4BSD scheduler
51220297Sadrian#options		COMPAT_43
52220297Sadrianoptions 	INET			#InterNETworking
53224008Srayoptions 	NFSCL			#Network Filesystem Client
54224008Srayoptions 	NFS_ROOT		#NFS usable as /, requires NFSCL
55220297Sadrianoptions 	PSEUDOFS		#Pseudo-filesystem framework
56220297Sadrian#options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
57220297Sadrian
58224008Srayoptions 	BOOTP
59224008Sray#options 	BOOTP_NFSROOT
60224008Srayoptions 	BOOTP_NFSV3
61224008Srayoptions 	BOOTP_WIRED_TO=rt0
62224008Srayoptions 	BOOTP_COMPAT
63220297Sadrianoptions 	CD9660			# ISO 9660 Filesystem
64220297Sadrianoptions		ROOTDEVNAME=\"cd9660:/dev/map/rootfs.uncompress\"
65220297Sadrianoptions 	TMPFS			# TMP Memory Filesystem
66220297Sadrian
67220297Sadrian#options 	FFS			#Berkeley Fast Filesystem
68220297Sadrian#options 	SOFTUPDATES		#Enable FFS soft updates support
69220297Sadrian#options 	UFS_ACL			#Support for access control lists
70220297Sadrian#options 	UFS_DIRHASH		#Improve performance on big directories
71220297Sadrian#options 	ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\"
72220297Sadrian
73220297Sadrian# Options for making kernel less hangry
74220297Sadrianmakeoptions	INLINE_LIMIT=1024
75220297Sadrianoptions		MAXUSERS=3
76220297Sadrianoptions		MAXFILES=512
77220297Sadrianoptions		NSFBUFS=256
78220297Sadrianoptions		SHMALL=128
79220297Sadrianoptions		MSGBUF_SIZE=65536
80220297Sadrian
81220297Sadrian# Options for making kernel smallest 
82220297Sadrianoptions		NO_SYSCTL_DESCR		# No description string of sysctl
83220297Sadrian#options		NO_FFS_SNAPSHOT		# Disable Snapshot supporting
84220297Sadrianoptions		SCSI_NO_SENSE_STRINGS
85220297Sadrianoptions		SCSI_NO_OP_STRINGS
86220297Sadrianoptions		RWLOCK_NOINLINE
87220297Sadrianoptions		SX_NOINLINE
88220297Sadrianoptions		NO_SWAPPING
89220297Sadrianoptions 	ZERO_COPY_SOCKETS
90220297Sadrianoptions         MROUTING                # Multicast routing
91220297Sadrianoptions		IPFIREWALL_DEFAULT_TO_ACCEPT
92220297Sadrian
93224008Sraydevice		random
94224008Sraydevice		loop
95224009Sray# RT3050F, RT3052F have only pseudo PHYs, so mii not required
96224009Sraydevice		rt
97224009Sray
98224008Sraydevice 		pty			# Pseudo-ttys (telnet etc)
99224005Sraydevice		ether
100220297Sadriandevice 		bpf			# Berkeley packet filter
101220297Sadriandevice		vlan
102220297Sadrian#device		lagg
103220297Sadrian#device          if_bridge
104220297Sadriandevice		uart
105220297Sadriannodevice	uart_ns8250
106224008Sraydevice 		tun			# Packet tunnel.
107220297Sadrian
108224008Sraydevice		wlan
109220297Sadrian
110224008Sray
111220297Sadriandevice		gpio
112220297Sadriandevice		gpioled
113220297Sadrian
114220297Sadriandevice		cfi			# Detect Flash memmory
115220297Sadriandevice		cfid
116220297Sadrian
117220297Sadriandevice		nvram2env
118220297Sadrian
119224008Sraydevice		usb
120220297Sadrian#device		dotg			# DWC like USB OTG Controller driver
121220297Sadrian#device		u3g
122220297Sadrian#device		umodem
123220297Sadrian#device		uplcom
124220297Sadrian#device		umass
125220297Sadrian#device		da
126220297Sadrian#device		pass
127220297Sadrian#device		scbus
128224008Srayoptions 	SCSI_DELAY=1000		# Delay (in ms) before probing SCSI
129220297Sadrian
130224008Sray#options		USB_EHCI_BIG_ENDIAN_DESC        # handle big-endian byte order
131224008Sray#options		USB_DEBUG
132224008Sray#options		USB_REQ_DEBUG
133224008Sray
134224008Sray
135