GENERIC revision 1.32
1# $NetBSD: GENERIC,v 1.32 2004/03/16 00:23:31 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
62options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
63
64#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
65options 	USERCONF		# userconf(4) support
66options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
67
68# Compatibility options
69#options 	BSDDISKLABEL_EI	# endian independent disklabel support
70
71# Executable format options
72options 	EXEC_COFF	# 32-bit COFF executables
73options 	EXEC_ELF32	# 32-bit ELF executables
74
75# File systems
76file-system 	FFS		# UFS
77file-system 	MSDOSFS		# MS-DOS file system
78file-system	NFS		# Sun NFS-compatible filesystem client
79file-system 	UNION		# union file system
80file-system 	KERNFS		# /kern
81file-system 	PROCFS		# /proc
82
83# File system options
84
85# Networking options
86options 	INET		# IP + ICMP + TCP + UDP
87options 	INET6		# IPV6
88
89options 	NFS_BOOT_DHCP
90
91# Kernel root file system and dump configuration.
92config		netbsd	root on ? type ?
93
94options 	WSEMUL_VT100
95options 	WSDISPLAY_DEFAULTSCREENS=4
96options 	FONT_VT220L8x10
97options 	WS_KERNEL_FG=WSCOL_BROWN
98options 	WS_KERNEL_BG=WSCOL_BLUE
99
100#
101# Device configuration
102#
103mainbus0 at root
104
105cpu*		at mainbus?
106shb*		at mainbus?
107pfckbd*		at mainbus?
108
109#
110# Workstation Console attachments
111#
112hpcfb*		at hd64461video?
113wsdisplay*	at hpcfb?
114
115hpckbd*		at pfckbd?
116wskbd*		at hpckbd? mux 1
117
118#
119# HP Jornada
120#
121# Serial Devices
122# don't need to define SCICONSOLE. you can select from bootloader.
123scif0		at shb?
124options 	SCIFCN_SPEED=19200
125
126adc*		at shb?			# analog->digital converter
127
128j6x0pwr*	at adc?			# '680 battery, on/off, etc
129
130j6x0lcd*	at shb?			# '680 LCD power, brightness, contrast
131
132j6x0tp*		at adc?			# '680 touch panel
133wsmouse*	at j6x0tp? mux 0	# - as a pointing device
134wskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
135# Do not convert hard icons to key presses while serving mouse input.
136#options 	J6X0TP_WSMOUSE_EXCLUSIVE
137# Customization for the mini-keymap of hard icons.
138#options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
139#options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
140#options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
141#options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
142
143
144hd64461if* at shb?
145hd64461pcmcia*	at hd64461if?
146hd64461video*	at hd64461if?
147
148#
149# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
150#
151com0		at hd64461if?
152
153#
154# machine independent part
155#
156# PCMCIA bus support
157pcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
158pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
159
160# PCMCIA network interfaces
161mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
162ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
163wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
164
165ukphy*	at mii? phy ?			# generic unknown PHYs
166
167# PCMCIA IDE disk
168# PC-Card slot
169wdc1	at pcmcia0 function ?
170atabus1 at wdc1 channel ?
171wd*	at atabus1 drive ? flags 0x0000
172# Compact Flash slot (only memory mapped mode CF can attach)
173wdc0	at pcmcia1 function ?
174atabus0 at wdc0 channel ?
175wd*	at atabus0 drive ? flags 0x0000
176
177# Network Interfaces
178
179# network pseudo-devices
180pseudo-device	bpfilter	2	# Berkeley packet filter
181pseudo-device	loop			# network loopback
182
183# miscellaneous pseudo-devices
184pseudo-device	pty			# pseudo-terminals
185pseudo-device	rnd			# /dev/random and in-kernel generator
186pseudo-device	clockctl		# user control of clock subsystem
187pseudo-device	ksyms			# kernel symbol table interface
188
189# mouse & keyboard multiplexor pseudo-devices
190pseudo-device	wsmux
191