INTEGRATOR revision 1.48
1#	$NetBSD: INTEGRATOR,v 1.48 2008/01/19 13:11:13 chris Exp $
2#
3#	GENERIC -- ARM Integrator board Generic kernel
4#
5
6include	"arch/evbarm/conf/std.integrator"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	32
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17options 	NTP		# NTP phase/frequency locked loop
18
19# CPU options
20
21options 	CPU_ARM9	# Support the ARM9TDMI core
22options 	CPU_ARM10	# Support the ARM10 core
23options 	CPU_ARM11	# Support the ARM11 core
24
25# XXX Should be armv5 for ARM10 processor.
26makeoptions	CPUFLAGS="-march=armv4"
27
28# Architecture options
29
30# FPA options
31# We will want VFP support here sometime
32#options 	ARMFPE		# ARM Ltd FPE
33
34# File systems
35
36file-system	FFS		# UFS
37#file-system	LFS		# log-structured file system
38file-system	MFS		# memory file system
39file-system	NFS		# Network file system
40#file-system 	ADOSFS		# AmigaDOS-compatible file system
41#file-system 	EXT2FS		# second extended file system (linux)
42#file-system	CD9660		# ISO 9660 + Rock Ridge file system
43#file-system	MSDOSFS		# MS-DOS file system
44#file-system	FDESC		# /dev/fd
45file-system	KERNFS		# /kern
46#file-system	NULLFS		# loopback file system
47#file-system	PORTAL		# portal filesystem (still experimental)
48file-system	PROCFS		# /proc
49#file-system	UMAPFS		# NULLFS + uid and gid remapping
50#file-system	UNION		# union file system
51file-system	PTYFS		# /dev/pts/N support
52
53# File system options
54#options 	QUOTA		# UFS quotas
55#options 	FFS_EI		# FFS Endian Independant support
56#options 	NFSSERVER
57options 	SOFTDEP
58#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
59
60# Networking options
61
62#options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
67#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
68#options 	IPSEC_DEBUG	# debug for IP security
69#options 	MROUTING	# IP multicast routing
70#options 	PIM		# Protocol Independent Multicast
71#options 	ISO,TPIP	# OSI
72#options 	EON		# OSI tunneling over IP
73#options 	NETATALK	# AppleTalk networking
74#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
75#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
76#options 	PPP_DEFLATE	# Deflate compression support for PPP
77#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
78#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
79
80options 	NFS_BOOT_BOOTP
81options 	NFS_BOOT_DHCP
82options 	NFS_BOOT_BOOTPARAM
83
84# Compatibility options
85
86#options 	COMPAT_43	# 4.3BSD compatibility.
87options 	COMPAT_30	# NetBSD 3.0 compatibility.
88options 	COMPAT_20	# NetBSD 2.0 compatibility.
89options 	COMPAT_16	# NetBSD 1.6 compatibility.
90options 	COMPAT_15	# NetBSD 1.5 compatibility.
91#options 	COMPAT_14	# NetBSD 1.4 compatibility.
92#options 	COMPAT_13	# NetBSD 1.3 compatibility.
93#options 	COMPAT_12	# NetBSD 1.2 compatibility.
94#options 	COMPAT_11	# NetBSD 1.1 compatibility.
95#options 	COMPAT_10	# NetBSD 1.0 compatibility.
96#options 	COMPAT_09	# NetBSD 0.9 compatibility.
97#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
98options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
99
100# Shared memory options
101
102#options 	SYSVMSG		# System V-like message queues
103#options 	SYSVSEM		# System V-like semaphores
104#options 	SEMMNI=10	# number of semaphore identifiers
105#options 	SEMMNS=60	# number of semaphores in system
106#options 	SEMUME=10	# max number of undo entries per process
107#options 	SEMMNU=30	# number of undo structures in system
108#options 	SYSVSHM		# System V-like memory sharing
109#options 	SHMMAXPGS=1024	# 1024 pages is the default
110
111# Device options
112
113#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
114#options 	MEMORY_DISK_ROOT_SIZE=4000	# Size in blocks
115#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
116
117# Miscellaneous kernel options
118options 	KTRACE		# system call tracing, a la ktrace(1)
119options 	IRQSTATS	# manage IRQ statistics
120#options 	LKM		# loadable kernel modules
121#options 	KMEMSTATS	# kernel memory statistics
122options 	SCSIVERBOSE	# Verbose SCSI errors
123options 	PCIVERBOSE	# Verbose PCI descriptions
124options 	MIIVERBOSE	# Verbose MII autoconfuration messages
125#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
126options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
127					# configure PCI devices
128options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
129options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
130options 	USERCONF	# userconf(4) support
131#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
132#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
133
134# Development and Debugging options
135
136#options 	ARM700BUGTRACK	# track the ARM700 swi bug
137#options 	PORTMASTER	# Enable PortMaster only options
138#options 	DIAGNOSTIC	# internal consistency checks
139#options 	PMAP_DEBUG	# Enable pmap_debug_level code
140options 	DDB		# in-kernel debugger
141options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
142#options 	UVMHIST
143#makeoptions	DEBUG="-g"	# compile full symbol table
144options 	SYMTAB_SPACE=350000
145options 	PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=38400,PLCONMODE=0xB00
146
147config		netbsd		root on ? type ?
148config		netbsd-fxp0	root on fxp0 type nfs
149config		netbsd-sd0	root on sd0 type ffs
150
151# The main bus device
152mainbus0	at root
153
154# The boot CPU
155cpu0		at mainbus?
156
157# Core logic
158ifpga0	at mainbus?
159
160# PL010 uart
161plcom0		at ifpga? offset 0x06000000 irq 1
162plcom1		at ifpga? offset 0x07000000 irq 2
163
164# PL030 real time clock
165plrtc0		at ifpga? offset 0x05000000
166
167# PCI bus via ifpga
168pci0		at ifpga?			# PCI bus
169
170# Compact PCI bus via PCI bridge.
171ppb*		at pci? dev? function ?		# PCI-PCI bridges
172pci*		at ppb? bus ?
173
174# PCI IDE Controllers and Devices
175# PCI IDE controllers - see pciide(4) for supported hardware.
176# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
177# how to set up DMA modes for this chip. This may work, or may cause
178# a machine hang with some controllers.
179#pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
180#artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
181#cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
182#hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
183#pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
184#pdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
185#satalink*	at pci? dev ? function ?	# SiI SATALink controllers
186
187# ATA bus support
188#atabus*	at ata? channel ?
189
190# IDE drives
191# Flags are used only with controllers that support DMA operations
192# and mode settings (e.g. some pciide controllers)
193# The lowest order four bits (rightmost digit) of the flags define the PIO
194# mode to use, the next set of four bits the DMA mode and the third set the
195# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
196# to use, and the last bit must be 1 for this setting to be used.
197# For DMA and UDMA, 0xf (1111) means 'disable'.
198# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
199# (0xc=1100, 0xa=1010, 0xf=1111)
200# 0x0000 means "use whatever the drive claims to support".
201#wd*		at atabus? drive ? flags 0x0000	# the drives themselves
202
203# PCI SCSI Controllers and Buses
204ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI Controllers
205scsibus*	at ahc?
206
207# SCSI devices
208
209sd*		at scsibus? target ? lun ?	# SCSI disk drives
210st*		at scsibus? target ? lun ?	# SCSI tape drives
211cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
212#ch*		at scsibus? target ? lun ?	# SCSI auto-changers drives
213#uk*		at scsibus? target ? lun ?	# SCSI unknown drives
214#ss*		at scsibus? target ? lun ?	# SCSI scanner
215
216# PCI network interfaces
217fxp*		at pci? dev ? function ?	# I82557/I82558 ethernet cards
218#ne*		at pci? dev ? function ?	# NE2000 compat ethernet
219#tlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
220
221# MII/PHY support
222inphy*		at mii? phy ?			# Intel 82555 PHYs
223#lxtphy*		at mii? phy ?			# Level One LXT-970 PHYs
224ukphy*		at mii? phy ?			# generic unknown PHYs
225
226# WSCONS Support
227#options 	WSEMUL_VT100		# VT100 / VT220 emulation
228#options 	WS_KERNEL_FG=WSCOL_GREEN
229#pckbc0		at isa?
230#pckbd*		at pckbc?
231#wskbd*		at pckbd? console ?
232#pms*		at pckbc?
233#wsmouse*	at pms? mux 0
234
235#vga*		at pci? dev ? function ?
236#wsdisplay*	at vga? console ?
237
238# Pseudo-Devices
239
240# disk/mass storage pseudo-devices
241#pseudo-device	md		1	# memory disk device (ramdisk)
242pseudo-device	vnd			# disk-like interface to files
243#pseudo-device	fss		4	# file system snapshot device
244
245# network pseudo-devices
246#pseudo-device	bpfilter		# Berkeley packet filter
247#pseudo-device	bridge			# simple inter-network bridging
248pseudo-device	loop			# network loopback
249
250# miscellaneous pseudo-devices
251pseudo-device	pty			# pseudo-terminals
252pseudo-device	rnd			# /dev/random and in-kernel generator
253pseudo-device	clockctl		# user control of clock subsystem
254pseudo-device	ksyms			# /dev/ksyms
255