GENERIC revision 1.1
1#	$NetBSD: GENERIC,v 1.1 2001/04/19 07:01:11 matt Exp $
2#
3#	GENERIC -- Netwinder Architecture Kernel
4#
5
6include	"arch/netwinder/conf/std.netwinder"
7
8# estimated number of users
9
10maxusers	32
11
12# Standard system options
13
14options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
15#options 	NTP		# NTP phase/frequency locked loop
16
17# CPU options
18
19# For StrongARM systems
20options 	CPU_SA110	# Support the SA110 core
21makeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
22
23# Architecture options
24options 	FOOTBRIDGE	# We have DC21285 'Footbridge' core logic
25options 	NETWINDER	# We are a NETWINDER
26
27# FPA options
28
29#options 	ARMFPE		# ARM Ltd FPE
30
31# File systems
32
33file-system	FFS		# UFS
34#file-system	LFS		# log-structured file system
35file-system	MFS		# memory file system
36file-system	NFS		# Network file system
37#file-system 	ADOSFS		# AmigaDOS-compatible file system
38file-system 	EXT2FS		# second extended file system (linux)
39#file-system	CD9660		# ISO 9660 + Rock Ridge file system
40file-system	MSDOSFS		# MS-DOS file system
41#file-system	FDESC		# /dev/fd
42#file-system	KERNFS		# /kern
43file-system	NULLFS		# loopback file system
44#file-system	PORTAL		# portal filesystem (still experimental)
45#file-system	PROCFS		# /proc
46#file-system	UMAPFS		# NULLFS + uid and gid remapping
47#file-system	UNION		# union file system
48
49# File system options
50#options 	QUOTA		# UFS quotas
51#options 	FFS_EI		# FFS Endian Independant support
52options 	NFSSERVER
53options		SOFTDEP
54
55# Networking options
56
57#options 	GATEWAY		# packet forwarding
58options 	INET		# IP + ICMP + TCP + UDP
59options 	INET6		# IPV6
60#options 	IPSEC		# IP security
61#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
62#options 	IPSEC_DEBUG	# debug for IP security
63#options 	MROUTING	# IP multicast routing
64#options 	NS		# XNS
65#options 	NSIP		# XNS tunneling over IP
66#options 	ISO,TPIP	# OSI
67#options 	EON		# OSI tunneling over IP
68#options 	CCITT,LLC,HDLC	# X.25
69#options 	NETATALK	# AppleTalk networking
70#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
71#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
72#options 	PPP_DEFLATE	# Deflate compression support for PPP
73#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
74
75options 	NFS_BOOT_BOOTP
76options 	NFS_BOOT_DHCP
77#options 	NFS_BOOT_BOOTPARAM
78
79# Compatibility options
80
81#options 	COMPAT_43	# 4.3BSD compatibility.
82options 	COMPAT_14	# NetBSD 1.4 compatibility.
83#options 	COMPAT_13	# NetBSD 1.3 compatibility.
84#options 	COMPAT_12	# NetBSD 1.2 compatibility.
85#options 	COMPAT_11	# NetBSD 1.1 compatibility.
86#options 	COMPAT_10	# NetBSD 1.0 compatibility.
87#options 	COMPAT_09	# NetBSD 0.9 compatibility.
88#options 	TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD
89
90# Shared memory options
91
92options 	SYSVMSG		# System V-like message queues
93options 	SYSVSEM		# System V-like semaphores
94options 	SYSVSHM		# System V-like memory sharing
95options 	SHMMAXPGS=1024	# 1024 pages is the default
96
97# Device options
98
99options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
100#options 	MEMORY_DISK_SIZE=0	# Size in blocks
101#options 	MINIROOTSIZE=3400	# Size in blocks
102#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
103
104# Miscellaneous kernel options
105options 	KTRACE		# system call tracing, a la ktrace(1)
106options 	IRQSTATS	# manage IRQ statistics
107#options 	LKM		# loadable kernel modules
108#options 	KMEMSTATS	# kernel memory statistics
109#options 	SCSIVERBOSE	# Verbose SCSI errors
110options		PCIVERBOSE	# Verbose PCI descriptions
111options		MIIVERBOSE	# Verbose MII autoconfuration messages
112options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
113#options 	DDB_KEYCODE=0x40
114
115# Development and Debugging options
116
117#options 	ARM700BUGTRACK	# track the ARM700 swi bug
118#options 	PORTMASTER	# Enable PortMaster only options
119options 	DIAGNOSTIC	# internally consistency checks
120#options  	PMAP_DEBUG	# Enable pmap_debug_level code
121#options 	IPKDB		# remote kernel debugging
122options 	DDB		# in-kernel debugger
123options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
124makeoptions	DEBUG="-g"	# compile full symbol table
125
126config		netbsd	root on ? type ?
127
128# The main bus device
129mainbus0 at root
130
131# The boot cpu
132cpu0 at mainbus?
133
134# Core logic
135footbridge0	at mainbus?
136
137# footbridge uart
138#fcom0	at footbridge?
139
140# system clock via footbridge
141#clock*	at footbridge?
142
143# time-of-day device via footbridge
144todclock0	at footbridge?
145
146# PCI bus via footbridge
147pci0	at footbridge?			# PCI bus
148
149# PCI bridges
150#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
151#pci*	at ppb? bus ?
152
153# ISA bus support
154pcib*	at pci? dev ? function ?	# ISA bridge
155isa*	at pcib?
156
157
158# PCI IDE Controllers and Devices
159# PCI IDE controllers - see pciide(4) for supported hardware.
160# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
161# how to set up DMA modes for this chip. This may work, or may cause
162# a machine hang with some controllers.
163#pciide* at pci? dev ? function ? flags 0x0000
164
165# IDE drives
166# Flags are used only with controllers that support DMA operations
167# and mode settings (e.g. some pciide controllers)
168# The lowest order four bits (rightmost digit) of the flags define the PIO
169# mode to use, the next set of four bits the DMA mode and the third set the
170# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
171# to use, and the last bit must be 1 for this setting to be used.
172# For DMA and UDMA, 0xf (1111) means 'disable'.
173# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
174# (0xc=1100, 0xa=1010, 0xf=1111)
175# 0x0000 means "use whatever the drive claims to support".
176#wd*	at pciide? channel ? drive ? flags 0x0000	# the drives themselves
177
178# PCI network interfaces
179#de*	at pci? dev ? function ?	# DC21X4X-based ethernet cards
180ne*	at pci? dev ? function ?	# NE2000 compat ethernet
181tlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
182options 	TLP_MATCH_21142
183
184# MII/PHY support
185lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
186ukphy*	at mii? phy ?			# generic unknown PHYs
187
188# WSCONS Support
189options 	WSEMUL_VT100		# VT100 / VT220 emulation
190options 	WS_KERNEL_FG=WSCOL_GREEN
191pckbc*		at isa?
192pckbd*		at pckbc?
193wskbd*		at pckbd? console ?
194pms*		at pckbc?
195wsmouse*	at pms? mux 0
196pmsi*		at pckbc?
197wsmouse*	at pmsi? mux 0
198
199vga*		at pci? dev ? function ?
200wsdisplay*	at vga? console ?
201
202# ISA Devices
203com0		at isa? port 0x3f8 irq 4
204#lpt0		at isa? port 0x378 irq 7
205#isapnp0 at isa?
206
207
208# Audio Devices
209
210# PCI audio devices
211#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
212#sv*	at pci? dev ? function ?	# S3 SonicVibes
213
214# Audio support
215#audio*	at eap?
216#audio*	at sv?
217
218# Pseudo-Devices
219
220# disk/mass storage pseudo-devices
221pseudo-device	md		1	# memory disk device (ramdisk)
222pseudo-device	vnd		4	# disk-like interface to files
223
224# network pseudo-devices
225pseudo-device	bpfilter	4	# Berkeley packet filter
226pseudo-device	loop			# network loopback
227
228# miscellaneous pseudo-devices
229pseudo-device	pty			# pseudo-terminals
230pseudo-device	rnd			# /dev/random and in-kernel generator
231