CAMBRIA revision 223523
178344Sobrien# CAMBRIA -- Gateworks Cambria 235x boards
278344Sobrien# kernel configuration file for FreeBSD/arm
398184Sgordon#
498184Sgordon# For more information on this file, please read the handbook section on
578344Sobrien# Kernel Configuration Files:
678344Sobrien#
778344Sobrien#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
898184Sgordon#
9124616Smtm# The handbook is also available locally in /usr/share/doc/handbook
1078344Sobrien# if you've installed the doc distribution, otherwise always see the
1178344Sobrien# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
1278344Sobrien# latest information.
1378344Sobrien#
14101851Sgordon# An exhaustive list of options and more detailed explanations of the
1599550Sgordon# device lines is also present in the ../../conf/NOTES and NOTES files. 
1678344Sobrien# If you are in doubt as to the purpose or necessity of a line, check first 
1778344Sobrien# in NOTES.
1878344Sobrien#
1978344Sobrien# $FreeBSD: head/sys/arm/conf/CAMBRIA 223523 2011-06-24 23:26:45Z cognet $
2078344Sobrien
2178344Sobrienident		CAMBRIA
22124627Smtm
23124627Smtminclude		"../xscale/ixp425/std.ixp435"
24124627Smtm# NB: memory mapping is defined in std.avila
25124627Smtminclude		"../xscale/ixp425/std.avila"
26124627Smtmoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
27124627Smtm#options 	ARM_USE_SMALL_ALLOC
28124627Smtm#To statically compile in device wiring instead of /boot/device.hints
29124627Smtmhints		"CAMBRIA.hints"		# Default places to look for devices.
30124627Smtm
31124627Smtmmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
32124627Smtmmakeoptions	CONF_CFLAGS=-mcpu=xscale
33124627Smtmmakeoptions	MODULES_OVERRIDE=""
3498184Sgordon#options 	HZ=1000
3598184Sgordonoptions 	HZ=100
36124627Smtmoptions 	DEVICE_POLLING
37124627Smtm
38124627Smtm# Debugging for use in -current
39124627Smtmoptions 	KDB
4098184Sgordon#options 	GDB
4178344Sobrienoptions 	DDB			#Enable the kernel debugger
4298184Sgordon#options 	DEADLKRES		#Enable the deadlock resolver
4378344Sobrienoptions 	INVARIANTS		#Enable calls of extra sanity checking
4478344Sobrienoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
4578344Sobrien#options 	WITNESS			#Enable checks to detect deadlocks and cycles
4678344Sobrien#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
4778344Sobrien#options 	DIAGNOSTIC
48
49options 	SCHED_4BSD		#4BSD scheduler
50#options 	PREEMPTION
51options 	INET			#InterNETworking
52options 	FFS			#Berkeley Fast Filesystem
53options 	SOFTUPDATES		#Enable FFS soft updates support
54options 	NFSCLIENT		#Network Filesystem Client
55options 	NFS_ROOT		#NFS usable as /, requires NFSCLIENT
56options 	BOOTP
57options 	BOOTP_NFSROOT
58options 	BOOTP_NFSV3
59options 	BOOTP_WIRED_TO=npe0
60options 	BOOTP_COMPAT
61
62# Hardware performance counters
63options 	HWPMC_HOOKS
64device		hwpmc
65
66#options 	VERBOSE_SYSINIT
67options 	VERBOSE_INIT_ARM
68
69#device		saarm
70
71device		pci
72device		uart
73
74device		ixpwdog		# watchdog timer
75
76options 	IXP4XX_FLASH_SIZE=0x02000000	# stock 2358 comes w/ 32M
77device		cfi		# flash support
78device		cfid		# flash disk support
79device		geom_redboot	# redboot fis parser
80
81# I2C Bus
82device		iicbus
83device		iicbb
84device		iic
85
86device		ixpiic		# I2C bus glue
87device		ds1672		# DS1672 on I2C bus
88device		ad7418		# AD7418 on I2C bus
89
90device		cambria_fled	# Font Panel LED on I2C bus
91device		cambria_led	# 8-LED latch
92
93device		gpio
94device		gpioled
95device		cambria_gpio	# GPIO pins on J11
96
97device		ata
98device		avila_ata	# Gateworks CF/IDE support
99options 	ATA_CAM
100
101device		npe		# Network Processing Engine
102device		npe_fw
103device		firmware
104device		qmgr		# Q Manager (required by npe)
105device		mii		# NB: required by npe
106device		ether
107device		bpf
108
109device		pty
110device		loop
111device		if_bridge
112
113device		md
114device		random		# Entropy device
115
116# Wireless NIC cards
117device		wlan		# 802.11 support
118options 	IEEE80211_DEBUG
119options 	IEEE80211_SUPPORT_TDMA
120options 	IEEE80211_SUPPORT_MESH
121device		wlan_wep	# 802.11 WEP support
122device		wlan_ccmp	# 802.11 CCMP support
123device		wlan_tkip	# 802.11 TKIP support
124device		wlan_xauth
125
126device		ath		# Atheros NIC's
127device		ath_pci		# Atheros pci/cardbus glue
128options 	ATH_DEBUG
129options 	ATH_DIAGAPI
130#options 	ATH_TX99_DIAG
131device		ath_rate_sample	# SampleRate tx rate control for ath
132
133#options 	AH_DEBUG
134#options 	AH_ASSERT
135options 	AH_PRIVATE_DIAG
136#device		ath_ar5210
137#device		ath_ar5211
138#
139device		ath_ar5212
140#device		ath_rf2413
141#device		ath_rf2425		# NB:supports 2417 too
142#device		ath_rf5111
143device		ath_rf5112
144device		ath_rf5413
145#
146#device		ath_ar5416
147options 	AH_SUPPORT_AR5416	# NB: for 11n descriptor format
148#device		ath_ar9160
149#device		ath_ar9280
150
151# NB: 2 USB 2.0 ports standard
152device		usb
153options 	USB_EHCI_BIG_ENDIAN_DESC	# handle big-endian byte order
154#options 	USB_DEBUG
155device		ehci
156device		umass
157device		scbus		# SCSI bus (required for ATA/SCSI)
158device		da		# Direct Access (disks)
159device		pass		# Passthrough device (direct ATA/SCSI access)
160
161#device		ural
162#device		zyd
163#device		wlan_amrr
164