1# CAMBRIA -- Gateworks Cambria 235x boards
2# kernel configuration file for FreeBSD/arm
3#
4# For more information on this file, please read the handbook section on
5# Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21ident		CAMBRIA
22
23include		"../xscale/ixp425/std.ixp435"
24# NB: memory mapping is defined in std.avila
25include		"../xscale/ixp425/std.avila"
26options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
27#To statically compile in device wiring instead of /boot/device.hints
28hints		"CAMBRIA.hints"		# Default places to look for devices.
29
30makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
31makeoptions	CONF_CFLAGS=-mcpu=xscale
32makeoptions	MODULES_OVERRIDE=""
33#options 	HZ=1000
34options 	HZ=100
35options 	DEVICE_POLLING
36
37# Debugging for use in -current
38options 	KDB
39#options 	GDB
40options 	DDB			# Enable the kernel debugger
41#options 	DEADLKRES		# Enable the deadlock resolver
42#options 	INVARIANTS		# Enable calls of extra sanity checking
43#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
44#options 	WITNESS			# Enable checks to detect deadlocks and cycles
45#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
46#options 	DIAGNOSTIC
47
48options 	SCHED_4BSD		# 4BSD scheduler
49#options 	PREEMPTION
50options 	INET			# InterNETworking
51options 	GEOM_PART_BSD		# BSD partition scheme
52options 	GEOM_PART_MBR		# MBR partition scheme
53options 	TMPFS			# Efficient memory filesystem
54options 	FFS			# Berkeley Fast Filesystem
55options 	SOFTUPDATES		# Enable FFS soft updates support
56options 	NFSCL			# New Network Filesystem Client
57options 	NFS_ROOT		# NFS usable as /, requires NFSCL
58options 	BOOTP
59options 	BOOTP_NFSROOT
60options 	BOOTP_NFSV3
61options 	BOOTP_WIRED_TO=npe0
62options 	BOOTP_COMPAT
63
64# Hardware performance counters
65options 	HWPMC_HOOKS
66device		hwpmc
67
68#options 	VERBOSE_SYSINIT
69options 	VERBOSE_INIT_ARM
70
71#device		saarm
72
73device		pci
74device		uart
75
76device		ixpwdog			# watchdog timer
77
78options 	IXP4XX_FLASH_SIZE=0x02000000 # stock 2358 comes w/ 32M
79device		cfi			# flash support
80device		cfid			# flash disk support
81device		geom_redboot		# redboot fis parser
82
83# I2C Bus
84device		iicbus
85device		iicbb
86device		iic
87
88device		ixpiic			# I2C bus glue
89device		ds1672			# DS1672 on I2C bus
90device		ad7418			# AD7418 on I2C bus
91
92device		cambria_fled		# Font Panel LED on I2C bus
93device		cambria_led		# 8-LED latch
94
95device		gpio
96device		gpioled
97device		cambria_gpio		# GPIO pins on J11
98
99device		ata
100device		avila_ata		# Gateworks CF/IDE support
101
102device		npe			# Network Processing Engine
103device		npe_fw
104device		firmware
105device		qmgr			# Q Manager (required by npe)
106device		mii			# NB: required by npe
107device		ether
108device		bpf
109
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 NICs
127device		ath_pci			# Atheros pci/cardbus glue
128options 	ATH_DEBUG
129options 	ATH_DIAGAPI
130options 	ATH_ENABLE_DFS
131options 	ATH_ENABLE_11N
132#options 	ATH_TX99_DIAG
133device		ath_rate_sample		# SampleRate tx rate control for ath
134
135options 	AH_DEBUG
136options 	AH_PRIVATE_DIAG
137options 	AH_SUPPORT_AR5416	# NB: for 11n descriptor format
138device		ath_hal
139
140# NB: 2 USB 2.0 ports standard
141device		usb
142options 	USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order
143#options 	USB_DEBUG
144device		ehci
145device		umass
146device		scbus			# SCSI bus (required for ATA/SCSI)
147device		da			# Direct Access (disks)
148device		pass			# Passthrough device (direct ATA/SCSI access)
149
150#device		ural
151#device		zyd
152#device		wlan_amrr
153