GENERIC revision 1.1
11.1Sober#	$NetBSD: GENERIC,v 1.1 2006/12/16 05:07:52 ober Exp $
21.1Sober#
31.1Sober# GENERIC machine description file
41.1Sober#
51.1Sober# This machine description file is used to generate the default NetBSD
61.1Sober# kernel.  The generic kernel does not include all options, subsystems
71.1Sober# and device drivers, but should be useful for most applications.
81.1Sober#
91.1Sober# The machine description file can be customised for your specific
101.1Sober# machine to reduce the kernel size and improve its performance.
111.1Sober#
121.1Sober# For further information on compiling NetBSD kernels, see the config(8)
131.1Sober# man page.
141.1Sober#
151.1Sober# For further information on hardware support for this architecture, see
161.1Sober# the intro(4) man page.  For further information about kernel options
171.1Sober# for this architecture, see the options(4) man page.  For an explanation
181.1Sober# of each device driver in this file see the section 4 man page for the
191.1Sober# device.
201.1Sober
211.1Soberinclude		"arch/zaurus/conf/std.zaurus"
221.1Sober
231.1Sober#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Sober
251.1Sobermaxusers	32			# estimated number of users
261.1Sober
271.1Sober# CPU options
281.1Sober
291.1Sober# For XScale systems
301.1Sober#options 	CPU_XSCALE_PXA250        # Support the XScale PXA25x core
311.1Soberoptions 	CPU_XSCALE_PXA270        # Support the XScale PXA27x core
321.1Sobermakeoptions	CPUFLAGS="-mcpu=xscale"
331.1Sober
341.1Sober# Architecture options
351.1Soberoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
361.1Soberoptions 	PXAGPIO_HAS_GPION_INTRS
371.1Sober
381.1Sober# Standard system options
391.1Sober
401.1Soberoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
411.1Sober#options 	HZ=512		# clock interrupt generates every 1/HZ sec
421.1Sober#options 	NTP		# NTP phase/frequency locked loop
431.1Sober
441.1Sober# File systems
451.1Soberfile-system	FFS		# UFS
461.1Sober#file-system	EXT2FS		# second extended file system (linux)
471.1Sober#file-system	LFS		# log-structured file system
481.1Soberfile-system	MFS		# memory file system
491.1Sober#file-system	NFS		# Network File System client
501.1Sober#file-system	NTFS		# Windows/NT file system (experimental)
511.1Sober#file-system	CD9660		# ISO 9660 + Rock Ridge file system
521.1Sober#file-system	MSDOSFS		# MS-DOS file system
531.1Sober#file-system	FDESC		# /dev/fd
541.1Soberfile-system	KERNFS		# /kern
551.1Sober#file-system	NULLFS		# loopback file system
561.1Sober#file-system	OVERLAY		# overlay file system
571.1Sober#file-system	PORTAL		# portal filesystem (still experimental)
581.1Sober#file-system	PROCFS		# /proc
591.1Sober#file-system	UMAPFS		# NULLFS + uid and gid remapping
601.1Sober#file-system	UNION		# union file system
611.1Sober#file-system	CODA		# Coda File System; also needs vcoda (below)
621.1Sober#file-system	PTYFS		# /dev/pts/N support
631.1Soberfile-system	TMPFS		# Efficient memory file-system
641.1Sober#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
651.1Sober
661.1Sober# File system options
671.1Sober#options 	QUOTA		# UFS quotas
681.1Sober#options 	FFS_EI		# FFS Endian Independant support
691.1Sober#options 	NFSSERVER
701.1Sober#options 	SOFTDEP
711.1Sober#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
721.1Soberoptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
731.1Sober#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
741.1Sober				# immutable) behave as system flags.
751.1Sober
761.1Sober# Networking options
771.1Sober#options 	GATEWAY		# packet forwarding
781.1Soberoptions 	INET		# IP + ICMP + TCP + UDP
791.1Sober#options 	INET6		# IPv6
801.1Sober
811.1Sober# Compatibility options
821.1Sober#options 	COMPAT_13	# NetBSD 1.3,
831.1Sober#options 	COMPAT_14	# NetBSD 1.4,
841.1Sober#options 	COMPAT_15	# NetBSD 1.5,
851.1Sober#options 	COMPAT_16	# NetBSD 1.6,
861.1Sober#options 	COMPAT_20	# NetBSD 2.0,
871.1Sober#options 	COMPAT_30	# NetBSD 3.0 compatibility.
881.1Soberoptions 	COMPAT_43	# and 4.3BSD
891.1Sober#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
901.1Soberoptions 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
911.1Soberoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
921.1Sober
931.1Sober# Shared memory options
941.1Sober
951.1Soberoptions 	SYSVMSG		# System V-like message queues
961.1Soberoptions 	SYSVSEM		# System V-like semaphores
971.1Sober#options 	SEMMNI=10	# number of semaphore identifiers
981.1Sober#options 	SEMMNS=60	# number of semaphores in system
991.1Sober#options 	SEMUME=10	# max number of undo entries per process
1001.1Sober#options 	SEMMNU=30	# number of undo structures in system
1011.1Soberoptions 	SYSVSHM		# System V-like memory sharing
1021.1Sober#options 	SHMMAXPGS=1024	# 1024 pages is the default
1031.1Soberoptions 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
1041.1Sober
1051.1Sober# Device options
1061.1Sober
1071.1Sober# Miscellaneous kernel options
1081.1Sober#options 	KTRACE          # system call tracing via ktrace(1)
1091.1Sober#options 	SYSTRACE        # system call vetting via systrace(1)
1101.1Sober#options 	IRQSTATS        # manage IRQ statistics
1111.1Sober#options 	LKM             # loadable kernel modules
1121.1Sober#options 	KMEMSTATS       # kernel memory statistics
1131.1Sober#options 	SCSIVERBOSE     # Verbose SCSI errors
1141.1Sober#options 	MIIVERBOSE      # Verbose MII autoconfuration messages
1151.1Sober#options 	USBVERBOSE      # verbose USB device autoconfig messages
1161.1Sober#options 	USERCONF        # userconf(4) support
1171.1Sober#options 	PIPE_SOCKETPAIR # smaller, but slower pipe(2)
1181.1Sober#options 	SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel
1191.1Sober
1201.1Sober#
1211.1Sober# wscons options
1221.1Sober#
1231.1Sober# builtin terminal emulations
1241.1Sober#options 	WSEMUL_VT100
1251.1Sober# allocate a number of virtual screens at autoconfiguration time
1261.1Sober#options 	WSDISPLAY_DEFAULTSCREENS=4
1271.1Sober
1281.1Sober# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1291.1Sober#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1301.1Sober#options 	WS_DEFAULT_FG=WSCOL_WHITE
1311.1Sober#options 	WS_DEFAULT_BG=WSCOL_BLACK
1321.1Sober#options 	WS_DEFAULT_COLATTR="(0)"
1331.1Sober#options 	WS_DEFAULT_MONOATTR="(0)"
1341.1Sober#options 	WS_KERNEL_FG=WSCOL_BROWN
1351.1Sober#options 	WS_KERNEL_BG=WSCOL_BLUE
1361.1Sober#options 	WS_KERNEL_COLATTR=""
1371.1Sober#options 	WS_KERNEL_MONOATTR=""
1381.1Sober
1391.1Sober# compatibility to other console drivers
1401.1Sober#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1411.1Sober#options 	WSDISPLAY_COMPAT_USL		# VT handling
1421.1Sober#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1431.1Sober
1441.1Sober#options 	FONT_VT220L8x10			# the console font
1451.1Sober
1461.1Sober# Development and Debugging options
1471.1Sober
1481.1Soberoptions 	DIAGNOSTIC      # internally consistency checks
1491.1Soberoptions 	DEBUG
1501.1Sober#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1511.1Soberoptions 	DDB             # in-kernel debugger
1521.1Soberoptions 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
1531.1Sober#options 	KGDB
1541.1Sober#makeoptions 	DEBUG="-g"  # compile full symbol table
1551.1Sober#options 	SYMTAB_SPACE=512000
1561.1Sober
1571.1Sober
1581.1Sober# Kernel root file system and dump configuration.
1591.1Soberconfig		netbsd		root on ? type ?
1601.1Sober
1611.1Sober
1621.1Sober# The main bus device
1631.1Sobermainbus0 at root
1641.1Sober
1651.1Sober# The boot cpu
1661.1Sobercpu0 at mainbus?
1671.1Sober
1681.1Sober# integrated peripherals
1691.1Soberpxaip0 at mainbus?
1701.1Sober
1711.1Soberpxaintc0 at pxaip?	# interrupt controller
1721.1Soberpxagpio0 at pxaip?	# GPIO
1731.1Soberpxadmac0 at pxaip?	# DMA controller
1741.1Sober
1751.1Sober# PCMCIA/CF socket and GPIO controllers
1761.1Soberscoop0 at pxaip?
1771.1Soberscoop1 at pxaip?
1781.1Sober
1791.1Sober# ADC, touch screen, backlight
1801.1Sober#zssp0		at pxaip?
1811.1Sober
1821.1Sober# touch screen
1831.1Sober#zts0 at pxaip?
1841.1Sober#wsmouse* at zts? mux 0
1851.1Sober
1861.1Sober# keyboard
1871.1Sober#zkbd0 at pxaip?
1881.1Sober#wskbd* at zkbd? mux 1
1891.1Sober
1901.1Sober# Zaurus remote controller
1911.1Sober#zrc0 at pxaip?
1921.1Sober#wskbd* at zrc? mux 1
1931.1Sober
1941.1Sober# LCD
1951.1Sober#lcd0 at pxaip?
1961.1Sober#wsdisplay* at lcd? console ?
1971.1Sober
1981.1Sober## Audio
1991.1Sober#zaudio0 at pxaip?
2001.1Sober#audio* at zaudio?
2011.1Sober
2021.1Sober# cotulla integrated 16550 UARTs
2031.1Soberoptions 	COM_PXA2X0
2041.1Sobercom0 at pxaip?  addr 0x40100000 intr 22	# Full Function UART
2051.1Sobercom1 at pxaip?  addr 0x40200000 intr 21	# Bluetooth UART
2061.1Sobercom2 at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
2071.1Sober
2081.1Sober# integrated PCMCIA/CF controller
2091.1Soberpxapcic0 at pxaip?
2101.1Sober
2111.1Sober# PCMCIA bus support
2121.1Soberpcmcia* at pxapcic?
2131.1Sober
2141.1Sober# PCMCIA (CF) devices
2151.1Sobercom* at pcmcia?		# PCMCIA modems/serial ports
2161.1Soberwi* at pcmcia?		# WaveLAN IEEE 802.11DS
2171.1Soberne* at pcmcia?		# PCMCIA based NE2000 ethernet
2181.1Soberwdc* at pcmcia?		# hard disk controller
2191.1Sober
2201.1Soberatabus* at wdc? channel ?
2211.1Sober
2221.1Sober# IDE hard drives
2231.1Soberwd* at atabus? drive ? flags 0x0000
2241.1Sober
2251.1Sober# Pseudo-Devices
2261.1Sober
2271.1Sober# disk/mass storage pseudo-devices
2281.1Sober#pseudo-device	md		1	# memory disk device (ramdisk)
2291.1Sober#pseudo-device	vnd		4	# disk-like interface to files
2301.1Sober#options 	VND_COMPRESSION		# compressed vnd(4)
2311.1Sober
2321.1Sober# network pseudo-devices
2331.1Soberpseudo-device	loop			# network loopback
2341.1Sober
2351.1Sober# miscellaneous pseudo-devices
2361.1Soberpseudo-device	pty			# pseudo-terminals
2371.1Sober#pseudo-device	sequencer		# MIDI sequencer
2381.1Soberpseudo-device	rnd			# /dev/random and in-kernel generator
2391.1Soberpseudo-device	clockctl		# user control of clock subsystem
2401.1Soberpseudo-device	ksyms			# /dev/ksyms
2411.1Sober
2421.1Sober# a pseudo device needed for Coda	# also needs CODA (above)
2431.1Sober#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2441.1Sober
2451.1Sober# a pseudo device needed for SMBFS
2461.1Sober#pseudo-device	nsmb			# experimental - SMB requester
2471.1Sober
2481.1Sober# a pseudo device needed for verified exec
2491.1Sober#pseudo-device  veriexec        1
2501.1Sober
2511.1Sober# wscons pseudo-devices
2521.1Sober#pseudo-device	wsmux			# mouse & keyboard multiplexor
2531.1Sober#pseudo-device	wsfont
254