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