# $NetBSD: GENERIC,v 1.33.2.2 2004/07/15 20:23:55 he Exp $
#
# GENERIC machine description file
# 
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

#
# This kernel supports...
#	HP Jornada 680/690
#	HP HP620LX
#	HITACHI HPW50PA
#

include 	"arch/hpcsh/conf/std.hpcsh"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	32			# estimated number of users

options		SH3
#
# PCLOCK is estimated by kernel.
#				PCLOCK		CPU CLOCK
#	HP Jornada 680/690	22.22MHz	133MHz
#	HP HP620LX		18.75MHz	75MMHz
#	HITACHI HPW50PA		25MHz		100MHz
#

options 	DDB			# in-kernel debugger
#options 	KGDB			# in-kernel debugger
#makeoptions	DEBUG="-g"	# compile full symbol table
#options	KGDB_DEVRATE=19200
# HP Jornada
#options 	"KGDB_DEVNAME=\"scif\""
# HITACHI PERSONA (SH3)
#options 	"KGDB_DEVNAME=\"hd64461uart\""
# HITACHI PERSONA (SH4)
#options 	"KGDB_DEVNAME=\"hd64465uart\""

#options	HPC_DEBUG_INTERRUPT_MONITOR
#options	KSTACK_DEBUG
options 	DIAGNOSTIC		# extra kernel debugging checks
options 	DEBUG			# extra kernel debugging support
#options 	KTRACE			# system call tracing support
options 	KLOADER_KERNEL_PATH="\"/netbsd\""

# Standard system options
#options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
				# (overrides tz info that hpcboot.exe passes)

#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
options 	USERCONF		# userconf(4) support
options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Compatibility options
#options 	BSDDISKLABEL_EI	# endian independent disklabel support

# Executable format options
options 	EXEC_COFF	# 32-bit COFF executables
options 	EXEC_ELF32	# 32-bit ELF executables

# File systems
file-system 	FFS		# UFS
file-system 	MSDOSFS		# MS-DOS file system
file-system	NFS		# Sun NFS-compatible filesystem client
file-system 	UNION		# union file system
file-system 	KERNFS		# /kern
file-system 	PROCFS		# /proc

# File system options

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6

#options 	ALTQ		# Manipulate network interfaces' output queues
#options 	ALTQ_BLUE	# Stochastic Fair Blue
#options 	ALTQ_CBQ	# Class-Based Queueing
#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
#options 	ALTQ_FIFOQ	# First-In First-Out Queue
#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
#options 	ALTQ_LOCALQ	# Local queueing discipline
#options 	ALTQ_PRIQ	# Priority Queueing
#options 	ALTQ_RED	# Random Early Detection
#options 	ALTQ_RIO	# RED with IN/OUT
#options 	ALTQ_WFQ	# Weighted Fair Queueing

options 	NFS_BOOT_DHCP

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?

options 	WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=4
options 	FONT_VT220L8x10
options 	WS_KERNEL_FG=WSCOL_BROWN
options 	WS_KERNEL_BG=WSCOL_BLUE

#
# Device configuration
#
mainbus0 at root

cpu*		at mainbus?
shb*		at mainbus?
pfckbd*		at mainbus?

#
# Workstation Console attachments
#
hpcfb*		at hd64461video?
wsdisplay*	at hpcfb?

hpckbd*		at pfckbd?
wskbd*		at hpckbd? mux 1

#
# HP Jornada
#
# Serial Devices
# don't need to define SCICONSOLE. you can select from bootloader.
scif0		at shb?
options 	SCIFCN_SPEED=19200

adc*		at shb?			# analog->digital converter

j6x0pwr*	at adc?			# '680 battery, on/off, etc

j6x0lcd*	at shb?			# '680 LCD power, brightness, contrast

j6x0tp*		at adc?			# '680 touch panel
wsmouse*	at j6x0tp? mux 0	# - as a pointing device
wskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
# Do not convert hard icons to key presses while serving mouse input.
#options 	J6X0TP_WSMOUSE_EXCLUSIVE
# Customization for the mini-keymap of hard icons.
#options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
#options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
#options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
#options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"


hd64461if* at shb?
hd64461pcmcia*	at hd64461if?
hd64461video*	at hd64461if?

#
# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
#
com0		at hd64461if?

#
# machine independent part
#
# PCMCIA bus support
pcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
pcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only

# PCMCIA network interfaces
mbe*	at pcmcia0 function ?		# MB8696x based Ethernet
ne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
wi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)

ukphy*	at mii? phy ?			# generic unknown PHYs

# PCMCIA IDE disk
# PC-Card slot
wdc1	at pcmcia0 function ?
atabus1 at wdc1 channel ?
wd*	at atabus1 drive ? flags 0x0000
# Compact Flash slot (only memory mapped mode CF can attach)
wdc0	at pcmcia1 function ?
atabus0 at wdc0 channel ?
wd*	at atabus0 drive ? flags 0x0000

# Network Interfaces

# network pseudo-devices
pseudo-device	bpfilter	2	# Berkeley packet filter
pseudo-device	loop			# network loopback

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# kernel symbol table interface

# mouse & keyboard multiplexor pseudo-devices
pseudo-device	wsmux
