GENERIC revision 1.74
1# $NetBSD: GENERIC,v 1.74 2007/06/03 19:46:23 uwe Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21#
22# This kernel supports...
23#	HP Jornada 680/690
24#	HP 620LX/660LX
25#	HITACHI HPW50PA
26#
27
28include 	"arch/hpcsh/conf/std.hpcsh"
29
30options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
31
32maxusers	32			# estimated number of users
33
34
35# System options specific to hpcsh
36
37# CPU support.  At least one is REQUIRED.
38options 	SH3
39#options 	SH4
40
41# Example of how to set gcc optimization options (XXX: not tested)
42#makeoptions	COPTS="-Os"		# generic
43#makeoptions	CPUFLAGS="-m3"		# CPU specific
44
45#
46# PCLOCK is estimated by kernel.
47#				PCLOCK		CPU CLOCK
48#	HP Jornada 680/690	22.22MHz	133MHz
49#	HP 620LX		18.75MHz	 75MHz
50#	HITACHI HPW50PA		25MHz		100MHz
51#
52#options 	PCLOCK=...
53
54# in-kernel bootloader, see kloader(4)
55options 	KLOADER
56#options 	KLOADER_KERNEL_PATH="\"/netbsd\""
57#options 	KLOADER_DEBUG
58
59#options 	HPC_DEBUG_INTERRUPT_MONITOR
60#options 	KSTACK_DEBUG
61
62
63# Standard system options
64
65#options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
66				# (overrides tz info that hpcboot.exe passes)
67
68options 	KTRACE		# system call tracing via ktrace(1)
69#options 	SYSTRACE	# system call vetting via systrace(1)
70
71#options 	SYSVMSG		# System V-like message queues
72#options 	SYSVSEM		# System V-like semaphores
73#options 	SEMMNI=10	# number of semaphore identifiers
74#options 	SEMMNS=60	# number of semaphores in system
75#options 	SEMUME=10	# max number of undo entries per process
76#options 	SEMMNU=30	# number of undo structures in system
77#options 	SYSVSHM		# System V-like memory sharing
78#options 	SHMMAXPGS=2048	# 2048 pages is the default
79#options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
80
81#options 	LKM		# loadable kernel modules
82
83options 	USERCONF		# userconf(4) support
84options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
85options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
86
87# Enable experimental buffer queue strategy for better responsiveness under
88# high disk I/O load. Likely stable but not yet the default.
89#options 	BUFQ_READPRIO
90#options 	BUFQ_PRIOCSCAN
91
92# Diagnostic/debugging support options
93#options 	DIAGNOSTIC	# expensive kernel consistency checks
94#options 	DEBUG		# expensive debugging checks/support
95#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
96#options 	DDB		# in-kernel debugger
97#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
98#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
99#options 	KGDB		# remote debugger
100#options 	KGDB_DEVRATE=19200
101#options 	KGDB_DEVNAME="\"scif\""		# HP Jornada
102#options 	KGDB_DEVNAME="\"hd64461uart\""	# HITACHI PERSONA (SH3)
103#options 	KGDB_DEVNAME="\"hd64465uart\""	# HITACHI PERSONA (SH4)
104#makeoptions	DEBUG="-g"	# compile full symbol table
105
106# Compatibility options
107options 	COMPAT_15	# NetBSD 1.5
108options 	COMPAT_16	# NetBSD 1.6
109options 	COMPAT_20	# NetBSD 2.0
110options 	COMPAT_30	# NetBSD 3.0 compatibility.
111options 	COMPAT_40	# NetBSD 4.0 compatibility.
112#options 	BSDDISKLABEL_EI	# endian independent disklabel support
113options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
114
115# Executable format options
116options 	EXEC_COFF	# 32-bit COFF executables
117options 	EXEC_ELF32	# 32-bit ELF executables
118
119# File systems
120file-system 	FFS		# UFS
121#file-system 	MFS		# memory file system (requires FFS)
122#file-system 	EXT2FS		# second extended file system (linux)
123file-system 	MSDOSFS		# MS-DOS file system
124file-system	NFS		# Sun NFS-compatible filesystem client
125#file-system 	NULLFS		# loopback file system
126#file-system 	UMAPFS		# NULLFS + uid and gid remapping
127#file-system 	UNION		# union file system
128#file-system 	OVERLAY		# overlay file system
129#file-system 	PORTAL		# portal filesystem (still experimental)
130#file-system 	FDESC		# /dev/fd
131file-system 	KERNFS		# /kern
132file-system 	PROCFS		# /proc
133#file-system	CODA		# Coda File System; also needs vcoda (below)
134#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
135file-system	PTYFS		# /dev/pts/N support
136#file-system	TMPFS		# Efficient memory file-system
137#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
138
139# File system options
140#options 	FFS_EI		# FFS Endian Independent support
141options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
142#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
143				# immutable) behave as system flags.
144
145# Networking options
146options 	INET		# IP + ICMP + TCP + UDP
147options 	INET6		# IPV6
148
149options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
150options 	PPP_DEFLATE	# Deflate compression support for PPP
151options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
152
153#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
154#options 	IPFILTER_LOG	# ipmon(8) log support
155#options 	IPFILTER_LOOKUP	# ippool(8) support
156#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
157
158#options 	ALTQ		# Manipulate network interfaces' output queues
159#options 	ALTQ_BLUE	# Stochastic Fair Blue
160#options 	ALTQ_CBQ	# Class-Based Queueing
161#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
162#options 	ALTQ_FIFOQ	# First-In First-Out Queue
163#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
164#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
165#options 	ALTQ_LOCALQ	# Local queueing discipline
166#options 	ALTQ_PRIQ	# Priority Queueing
167#options 	ALTQ_RED	# Random Early Detection
168#options 	ALTQ_RIO	# RED with IN/OUT
169#options 	ALTQ_WFQ	# Weighted Fair Queueing
170
171# These options enable verbose messages for several subsystems.
172# Warning, these may compile large string tables into the kernel!
173options 	MIIVERBOSE	# verbose PHY autoconfig messages
174#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
175
176options 	NFS_BOOT_DHCP
177
178#
179# wscons options
180#
181# builtin terminal emulations
182options 	WSEMUL_VT100
183# allocate a number of virtual screens at autoconfiguration time
184options 	WSDISPLAY_DEFAULTSCREENS=4
185
186# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
187options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
188#options 	WS_DEFAULT_FG=WSCOL_WHITE
189#options 	WS_DEFAULT_BG=WSCOL_BLACK
190#options 	WS_DEFAULT_COLATTR="(0)"
191#options 	WS_DEFAULT_MONOATTR="(0)"
192options 	WS_KERNEL_FG=WSCOL_BROWN
193options 	WS_KERNEL_BG=WSCOL_BLUE
194#options 	WS_KERNEL_COLATTR=""
195#options 	WS_KERNEL_MONOATTR=""
196
197# compatibility to other console drivers
198options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
199options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
200options 	WSDISPLAY_COMPAT_USL		# VT handling
201options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
202
203options 	FONT_VT220L8x10			# the console font
204
205
206# Kernel root file system and dump configuration.
207config		netbsd	root on ? type ?
208
209#
210# Device configuration
211#
212mainbus0 at root
213
214# temporally power management
215hpcapm0		at mainbus0			# power management
216apmdev0		at hpcapm0			# APM
217btnmgr0		at mainbus0
218wskbd*		at btnmgr0 mux 1
219
220cpu*		at mainbus?
221shb*		at mainbus?
222rtc*		at shb?
223adc*		at shb?			# analog->digital converter
224pfckbd*		at mainbus?
225
226#
227# Workstation Console attachments
228#
229hpcfb*		at hd64461video?
230wsdisplay*	at hpcfb?
231
232hpckbd*		at pfckbd?
233wskbd0		at hpckbd? mux 1
234
235#
236# HP Jornada (620LX/660LX, 680/690)
237#
238scif0		at shb?			# serial port/console
239options 	SCIFCN_SPEED=19200
240# don't need to define SCIFCONSOLE, you can select from the bootloader.
241
242j6x0pwr*	at adc?			# battery, on/off, etc
243
244j6x0lcd*	at shb?			# LCD power, brightness, contrast
245
246j6x0tp*		at adc?			# touch panel
247wsmouse*	at j6x0tp? mux 0	# - as a pointing device
248wskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
249# Do not convert hard icons to key presses while serving mouse input.
250options 	J6X0TP_WSMOUSE_EXCLUSIVE
251# Customization for the mini-keymap of hard icons.
252#options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
253#options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
254#options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
255#options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
256
257#
258# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
259#
260com0		at hd64461if?
261
262psh3lcd*	at shb?			# LCD power, brightness, contrast
263
264psh3tp*		at adc?			# PERSONA SH3 touch panel
265wsmouse*	at psh3tp? mux 0
266
267#
268# Common HD64461 devices
269#
270hd64461if* at shb?
271
272hd64461pcmcia*	at hd64461if?
273#options 	HD64461PCMCIA_DEBUG
274#options 	HD64461PCMCIA_REORDER_ATTACH	# attach channel 1 (CF) first
275
276hd64461video*	at hd64461if?
277#options 	HD64461VIDEO_DEBUG
278#options 	HD64461VIDEO_HWACCEL		# XXX: too slow to bother
279
280
281#
282# machine independent part
283#
284
285# PCMCIA bus support
286#pcmcia* at hd64461pcmcia? controller ? socket ?
287pcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
288pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
289
290# PCMCIA IDE controllers
291#wdc*	at pcmcia? function ?
292wdc0	at pcmcia1 function ?		# CF slot
293wdc1	at pcmcia0 function ?		# PC Card slot
294
295# ATA (IDE) bus support
296#atabus* at ata?
297atabus0 at wdc0 channel ?		# CF slot
298atabus1 at wdc1 channel ?		# PC Card slot
299
300# IDE drives
301wd*	at atabus? drive ? flags 0x0000
302
303# PCMCIA network interfaces
304mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
305ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
306wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
307
308# MII/PHY support
309lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
310nsphyter* at mii? phy ?			# NS83843 PHYs
311ukphy*	at mii? phy ?			# generic unknown PHYs
312
313# PCMCIA Serial Devices
314com*	at pcmcia? function ?		# Modems and serial cards
315
316
317# Pseudo-Devices
318
319# disk/mass storage pseudo-devices
320#pseudo-device	vnd			# disk-like interface to files
321#options 	VND_COMPRESSION		# compressed vnd(4)
322pseudo-device	fss		4	# file system snapshot device
323
324# network pseudo-devices
325pseudo-device	loop			# network loopback
326pseudo-device	ppp			# serial-line IP ports
327pseudo-device	bpfilter		# Berkeley packet filter
328#pseudo-device	carp			# Common Address Redundancy Protocol
329#pseudo-device	ipfilter		# IP filter, NAT
330#pseudo-device	pf			# PF packet filter
331#pseudo-device	pflog			# PF log if
332
333# miscellaneous pseudo-devices
334pseudo-device	pty			# pseudo-terminals
335pseudo-device	rnd			# /dev/random and in-kernel generator
336pseudo-device	clockctl		# user control of clock subsystem
337#pseudo-device	irframetty		# IrDA frame line discipline
338pseudo-device	ksyms			# kernel symbol table interface
339
340# a pseudo device needed for Coda	# also needs CODA (above)
341#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
342
343# a pseudo device needed for SMBFS
344#pseudo-device	nsmb			# experimental - SMB requester
345
346# wscons pseudo-devices
347pseudo-device	wsmux			# mouse & keyboard multiplexor
348#pseudo-device	wsfont			# dynamic font loading support
349#pseudo-device	hpf1275a		# HP F1275A external keyboard
350#wskbd* at hpf1275a? mux 1
351
352# Veriexec
353#
354# a pseudo device needed for veriexec
355#pseudo-device	veriexec		1
356#
357# Uncomment the fingerprint methods below that are desired. Note that
358# removing fingerprint methods will have almost no impact on the kernel
359# code size.
360#
361#options VERIFIED_EXEC_FP_RMD160
362#options VERIFIED_EXEC_FP_SHA256
363#options VERIFIED_EXEC_FP_SHA384
364#options VERIFIED_EXEC_FP_SHA512
365#options VERIFIED_EXEC_FP_SHA1
366#options VERIFIED_EXEC_FP_MD5
367