GENERIC revision 1.40
1# $NetBSD: GENERIC,v 1.40 2004/07/05 00:09:45 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 HP620LX
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 HP620LX		18.75MHz	 75MHz
50#	HITACHI HPW50PA		25MHz		100MHz
51#
52#options 	PCLOCK=...
53
54# in-kernel bootloader, see kloader(4)
55options 	KLOADER_KERNEL_PATH="\"/netbsd\""
56#options 	KLOADER_DEBUG
57
58#options	HPC_DEBUG_INTERRUPT_MONITOR
59#options	KSTACK_DEBUG
60
61
62# Standard system options
63
64#options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
65				# (overrides tz info that hpcboot.exe passes)
66
67options 	KTRACE		# system call tracing via ktrace(1)
68#options 	SYSTRACE	# system call vetting via systrace(1)
69
70#options 	SYSVMSG		# System V-like message queues
71#options 	SYSVSEM		# System V-like semaphores
72#options 	SEMMNI=10	# number of semaphore identifiers
73#options 	SEMMNS=60	# number of semaphores in system
74#options 	SEMUME=10	# max number of undo entries per process
75#options 	SEMMNU=30	# number of undo structures in system
76#options 	SYSVSHM		# System V-like memory sharing
77#options 	SHMMAXPGS=2048	# 2048 pages is the default
78#options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
79
80#options 	LKM		# loadable kernel modules
81
82options 	USERCONF		# userconf(4) support
83options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
84
85# Enable experimental buffer queue strategy for better responsiveness under
86# high disk I/O load. Likely stable but not yet the default.
87#options 	NEW_BUFQ_STRATEGY
88
89# Diagnostic/debugging support options
90#options 	DIAGNOSTIC	# expensive kernel consistency checks
91#options 	DEBUG		# expensive debugging checks/support
92#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
93#options 	DDB		# in-kernel debugger
94#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
95#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
96#options 	KGDB		# remote debugger
97#options 	KGDB_DEVRATE=19200
98#options 	"KGDB_DEVNAME=\"scif\""		# HP Jornada
99#options 	"KGDB_DEVNAME=\"hd64461uart\""	# HITACHI PERSONA (SH3)
100#options 	"KGDB_DEVNAME=\"hd64465uart\""	# HITACHI PERSONA (SH4)
101#makeoptions	DEBUG="-g"	# compile full symbol table
102
103# Compatibility options
104options 	COMPAT_15	# NetBSD 1.5
105options 	COMPAT_16	# NetBSD 1.6
106options 	COMPAT_20	# NetBSD 2.0
107#options 	BSDDISKLABEL_EI	# endian independent disklabel support
108
109# Executable format options
110options 	EXEC_COFF	# 32-bit COFF executables
111options 	EXEC_ELF32	# 32-bit ELF executables
112
113# File systems
114file-system 	FFS		# UFS
115#file-system 	MFS		# memory file system (requires FFS)
116#file-system 	EXT2FS		# second extended file system (linux)
117file-system 	MSDOSFS		# MS-DOS file system
118file-system	NFS		# Sun NFS-compatible filesystem client
119#file-system 	NULLFS		# loopback file system
120#file-system 	UMAPFS		# NULLFS + uid and gid remapping
121#file-system 	UNION		# union file system
122#file-system 	OVERLAY		# overlay file system
123#file-system 	PORTAL		# portal filesystem (still experimental)
124#file-system 	FDESC		# /dev/fd
125file-system 	KERNFS		# /kern
126file-system 	PROCFS		# /proc
127#file-system	CODA		# Coda File System; also needs vcoda (below)
128#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
129
130# File system options
131#options 	FFS_EI		# FFS Endian Independent support
132#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
133				# immutable) behave as system flags.
134
135# Networking options
136options 	INET		# IP + ICMP + TCP + UDP
137options 	INET6		# IPV6
138
139options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
140options 	PPP_DEFLATE	# Deflate compression support for PPP
141options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
142
143#options 	ALTQ		# Manipulate network interfaces' output queues
144#options 	ALTQ_BLUE	# Stochastic Fair Blue
145#options 	ALTQ_CBQ	# Class-Based Queueing
146#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
147#options 	ALTQ_FIFOQ	# First-In First-Out Queue
148#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
149#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
150#options 	ALTQ_LOCALQ	# Local queueing discipline
151#options 	ALTQ_PRIQ	# Priority Queueing
152#options 	ALTQ_RED	# Random Early Detection
153#options 	ALTQ_RIO	# RED with IN/OUT
154#options 	ALTQ_WFQ	# Weighted Fair Queueing
155
156# These options enable verbose messages for several subsystems.
157# Warning, these may compile large string tables into the kernel!
158options 	MIIVERBOSE	# verbose PHY autoconfig messages
159#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
160
161options 	NFS_BOOT_DHCP
162
163#
164# wscons options
165#
166# builtin terminal emulations
167options 	WSEMUL_VT100
168# allocate a number of virtual screens at autoconfiguration time
169options 	WSDISPLAY_DEFAULTSCREENS=4
170# different kernel output - see dev/wscons/wsdisplayvar.h
171options 	WS_KERNEL_FG=WSCOL_BROWN
172options 	WS_KERNEL_BG=WSCOL_BLUE
173# compatibility to other console drivers
174options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
175options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
176options 	WSDISPLAY_COMPAT_USL		# VT handling
177options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
178
179options 	FONT_VT220L8x10			# the console font
180
181
182# Kernel root file system and dump configuration.
183config		netbsd	root on ? type ?
184
185#
186# Device configuration
187#
188mainbus0 at root
189
190# temporally power management
191hpcapm0		at mainbus0			# power management
192apmdev0		at hpcapm0			# APM
193btnmgr0		at mainbus0
194wskbd*		at btnmgr0 mux 1
195
196cpu*		at mainbus?
197shb*		at mainbus?
198pfckbd*		at mainbus?
199
200#
201# Workstation Console attachments
202#
203hpcfb*		at hd64461video?
204wsdisplay*	at hpcfb?
205
206hpckbd*		at pfckbd?
207wskbd0		at hpckbd? mux 1
208
209#
210# HP Jornada
211#
212# Serial Devices
213# don't need to define SCICONSOLE. you can select from bootloader.
214scif0		at shb?
215options 	SCIFCN_SPEED=19200
216
217adc*		at shb?			# analog->digital converter
218
219j6x0pwr*	at adc?			# '680 battery, on/off, etc
220
221j6x0lcd*	at shb?			# '680 LCD power, brightness, contrast
222
223j6x0tp*		at adc?			# '680 touch panel
224wsmouse*	at j6x0tp? mux 0	# - as a pointing device
225wskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
226# Do not convert hard icons to key presses while serving mouse input.
227options 	J6X0TP_WSMOUSE_EXCLUSIVE
228# Customization for the mini-keymap of hard icons.
229#options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
230#options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
231#options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
232#options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
233
234hd64461if* at shb?
235hd64461pcmcia*	at hd64461if?
236#options 	HD64461PCMCIA_REORDER_ATTACH	# attach channel 1 (CF) first
237hd64461video*	at hd64461if?
238
239#
240# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
241#
242com0		at hd64461if?
243
244#
245# machine independent part
246#
247
248# PCMCIA bus support
249#pcmcia* at hd64461pcmcia? controller ? socket ?
250pcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
251pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
252
253# PCMCIA IDE controllers
254#wdc*	at pcmcia? function ?
255wdc0	at pcmcia1 function ?		# CF slot
256wdc1	at pcmcia0 function ?		# PC Card slot
257
258# ATA (IDE) bus support
259#atabus* at ata?
260atabus0 at wdc0 channel ?		# CF slot
261atabus1 at wdc1 channel ?		# PC Card slot
262
263# IDE drives
264wd*	at atabus? drive ? flags 0x0000
265
266# PCMCIA network interfaces
267mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
268ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
269wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
270
271# MII/PHY support
272nsphyter* at mii? phy ?			# NS83843 PHYs
273ukphy*	at mii? phy ?			# generic unknown PHYs
274
275# PCMCIA Serial Devices
276com*	at pcmcia? function ?		# Modems and serial cards
277
278
279# Pseudo-Devices
280
281# disk/mass storage pseudo-devices
282#pseudo-device	vnd		4	# disk-like interface to files
283
284# network pseudo-devices
285pseudo-device	loop			# network loopback
286pseudo-device	ppp		1	# serial-line IP ports
287pseudo-device	bpfilter	2	# Berkeley packet filter
288#pseudo-device	ipfilter		# IP filter, NAT
289#pseudo-device	pf			# PF packet filter
290#pseudo-device	pflog			# PF log if
291
292# miscellaneous pseudo-devices
293pseudo-device	pty			# pseudo-terminals
294pseudo-device	rnd			# /dev/random and in-kernel generator
295pseudo-device	clockctl		# user control of clock subsystem
296#pseudo-device	irframetty		# IrDA frame line discipline
297pseudo-device	ksyms			# kernel symbol table interface
298
299# a pseudo device needed for Coda	# also needs CODA (above)
300#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
301
302# a pseudo device needed for SMBFS
303#pseudo-device	nsmb			# experimental - SMB requester
304
305# wscons pseudo-devices
306pseudo-device	wsmux			# mouse & keyboard multiplexor
307#pseudo-device	wsfont			# dynamic font loading support
308#pseudo-device	hpf1275a		# HP F1275A external keyboard
309#wskbd* at hpf1275a? mux 1
310