GENERIC revision 1.39
1# $NetBSD: GENERIC,v 1.39 2004/07/03 12:49:21 uch 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
34options		SH3
35#
36# PCLOCK is estimated by kernel.
37#				PCLOCK		CPU CLOCK
38#	HP Jornada 680/690	22.22MHz	133MHz
39#	HP HP620LX		18.75MHz	75MMHz
40#	HITACHI HPW50PA		25MHz		100MHz
41#
42
43options 	KLOADER_KERNEL_PATH="\"/netbsd\""
44
45# Standard system options
46#options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
47				# (overrides tz info that hpcboot.exe passes)
48
49options 	USERCONF		# userconf(4) support
50options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
51
52# Compatibility options
53#options 	BSDDISKLABEL_EI	# endian independent disklabel support
54
55# Executable format options
56options 	EXEC_COFF	# 32-bit COFF executables
57options 	EXEC_ELF32	# 32-bit ELF executables
58
59# File systems
60file-system 	FFS		# UFS
61file-system 	MSDOSFS		# MS-DOS file system
62file-system	NFS		# Sun NFS-compatible filesystem client
63file-system 	UNION		# union file system
64file-system 	KERNFS		# /kern
65file-system 	PROCFS		# /proc
66
67# File system options
68
69# Networking options
70options 	INET		# IP + ICMP + TCP + UDP
71options 	INET6		# IPV6
72
73options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
74options 	PPP_DEFLATE	# Deflate compression support for PPP
75options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
76
77#options 	ALTQ		# Manipulate network interfaces' output queues
78#options 	ALTQ_BLUE	# Stochastic Fair Blue
79#options 	ALTQ_CBQ	# Class-Based Queueing
80#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
81#options 	ALTQ_FIFOQ	# First-In First-Out Queue
82#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
83#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
84#options 	ALTQ_LOCALQ	# Local queueing discipline
85#options 	ALTQ_PRIQ	# Priority Queueing
86#options 	ALTQ_RED	# Random Early Detection
87#options 	ALTQ_RIO	# RED with IN/OUT
88#options 	ALTQ_WFQ	# Weighted Fair Queueing
89
90options 	NFS_BOOT_DHCP
91
92# Kernel root file system and dump configuration.
93config		netbsd	root on ? type ?
94
95options 	WSEMUL_VT100
96options 	WSDISPLAY_DEFAULTSCREENS=4
97options 	FONT_VT220L8x10
98options 	WS_KERNEL_FG=WSCOL_BROWN
99options 	WS_KERNEL_BG=WSCOL_BLUE
100# compatibility to other console drivers
101options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
102options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
103options 	WSDISPLAY_COMPAT_USL		# VT handling
104options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
105
106#
107# Device configuration
108#
109mainbus0 at root
110
111# temporally power management
112hpcapm0		at mainbus0			# power management
113apmdev0		at hpcapm0			# APM
114btnmgr0		at mainbus0
115wskbd*		at btnmgr0 mux 1
116
117cpu*		at mainbus?
118shb*		at mainbus?
119pfckbd*		at mainbus?
120
121#
122# Workstation Console attachments
123#
124hpcfb*		at hd64461video?
125wsdisplay*	at hpcfb?
126
127hpckbd*		at pfckbd?
128wskbd0		at hpckbd? mux 1
129
130#
131# HP Jornada
132#
133# Serial Devices
134# don't need to define SCICONSOLE. you can select from bootloader.
135scif0		at shb?
136options 	SCIFCN_SPEED=19200
137
138adc*		at shb?			# analog->digital converter
139
140j6x0pwr*	at adc?			# '680 battery, on/off, etc
141
142j6x0lcd*	at shb?			# '680 LCD power, brightness, contrast
143
144j6x0tp*		at adc?			# '680 touch panel
145wsmouse*	at j6x0tp? mux 0	# - as a pointing device
146wskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
147# Do not convert hard icons to key presses while serving mouse input.
148options 	J6X0TP_WSMOUSE_EXCLUSIVE
149# Customization for the mini-keymap of hard icons.
150options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
151options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
152options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
153options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
154
155hd64461if* at shb?
156hd64461pcmcia*	at hd64461if?
157hd64461video*	at hd64461if?
158
159#
160# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
161#
162com0		at hd64461if?
163
164#
165# machine independent part
166#
167# PCMCIA bus support
168pcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
169pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
170
171# PCMCIA network interfaces
172mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
173ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
174wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
175
176ukphy*	at mii? phy ?			# generic unknown PHYs
177
178# PCMCIA IDE disk
179# PC-Card slot
180wdc1	at pcmcia0 function ?
181atabus1 at wdc1 channel ?
182wd*	at atabus1 drive ? flags 0x0000
183# Compact Flash slot (only memory mapped mode CF can attach)
184wdc0	at pcmcia1 function ?
185atabus0 at wdc0 channel ?
186wd*	at atabus0 drive ? flags 0x0000
187
188# PCMCIA Serial Devices
189com*	at pcmcia? function ?		# Modems and serial cards
190
191# Network Interfaces
192
193# network pseudo-devices
194pseudo-device	loop			# network loopback
195pseudo-device	ppp		1	# serial-line IP ports
196pseudo-device	bpfilter	2	# Berkeley packet filter
197pseudo-device	ipfilter		# IP filter, NAT
198
199# miscellaneous pseudo-devices
200pseudo-device	pty			# pseudo-terminals
201pseudo-device	rnd			# /dev/random and in-kernel generator
202pseudo-device	clockctl		# user control of clock subsystem
203pseudo-device	ksyms			# kernel symbol table interface
204
205# mouse & keyboard multiplexor pseudo-devices
206pseudo-device	wsmux
207#pseudo-device	pf			# PF packet filter
208#pseudo-device	pflog			# PF log if
209