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$
20155324Simp
21266383Sian#NO_UNIVERSE
22266383Sian
23155324Simpident		KB920X
24155324Simp
25155324Simpinclude		"../at91/std.kb920x"
26182852Simp# The AT91 platform doesn't use /boot/loader, so we have to statically wire
27182852Simp# hints.
28167858Simphints		"KB920X.hints"
29238329Simpmakeoptions	MODULES_OVERRIDE=""
30155324Simp
31266328Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
32182852Simpoptions 	DDB
33182852Simpoptions 	KDB
34155324Simp
35266328Sianoptions 	SCHED_4BSD		# 4BSD scheduler
36266328Sianoptions 	INET			# InterNETworking
37266328Sian#options 	INET6			# IPv6 communications protocols
38266328Sianoptions 	FFS			# Berkeley Fast Filesystem
39266328Sian#options 	SOFTUPDATES		# Enable FFS soft updates support
40266328Sian#options 	UFS_ACL			# Support for access control lists
41266328Sian#options 	UFS_DIRHASH		# Improve performance on big directories
42266328Sian#options 	MD_ROOT			# MD is a potential root device
43182852Simp#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
44167858Simpoptions 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s1a\"
45266328Sianoptions 	NFSCL			# New Network Filesystem Client
46266328Sian#options 	NFSD			# New Network Filesystem Server
47266328Sian#options 	NFSLOCKD		# Network Lock Manager
48266328Sian#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
49182852Simp#options 	BOOTP_NFSROOT
50182852Simp#options 	BOOTP
51160348Simp
52266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
53266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
54266331Sianoptions 	TMPFS			# Efficient memory filesystem
55266328Sian#options 	MSDOSFS			# MSDOS Filesystem
56266328Sian#options 	CD9660			# ISO 9660 Filesystem
57266328Sian#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
58266328Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
59266328Sian#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
60266328Sian#options 	KTRACE			# ktrace(1) support
61266328Sianoptions 	SYSVSHM			# SYSV-style shared memory
62266328Sianoptions 	SYSVMSG			# SYSV-style message queues
63266328Sianoptions 	SYSVSEM			# SYSV-style semaphores
64266328Sianoptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
65204280Sbrucec#options 	NO_SYSCTL_DESCR
66182852Simp# Disable the inlining of mutex, rwlock and sx locks.  These eat up a lot
67182852Simp# of space.
68155324Simpoptions 	MUTEX_NOINLINE
69182852Simpoptions 	RWLOCK_NOINLINE
70182852Simpoptions 	SX_NOINLINE
71155324Simpoptions 	NO_FFS_SNAPSHOT
72155324Simpoptions 	NO_SWAPPING
73160348Simpdevice		random
74155324Simpdevice		loop
75155324Simpdevice		ether
76155324Simpdevice		uart
77155324Simpdevice		ate
78155436Simpdevice		mii
79155436Simpdevice		lxtphy
80155324Simp
81155324Simp# Debugging for use in -current
82266328Sian#options 	DEADLKRES		# Enable the deadlock resolver
83266328Sian#options 	INVARIANTS		# Enable calls of extra sanity checking
84266328Sian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
85266328Sian#options 	WITNESS			# Enable checks to detect deadlocks and cycles
86266328Sian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
87155324Simp
88155324Simpdevice		md
89238335Simpdevice		at91_twi		# TWI: Two Wire Interface
90155324Simpdevice		at91_spi		# SPI:
91160451Scognetdevice		spibus
92167858Simp# MMC/SD
93167858Simpdevice		at91_mci
94167858Simpdevice		mmc
95167858Simpdevice		mmcsd
96167858Simp# iic
97167858Simpdevice		iic
98167858Simpdevice		iicbus
99167858Simpdevice		icee
100167858Simp
101167858Simpdevice		bpf
102171674Simp# USB support
103266328Sianoptions 	USB_DEBUG		# enable debug msgs
104266328Siandevice		ohci			# OHCI localbus->USB interface
105266328Siandevice		usb			# USB Bus (required)
106266328Sian#device		udbp			# USB Double Bulk Pipe devices
107266328Siandevice		uhid			# "Human Interface Devices"
108266328Siandevice		ulpt			# Printer
109266328Siandevice		umass			# Disks/Mass storage - Requires scbus and da
110266328Siandevice		urio			# Diamond Rio 500 MP3 player
111198044Sjhb# USB Serial devices
112266328Siandevice		uark			# Technologies ARK3116 based serial adapters
113266328Siandevice		ubsa			# Belkin F5U103 and compatible serial adapters
114266328Siandevice		uftdi			# For FTDI usb serial adapters
115266328Siandevice		uipaq			# Some WinCE based devices
116266328Siandevice		uplcom			# Prolific PL-2303 serial adapters
117266328Siandevice		uslcom			# SI Labs CP2101/CP2102 serial adapters
118266328Siandevice		uvisor			# Visor and Palm devices
119266328Siandevice		uvscom			# USB serial support for DDI pocket's PHS
120171674Simp# USB Ethernet, requires miibus
121171674Simpdevice		miibus
122266328Siandevice		aue			# ADMtek USB Ethernet
123266328Siandevice		axe			# ASIX Electronics USB Ethernet
124266328Siandevice		cdce			# Generic USB over Ethernet
125266328Siandevice		cue			# CATC USB Ethernet
126266328Siandevice		kue			# Kawasaki LSI USB Ethernet
127266328Siandevice		rue			# RealTek RTL8150 USB Ethernet
128266328Siandevice		udav			# Davicom DM9601E USB
129198044Sjhb# USB Wireless
130266328Siandevice		rum			# Ralink Technology RT2501USB wireless NICs
131266328Siandevice		uath			# Atheros AR5523 wireless NICs
132266328Siandevice		ural			# Ralink Technology RT2500USB wireless NICs
133266328Siandevice		zyd			# ZyDAS zd1211/zd1211b wireless NICs
134171674Simp# SCSI peripherals
135266328Siandevice		scbus			# SCSI bus (required for SCSI)
136266328Siandevice		da			# Direct Access (disks)
137266328Siandevice		cd			# CD
138266328Siandevice		pass			# Passthrough device (direct SCSI access)
139171674Simp# Wireless NIC cards
140266328Siandevice		wlan			# 802.11 support
141266328Siandevice		wlan_wep		# 802.11 WEP support
142266328Siandevice		wlan_ccmp		# 802.11 CCMP support
143266328Siandevice		wlan_tkip		# 802.11 TKIP support
144266328Siandevice		wlan_amrr		# AMRR transmit rate control algorithm
145238329Simp
146238881Simp# USB device (gadget) support
147266328Siandevice		at91_dci		# Atmel's usb device
148266328Siandevice		usfs			# emulate a flash
149266328Siandevice		cdce			# emulate an ethernet
150266328Siandevice		usb_template		# Control of the gadget
151238881Simp
152240572Sjmgoptions 	IEEE80211_SUPPORT_MESH
153229639Sadrian
154240572Sjmgoptions 	AH_SUPPORT_AR5416
155