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