GENERIC revision 1.40
11.40Suwe# $NetBSD: GENERIC,v 1.40 2004/07/05 00:09:45 uwe Exp $
21.1Such#
31.13Sgmcgarry# GENERIC machine description file
41.13Sgmcgarry# 
51.13Sgmcgarry# This machine description file is used to generate the default NetBSD
61.13Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.13Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Such#
91.13Sgmcgarry# The machine description file can be customised for your specific
101.13Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.13Sgmcgarry#
121.13Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.13Sgmcgarry# man page.
141.13Sgmcgarry#
151.13Sgmcgarry# For further information on hardware support for this architecture, see
161.13Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.13Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.13Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.13Sgmcgarry# device.
201.1Such
211.20Such#
221.20Such# This kernel supports...
231.20Such#	HP Jornada 680/690
241.20Such#	HP HP620LX
251.20Such#	HITACHI HPW50PA
261.20Such#
271.20Such
281.13Sgmcgarryinclude 	"arch/hpcsh/conf/std.hpcsh"
291.24Satatat
301.24Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
311.1Such
321.1Suchmaxusers	32			# estimated number of users
331.1Such
341.40Suwe
351.40Suwe# System options specific to hpcsh
361.40Suwe
371.40Suwe# CPU support.  At least one is REQUIRED.
381.40Suweoptions 	SH3
391.40Suwe#options 	SH4
401.40Suwe
411.40Suwe# Example of how to set gcc optimization options (XXX: not tested)
421.40Suwe#makeoptions	COPTS="-Os"		# generic
431.40Suwe#makeoptions	CPUFLAGS="-m3"		# CPU specific
441.40Suwe
451.20Such#
461.20Such# PCLOCK is estimated by kernel.
471.20Such#				PCLOCK		CPU CLOCK
481.20Such#	HP Jornada 680/690	22.22MHz	133MHz
491.40Suwe#	HP HP620LX		18.75MHz	 75MHz
501.20Such#	HITACHI HPW50PA		25MHz		100MHz
511.20Such#
521.40Suwe#options 	PCLOCK=...
531.1Such
541.40Suwe# in-kernel bootloader, see kloader(4)
551.20Suchoptions 	KLOADER_KERNEL_PATH="\"/netbsd\""
561.40Suwe#options 	KLOADER_DEBUG
571.40Suwe
581.40Suwe#options	HPC_DEBUG_INTERRUPT_MONITOR
591.40Suwe#options	KSTACK_DEBUG
601.40Suwe
611.1Such
621.1Such# Standard system options
631.40Suwe
641.33Suwe#options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
651.33Suwe				# (overrides tz info that hpcboot.exe passes)
661.1Such
671.40Suweoptions 	KTRACE		# system call tracing via ktrace(1)
681.40Suwe#options 	SYSTRACE	# system call vetting via systrace(1)
691.40Suwe
701.40Suwe#options 	SYSVMSG		# System V-like message queues
711.40Suwe#options 	SYSVSEM		# System V-like semaphores
721.40Suwe#options 	SEMMNI=10	# number of semaphore identifiers
731.40Suwe#options 	SEMMNS=60	# number of semaphores in system
741.40Suwe#options 	SEMUME=10	# max number of undo entries per process
751.40Suwe#options 	SEMMNU=30	# number of undo structures in system
761.40Suwe#options 	SYSVSHM		# System V-like memory sharing
771.40Suwe#options 	SHMMAXPGS=2048	# 2048 pages is the default
781.40Suwe#options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
791.40Suwe
801.40Suwe#options 	LKM		# loadable kernel modules
811.40Suwe
821.27Slukemoptions 	USERCONF		# userconf(4) support
831.40Suweoptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
841.40Suwe
851.40Suwe# Enable experimental buffer queue strategy for better responsiveness under
861.40Suwe# high disk I/O load. Likely stable but not yet the default.
871.40Suwe#options 	NEW_BUFQ_STRATEGY
881.40Suwe
891.40Suwe# Diagnostic/debugging support options
901.40Suwe#options 	DIAGNOSTIC	# expensive kernel consistency checks
911.40Suwe#options 	DEBUG		# expensive debugging checks/support
921.40Suwe#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
931.40Suwe#options 	DDB		# in-kernel debugger
941.40Suwe#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
951.40Suwe#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
961.40Suwe#options 	KGDB		# remote debugger
971.40Suwe#options 	KGDB_DEVRATE=19200
981.40Suwe#options 	"KGDB_DEVNAME=\"scif\""		# HP Jornada
991.40Suwe#options 	"KGDB_DEVNAME=\"hd64461uart\""	# HITACHI PERSONA (SH3)
1001.40Suwe#options 	"KGDB_DEVNAME=\"hd64465uart\""	# HITACHI PERSONA (SH4)
1011.40Suwe#makeoptions	DEBUG="-g"	# compile full symbol table
1021.26Stsutsui
1031.26Stsutsui# Compatibility options
1041.40Suweoptions 	COMPAT_15	# NetBSD 1.5
1051.40Suweoptions 	COMPAT_16	# NetBSD 1.6
1061.40Suweoptions 	COMPAT_20	# NetBSD 2.0
1071.26Stsutsui#options 	BSDDISKLABEL_EI	# endian independent disklabel support
1081.1Such
1091.1Such# Executable format options
1101.1Suchoptions 	EXEC_COFF	# 32-bit COFF executables
1111.1Suchoptions 	EXEC_ELF32	# 32-bit ELF executables
1121.1Such
1131.1Such# File systems
1141.1Suchfile-system 	FFS		# UFS
1151.40Suwe#file-system 	MFS		# memory file system (requires FFS)
1161.40Suwe#file-system 	EXT2FS		# second extended file system (linux)
1171.1Suchfile-system 	MSDOSFS		# MS-DOS file system
1181.1Suchfile-system	NFS		# Sun NFS-compatible filesystem client
1191.40Suwe#file-system 	NULLFS		# loopback file system
1201.40Suwe#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1211.40Suwe#file-system 	UNION		# union file system
1221.40Suwe#file-system 	OVERLAY		# overlay file system
1231.40Suwe#file-system 	PORTAL		# portal filesystem (still experimental)
1241.40Suwe#file-system 	FDESC		# /dev/fd
1251.22Suchfile-system 	KERNFS		# /kern
1261.22Suchfile-system 	PROCFS		# /proc
1271.40Suwe#file-system	CODA		# Coda File System; also needs vcoda (below)
1281.40Suwe#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
1291.1Such
1301.1Such# File system options
1311.40Suwe#options 	FFS_EI		# FFS Endian Independent support
1321.40Suwe#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1331.40Suwe				# immutable) behave as system flags.
1341.1Such
1351.1Such# Networking options
1361.1Suchoptions 	INET		# IP + ICMP + TCP + UDP
1371.9Suchoptions 	INET6		# IPV6
1381.9Such
1391.38Suchoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1401.38Suchoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1411.38Suchoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1421.38Such
1431.37Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1441.37Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1451.37Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1461.37Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1471.37Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1481.37Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1491.37Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1501.37Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1511.37Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1521.37Sabs#options 	ALTQ_RED	# Random Early Detection
1531.37Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1541.37Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1551.37Sabs
1561.40Suwe# These options enable verbose messages for several subsystems.
1571.40Suwe# Warning, these may compile large string tables into the kernel!
1581.40Suweoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1591.40Suwe#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1601.40Suwe
1611.1Suchoptions 	NFS_BOOT_DHCP
1621.1Such
1631.40Suwe#
1641.40Suwe# wscons options
1651.40Suwe#
1661.40Suwe# builtin terminal emulations
1671.1Suchoptions 	WSEMUL_VT100
1681.40Suwe# allocate a number of virtual screens at autoconfiguration time
1691.1Suchoptions 	WSDISPLAY_DEFAULTSCREENS=4
1701.40Suwe# different kernel output - see dev/wscons/wsdisplayvar.h
1711.1Suchoptions 	WS_KERNEL_FG=WSCOL_BROWN
1721.1Suchoptions 	WS_KERNEL_BG=WSCOL_BLUE
1731.38Such# compatibility to other console drivers
1741.38Suchoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1751.38Suchoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1761.38Suchoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1771.38Suchoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1781.1Such
1791.40Suweoptions 	FONT_VT220L8x10			# the console font
1801.40Suwe
1811.40Suwe
1821.40Suwe# Kernel root file system and dump configuration.
1831.40Suweconfig		netbsd	root on ? type ?
1841.40Suwe
1851.1Such#
1861.1Such# Device configuration
1871.1Such#
1881.1Suchmainbus0 at root
1891.1Such
1901.39Such# temporally power management
1911.39Suchhpcapm0		at mainbus0			# power management
1921.39Suchapmdev0		at hpcapm0			# APM
1931.39Suchbtnmgr0		at mainbus0
1941.39Suchwskbd*		at btnmgr0 mux 1
1951.39Such
1961.22Suchcpu*		at mainbus?
1971.22Suchshb*		at mainbus?
1981.22Suchpfckbd*		at mainbus?
1991.1Such
2001.1Such#
2011.1Such# Workstation Console attachments
2021.1Such#
2031.3Suchhpcfb*		at hd64461video?
2041.1Suchwsdisplay*	at hpcfb?
2051.22Such
2061.1Suchhpckbd*		at pfckbd?
2071.38Suchwskbd0		at hpckbd? mux 1
2081.1Such
2091.1Such#
2101.1Such# HP Jornada
2111.1Such#
2121.1Such# Serial Devices
2131.1Such# don't need to define SCICONSOLE. you can select from bootloader.
2141.31Suwescif0		at shb?
2151.11Slukemoptions 	SCIFCN_SPEED=19200
2161.30Suwe
2171.30Suweadc*		at shb?			# analog->digital converter
2181.30Suwe
2191.30Suwej6x0pwr*	at adc?			# '680 battery, on/off, etc
2201.30Suwe
2211.32Suwej6x0lcd*	at shb?			# '680 LCD power, brightness, contrast
2221.32Suwe
2231.30Suwej6x0tp*		at adc?			# '680 touch panel
2241.30Suwewsmouse*	at j6x0tp? mux 0	# - as a pointing device
2251.30Suwewskbd1		at j6x0tp? mux 1	# - "hard icons" as keys
2261.30Suwe# Do not convert hard icons to key presses while serving mouse input.
2271.38Suchoptions 	J6X0TP_WSMOUSE_EXCLUSIVE
2281.30Suwe# Customization for the mini-keymap of hard icons.
2291.40Suwe#options 	J6X0TP_SETTINGS_ICON_KEYSYM="KS_Home"
2301.40Suwe#options 	J6X0TP_PGUP_ICON_KEYSYM="KS_Prior"
2311.40Suwe#options 	J6X0TP_PGDN_ICON_KEYSYM="KS_Next"
2321.40Suwe#options 	J6X0TP_SWITCH_ICON_KEYSYM="KS_End"
2331.1Such
2341.21Suchhd64461if* at shb?
2351.20Suchhd64461pcmcia*	at hd64461if?
2361.40Suwe#options 	HD64461PCMCIA_REORDER_ATTACH	# attach channel 1 (CF) first
2371.20Suchhd64461video*	at hd64461if?
2381.1Such
2391.18Such#
2401.18Such# HITACHI PERSONA (HPW-50PAD, HPQ-650PA)
2411.18Such#
2421.20Suchcom0		at hd64461if?
2431.20Such
2441.1Such#
2451.1Such# machine independent part
2461.1Such#
2471.40Suwe
2481.1Such# PCMCIA bus support
2491.40Suwe#pcmcia* at hd64461pcmcia? controller ? socket ?
2501.1Suchpcmcia0 at hd64461pcmcia? controller 0 socket ?	# I/O card, memory card
2511.1Suchpcmcia1 at hd64461pcmcia? controller 1 socket ? # memory card only
2521.1Such
2531.40Suwe# PCMCIA IDE controllers
2541.40Suwe#wdc*	at pcmcia? function ?
2551.40Suwewdc0	at pcmcia1 function ?		# CF slot
2561.40Suwewdc1	at pcmcia0 function ?		# PC Card slot
2571.40Suwe
2581.40Suwe# ATA (IDE) bus support
2591.40Suwe#atabus* at ata?
2601.40Suweatabus0 at wdc0 channel ?		# CF slot
2611.40Suweatabus1 at wdc1 channel ?		# PC Card slot
2621.40Suwe
2631.40Suwe# IDE drives
2641.40Suwewd*	at atabus? drive ? flags 0x0000
2651.40Suwe
2661.1Such# PCMCIA network interfaces
2671.31Suwembe*	at pcmcia0 function ?		# MB8696x based Ethernet
2681.1Suchne*	at pcmcia0 function ?		# NE2000-compatible Ethernet
2691.31Suwewi*	at pcmcia0 function ?		# Lucent/Intersil WaveLan IEEE (802.11)
2701.22Such
2711.40Suwe# MII/PHY support
2721.40Suwensphyter* at mii? phy ?			# NS83843 PHYs
2731.5Suchukphy*	at mii? phy ?			# generic unknown PHYs
2741.1Such
2751.38Such# PCMCIA Serial Devices
2761.38Suchcom*	at pcmcia? function ?		# Modems and serial cards
2771.38Such
2781.40Suwe
2791.40Suwe# Pseudo-Devices
2801.40Suwe
2811.40Suwe# disk/mass storage pseudo-devices
2821.40Suwe#pseudo-device	vnd		4	# disk-like interface to files
2831.1Such
2841.1Such# network pseudo-devices
2851.38Suchpseudo-device	loop			# network loopback
2861.38Suchpseudo-device	ppp		1	# serial-line IP ports
2871.20Suchpseudo-device	bpfilter	2	# Berkeley packet filter
2881.40Suwe#pseudo-device	ipfilter		# IP filter, NAT
2891.40Suwe#pseudo-device	pf			# PF packet filter
2901.40Suwe#pseudo-device	pflog			# PF log if
2911.1Such
2921.1Such# miscellaneous pseudo-devices
2931.1Suchpseudo-device	pty			# pseudo-terminals
2941.6Skanaokapseudo-device	rnd			# /dev/random and in-kernel generator
2951.25Slukempseudo-device	clockctl		# user control of clock subsystem
2961.40Suwe#pseudo-device	irframetty		# IrDA frame line discipline
2971.31Suwepseudo-device	ksyms			# kernel symbol table interface
2981.1Such
2991.40Suwe# a pseudo device needed for Coda	# also needs CODA (above)
3001.40Suwe#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
3011.40Suwe
3021.40Suwe# a pseudo device needed for SMBFS
3031.40Suwe#pseudo-device	nsmb			# experimental - SMB requester
3041.40Suwe
3051.40Suwe# wscons pseudo-devices
3061.40Suwepseudo-device	wsmux			# mouse & keyboard multiplexor
3071.40Suwe#pseudo-device	wsfont			# dynamic font loading support
3081.40Suwe#pseudo-device	hpf1275a		# HP F1275A external keyboard
3091.40Suwe#wskbd* at hpf1275a? mux 1
310