GENERIC revision 1.33
1# $NetBSD: GENERIC,v 1.33 2004/03/23 03:48:39 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
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
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
101#
102# Device configuration
103#
104mainbus0 at root
105
106cpu*		at mainbus?
107shb*		at mainbus?
108pfckbd*		at mainbus?
109
110#
111# Workstation Console attachments
112#
113hpcfb*		at hd64461video?
114wsdisplay*	at hpcfb?
115
116hpckbd*		at pfckbd?
117wskbd*		at hpckbd? mux 1
118
119#
120# HP Jornada
121#
122# Serial Devices
123# don't need to define SCICONSOLE. you can select from bootloader.
124scif0		at shb?
125options 	SCIFCN_SPEED=19200
126
127adc*		at shb?			# analog->digital converter
128
129j6x0pwr*	at adc?			# '680 battery, on/off, etc
130
131j6x0lcd*	at shb?			# '680 LCD power, brightness, contrast
132
133j6x0tp*		at adc?			# '680 touch panel
134wsmouse*	at j6x0tp? mux 0	# - as a pointing device
135wskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
136# Do not convert hard icons to key presses while serving mouse input.
137#options 	J6X0TP_WSMOUSE_EXCLUSIVE
138# Customization for the mini-keymap of hard icons.
139#options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
140#options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
141#options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
142#options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
143
144
145hd64461if* at shb?
146hd64461pcmcia*	at hd64461if?
147hd64461video*	at hd64461if?
148
149#
150# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
151#
152com0		at hd64461if?
153
154#
155# machine independent part
156#
157# PCMCIA bus support
158pcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
159pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
160
161# PCMCIA network interfaces
162mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
163ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
164wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
165
166ukphy*	at mii? phy ?			# generic unknown PHYs
167
168# PCMCIA IDE disk
169# PC-Card slot
170wdc1	at pcmcia0 function ?
171atabus1 at wdc1 channel ?
172wd*	at atabus1 drive ? flags 0x0000
173# Compact Flash slot (only memory mapped mode CF can attach)
174wdc0	at pcmcia1 function ?
175atabus0 at wdc0 channel ?
176wd*	at atabus0 drive ? flags 0x0000
177
178# Network Interfaces
179
180# network pseudo-devices
181pseudo-device	bpfilter	2	# Berkeley packet filter
182pseudo-device	loop			# network loopback
183
184# miscellaneous pseudo-devices
185pseudo-device	pty			# pseudo-terminals
186pseudo-device	rnd			# /dev/random and in-kernel generator
187pseudo-device	clockctl		# user control of clock subsystem
188pseudo-device	ksyms			# kernel symbol table interface
189
190# mouse & keyboard multiplexor pseudo-devices
191pseudo-device	wsmux
192