KB920X revision 238881
1182852Simp# KB920X -- Custom kernel configuration for the KB9202 (no letter, A and B)
2155437Simp# AT91RM9200 evaluation boards from kwikbyte.com.
3155324Simp#
4155324Simp# For more information on this file, please read the handbook section on
5155324Simp# Kernel Configuration Files:
6155324Simp#
7155324Simp#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8155324Simp#
9155324Simp# The handbook is also available locally in /usr/share/doc/handbook
10155324Simp# if you've installed the doc distribution, otherwise always see the
11155324Simp# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12155324Simp# latest information.
13155324Simp#
14155324Simp# An exhaustive list of options and more detailed explanations of the
15236988Simp# device lines is also present in the ../../conf/NOTES and NOTES files.
16236988Simp# If you are in doubt as to the purpose or necessity of a line, check first
17155324Simp# in NOTES.
18155324Simp#
19155324Simp# $FreeBSD: head/sys/arm/conf/KB920X 238881 2012-07-29 04:28:29Z imp $
20155324Simp
21155324Simpident		KB920X
22155324Simp
23155324Simpinclude		"../at91/std.kb920x"
24182852Simp# The AT91 platform doesn't use /boot/loader, so we have to statically wire
25182852Simp# hints.
26167858Simphints		"KB920X.hints"
27238329Simpmakeoptions	MODULES_OVERRIDE=""
28155324Simp
29155324Simpmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
30182852Simpoptions 	DDB
31182852Simpoptions 	KDB
32155324Simp
33155324Simpoptions 	SCHED_4BSD		#4BSD scheduler
34155324Simpoptions 	INET			#InterNETworking
35155324Simp#options 	INET6			#IPv6 communications protocols
36155324Simpoptions 	FFS			#Berkeley Fast Filesystem
37155324Simp#options 	SOFTUPDATES		#Enable FFS soft updates support
38155324Simp#options 	UFS_ACL			#Support for access control lists
39155324Simp#options 	UFS_DIRHASH		#Improve performance on big directories
40160348Simp#options 	MD_ROOT			#MD is a potential root device
41182852Simp#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
42167858Simpoptions 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
43224699Srmacklemoptions 	NFSCL			#New Network Filesystem Client
44224699Srmacklem#options 	NFSD			#New Network Filesystem Server
45177662Sdfr#options 	NFSLOCKD		#Network Lock Manager
46224699Srmacklem#options 	NFS_ROOT		#NFS usable as /, requires NFSCL
47182852Simp#options 	BOOTP_NFSROOT
48182852Simp#options 	BOOTP
49160348Simp
50155324Simp#options 	MSDOSFS			#MSDOS Filesystem
51155324Simp#options 	CD9660			#ISO 9660 Filesystem
52155324Simp#options 	PROCFS			#Process filesystem (requires PSEUDOFS)
53155324Simpoptions 	PSEUDOFS		#Pseudo-filesystem framework
54155324Simp#options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
55155324Simp#options 	KTRACE			#ktrace(1) support
56155324Simpoptions 	SYSVSHM			#SYSV-style shared memory
57155324Simpoptions 	SYSVMSG			#SYSV-style message queues
58155324Simpoptions 	SYSVSEM			#SYSV-style semaphores
59155324Simpoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
60204280Sbrucec#options 	NO_SYSCTL_DESCR
61182852Simp# Disable the inlining of mutex, rwlock and sx locks.  These eat up a lot
62182852Simp# of space.
63155324Simpoptions 	MUTEX_NOINLINE
64182852Simpoptions 	RWLOCK_NOINLINE
65182852Simpoptions 	SX_NOINLINE
66155324Simpoptions 	NO_FFS_SNAPSHOT
67155324Simpoptions 	NO_SWAPPING
68160348Simpdevice		random
69155324Simpdevice		loop
70155324Simpdevice		ether
71155324Simpdevice		uart
72155324Simpdevice		ate
73155436Simpdevice		mii
74155436Simpdevice		lxtphy
75155324Simp
76155324Simp# Debugging for use in -current
77203938Sattilio#options 	DEADLKRES		#Enable the deadlock resolver
78155324Simp#options 	INVARIANTS		#Enable calls of extra sanity checking
79155324Simp#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
80155324Simp#options 	WITNESS			#Enable checks to detect deadlocks and cycles
81155324Simp#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
82155324Simp
83155324Simpdevice		md
84238335Simpdevice		at91_twi		# TWI: Two Wire Interface
85155324Simpdevice		at91_spi		# SPI:
86160451Scognetdevice		spibus
87167858Simp# MMC/SD
88167858Simpdevice		at91_mci
89167858Simpdevice		mmc
90167858Simpdevice		mmcsd
91167858Simp# iic
92167858Simpdevice		iic
93167858Simpdevice		iicbus
94167858Simpdevice		icee
95167858Simp
96167858Simpdevice		bpf
97171674Simp# USB support
98207077Sthompsaoptions 	USB_DEBUG	# enable debug msgs
99191954Skuriyamadevice		ohci		# OHCI localbus->USB interface
100191954Skuriyamadevice		usb		# USB Bus (required)
101191954Skuriyama#device		udbp		# USB Double Bulk Pipe devices
102191954Skuriyamadevice		uhid		# "Human Interface Devices"
103191954Skuriyamadevice		ulpt		# Printer
104191954Skuriyamadevice		umass		# Disks/Mass storage - Requires scbus and da
105191954Skuriyamadevice		urio		# Diamond Rio 500 MP3 player
106198044Sjhb# USB Serial devices
107198044Sjhbdevice		uark		# Technologies ARK3116 based serial adapters
108198044Sjhbdevice		ubsa		# Belkin F5U103 and compatible serial adapters
109198044Sjhbdevice		uftdi		# For FTDI usb serial adapters
110198044Sjhbdevice		uipaq		# Some WinCE based devices
111198044Sjhbdevice		uplcom		# Prolific PL-2303 serial adapters
112198044Sjhbdevice		uslcom		# SI Labs CP2101/CP2102 serial adapters
113198044Sjhbdevice		uvisor		# Visor and Palm devices
114198044Sjhbdevice		uvscom		# USB serial support for DDI pocket's PHS
115171674Simp# USB Ethernet, requires miibus
116171674Simpdevice		miibus
117191954Skuriyamadevice		aue		# ADMtek USB Ethernet
118191954Skuriyamadevice		axe		# ASIX Electronics USB Ethernet
119191954Skuriyamadevice		cdce		# Generic USB over Ethernet
120191954Skuriyamadevice		cue		# CATC USB Ethernet
121191954Skuriyamadevice		kue		# Kawasaki LSI USB Ethernet
122191954Skuriyamadevice		rue		# RealTek RTL8150 USB Ethernet
123198044Sjhbdevice		udav		# Davicom DM9601E USB
124198044Sjhb# USB Wireless
125198044Sjhbdevice		rum		# Ralink Technology RT2501USB wireless NICs
126198044Sjhbdevice		uath		# Atheros AR5523 wireless NICs
127198044Sjhbdevice		ural		# Ralink Technology RT2500USB wireless NICs
128225482Sbruefferdevice		zyd		# ZyDAS zd1211/zd1211b wireless NICs
129171674Simp# SCSI peripherals
130191954Skuriyamadevice		scbus		# SCSI bus (required for SCSI)
131191954Skuriyamadevice		da		# Direct Access (disks)
132191954Skuriyamadevice		cd		# CD
133191954Skuriyamadevice		pass		# Passthrough device (direct SCSI access)
134171674Simp# Wireless NIC cards
135191954Skuriyamadevice		wlan		# 802.11 support
136191954Skuriyamadevice		wlan_wep	# 802.11 WEP support
137191954Skuriyamadevice		wlan_ccmp	# 802.11 CCMP support
138191954Skuriyamadevice		wlan_tkip	# 802.11 TKIP support
139191954Skuriyamadevice		wlan_amrr	# AMRR transmit rate control algorithm
140238329Simp
141238881Simp# USB device (gadget) support
142238881Simpdevice		at91_dci	# Atmel's usb device
143238881Simpdevice		usfs		# emulate a flash
144238881Simpdevice		cdce		# emulate an ethernet
145238881Simpdevice		usb_template	# Control of the gadget
146238881Simp
147229639Sadrianoptions		IEEE80211_SUPPORT_MESH
148229639Sadrian
149229639Sadrianoptions		AH_SUPPORT_AR5416
150