GENERIC revision 1.157
11.157Sbouyer# $NetBSD: GENERIC,v 1.157 2004/06/28 21:07:49 bouyer Exp $
21.127Sgmcgarry#
31.127Sgmcgarry# GENERIC machine description file
41.127Sgmcgarry# 
51.127Sgmcgarry# This machine description file is used to generate the default NetBSD
61.127Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.127Sgmcgarry# and device drivers, but should be useful for most applications.
81.127Sgmcgarry#
91.127Sgmcgarry# The machine description file can be customised for your specific
101.127Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.127Sgmcgarry#
121.127Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.127Sgmcgarry# man page.
141.127Sgmcgarry#
151.127Sgmcgarry# For further information on hardware support for this architecture, see
161.127Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.127Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.127Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.127Sgmcgarry# device.
201.1Sderaadt
211.127Sgmcgarryinclude 	"arch/sparc/conf/std.sparc"
221.96Shubertf
231.133Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.133Satatat
251.157Sbouyer#ident 		"GENERIC-$Revision: 1.157 $"
261.45Spk
271.45Spkmaxusers	32
281.32Smrg
291.55Spk## System kernel configuration.  See options(4) for more detail.
301.55Spk
311.55Spk
321.24Sthorpej# Options for variants of the Sun SPARC architecure.
331.55Spk# We currently support three architecture types; at least one is required.
341.43Slukemoptions 	SUN4		# sun4/100, sun4/200, sun4/300
351.43Slukemoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
361.43Slukemoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
371.150Schsoptions 	SUN4D		# sun4d - SS1000, SC2000
381.24Sthorpej
391.109Spkoptions 	SUN4_MMU3L	# sun4/400 3-level MMU
401.1Sderaadt
411.55Spk## System options specific to the sparc machine type
421.55Spk
431.55Spk# Blink the power LED on some machines to indicate the system load.
441.55Spk#options 	BLINK
451.55Spk
461.55Spk## Use a faster console than the PROM's slow drawing routines.  Not needed
471.55Spk## for headless (no framebuffer) machines.
481.77Sadoptions 	RASTERCONSOLE		# fast rasterop console
491.79Sadoptions 	FONT_GALLANT12x22	# the console font
501.79Sad#options 	FONT_BOLD8x16		# a somewhat smaller font
511.103Spk## default console colors: black-on-white; this can be changed
521.103Spk## using the following two options.
531.103Spk#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
541.103Spk#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
551.55Spk
561.55Spk#### System options that are the same for all ports
571.55Spk
581.55Spk## Root device configuration: change the ?'s if you are going to use a
591.55Spk## nonstandard root partition (other than where the kernel is booted from)
601.55Spk## and/or nonstandard root type (not ffs or nfs).  Normally this can be
611.55Spk## automagically determined at boot time.
621.55Spk
631.55Spkconfig		netbsd	root on ? type ?
641.55Spk
651.55Spk## System call tracing (see ktrace(1)).
661.55Spkoptions 	KTRACE
671.140Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
681.55Spk
691.55Spk## Collect statistics on kernel malloc's and free's.  This does have a
701.55Spk## significant performance hit on slower machines, so it is intended for
711.55Spk## diagnostic use only.
721.55Spk#options 	KMEMSTATS
731.55Spk
741.55Spk## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
751.43Slukemoptions 	SYSVMSG		# System V message queues
761.43Slukemoptions 	SYSVSEM		# System V semaphores
771.125Slukem#options 	SEMMNI=10	# number of semaphore identifiers
781.125Slukem#options 	SEMMNS=60	# number of semaphores in system
791.125Slukem#options 	SEMUME=10	# max number of undo entries per process
801.125Slukem#options 	SEMMNU=30	# number of undo structures in system
811.43Slukemoptions 	SYSVSHM		# System V shared memory
821.43Slukem#options 	SHMMAXPGS=1024	# 1024 pages is the default
831.157Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
841.24Sthorpej
851.55Spk## Loadable kernel module support; still under development.
861.55Spkoptions 	LKM
871.130Sjdolecek
881.137Slukemoptions 	USERCONF	# userconf(4) support
891.130Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
901.143Sjunyoung
911.144Swiz# Enable experimental buffer queue strategy for better responsiveness under 
921.143Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
931.143Sjunyoung#options 	NEW_BUFQ_STRATEGY
941.55Spk
951.134Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
961.59Spkoptions 	NFS_BOOT_BOOTPARAM
971.59Spk#options 	NFS_BOOT_BOOTP
981.134Slukemoptions 	NFS_BOOT_DHCP
991.55Spk
1001.55Spk#### Debugging options
1011.55Spk
1021.55Spk## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
1031.55Spk## serial console break or keyboard reset, where the PROM would normally
1041.55Spk## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
1051.55Spk#options 	DDB			# kernel dynamic debugger
1061.52Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
1071.69Spk#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
1081.55Spk
1091.55Spk## You may also use gdb, on another computer connected to this machine over
1101.124Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1111.124Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
1121.124Slukem## the minor device number encodes the PROM enumeration of the serial ports,
1131.124Slukem## i.e.:
1141.124Slukem## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
1151.124Slukem## (Note: ttyc and ttyd are available only on some sun4 models)
1161.124Slukem#options 	KGDB			# support for kernel gdb
1171.124Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1181.124Slukem#options 	KGDB_DEVRATE=38400	# baud rate
1191.24Sthorpej
1201.55Spk
1211.55Spk## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1221.55Spk## such that gdb(1) can be used on a kernel coredump.
1231.55Spk
1241.125Slukem#makeoptions	DEBUG="-g"
1251.55Spk
1261.55Spk
1271.55Spk## Adds code to the kernel that does internal consistency checks, and will
1281.55Spk## cause the kernel to panic if corruption of internal data structures
1291.55Spk## is detected.
1301.55Spk#options 	DIAGNOSTIC	# extra kernel sanity checking
1311.55Spk
1321.55Spk## Enable (possibly expensive) debugging code that may also display messages
1331.55Spk## on the system console
1341.55Spk#options 	DEBUG
1351.55Spk
1361.55Spk## Make SCSI error messages more verbose when explaining their meanings.
1371.55Spkoptions 	SCSIVERBOSE
1381.105Saugustss
1391.105Saugustssoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1401.55Spk
1411.55Spk## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1421.55Spk## This allows writing to /dev/mem, loading kernel modules while multi-user,
1431.55Spk## and other insecurities good only for development work.  Do not use this
1441.55Spk## option on a production machine.
1451.55Spk#options 	INSECURE
1461.55Spk
1471.55Spk## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1481.55Spk## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1491.55Spk## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1501.55Spk## opaque file mechanism.  Perl calls this "secure setuid scripts."
1511.55Spk
1521.55Spk#options 	FDSCRIPTS
1531.55Spk#options 	SETUIDSCRIPTS
1541.55Spk
1551.55Spk## Options for compatibility with previous releases foreign system binaries.
1561.55Spk## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1571.55Spk## additional user-level utilities or system configuration files. See
1581.55Spk## compat_sunos(8) and compat_svr4(8).
1591.55Spk
1601.43Slukemoptions 	COMPAT_43	# 4.3BSD system interfaces
1611.43Slukemoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1621.43Slukemoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1631.43Slukemoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1641.54Smjacoboptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1651.89Saugustssoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
1661.148Stronoptions 	COMPAT_16	# NetBSD 1.6 binary compatibility
1671.152Schristosoptions		COMPAT_20	# NetBSD 2.0 binary compatibility
1681.43Slukemoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1691.43Slukemoptions 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1701.1Sderaadt
1711.55Spk## File systems.  You probably need at least one of FFS or NFS.
1721.43Slukemfile-system	FFS		# Berkeley Fast Filesystem
1731.43Slukemfile-system	NFS		# Sun NFS-compatible filesystem client
1741.43Slukemfile-system	KERNFS		# kernel data-structure filesystem
1751.43Slukemfile-system	NULLFS		# NULL layered filesystem
1761.95Swrstudenfile-system 	OVERLAY		# overlay file system
1771.43Slukemfile-system	MFS		# memory-based filesystem
1781.43Slukemfile-system	FDESC		# user file descriptor filesystem
1791.43Slukemfile-system	UMAPFS		# uid/gid remapping filesystem
1801.43Slukemfile-system	LFS		# Log-based filesystem (still experimental)
1811.43Slukemfile-system	PORTAL		# portal filesystem (still experimental)
1821.43Slukemfile-system	PROCFS		# /proc
1831.43Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1841.43Slukemfile-system	UNION		# union file system
1851.43Slukemfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1861.91Sphilfile-system	CODA		# Coda File System; also needs vcoda (below)
1871.43Slukem
1881.55Spk## File system options.
1891.43Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
1901.43Slukemoptions 	QUOTA		# FFS quotas
1911.63Spk#options 	FFS_EI		# FFS Endian Independent support
1921.125Slukemoptions 	SOFTDEP		# FFS soft updates support.
1931.94Sitojun
1941.55Spk## Network protocol support.  In most environments, INET is required.
1951.57Spkoptions 	INET		# IP (Internet Protocol) v4
1961.94Sitojunoptions 	INET6		# IPV6
1971.94Sitojun#options 	IPSEC		# IP security
1981.94Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1991.94Sitojun#options 	IPSEC_DEBUG	# debug for IP security
2001.57Spk#options 	GATEWAY		# packet forwarding ("router switch")
2011.57Spk#options 	MROUTING	# packet forwarding of multicast packets
2021.57Spk#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
2031.57Spkoptions 	NS		# Xerox NS networking
2041.57Spk#options 	NSIP		# Xerox NS tunneling over IP
2051.57Spkoptions 	ISO,TPIP	# OSI networking
2061.112Ssommerfe#options 	EON		# OSI tunneling over IP
2071.57Spk#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
2081.75Spk#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2091.67Spkoptions 	NTP		# Network Time Protocol in-kernel support
2101.57Spk#options 	PPS_SYNC	# Add serial line synchronization for NTP
2111.86Schristosoptions 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
2121.86Schristosoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
2131.139Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
2141.86Schristosoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2151.86Schristosoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2161.86Schristosoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
2171.1Sderaadt
2181.156Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
2191.156Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
2201.156Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
2211.156Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
2221.156Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
2231.156Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
2241.156Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
2251.156Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
2261.156Sabs#options 	ALTQ_PRIQ	# Priority Queueing
2271.156Sabs#options 	ALTQ_RED	# Random Early Detection
2281.156Sabs#options 	ALTQ_RIO	# RED with IN/OUT
2291.156Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
2301.156Sabs
2311.1Sderaadt
2321.55Spk
2331.57Spk#### Main bus and CPU .. all systems.
2341.1Sderaadtmainbus0 at root
2351.1Sderaadtcpu0	at mainbus0
2361.150Schscpuunit0	at mainbus0			# sun4d
2371.150Schscpuunit*	at mainbus0			# sun4d
2381.150Schscpu0	at cpuunit0				# sun4d
2391.1Sderaadt
2401.55Spk#### Bus types found on SPARC systems.
2411.55Spk
2421.24Sthorpejsbus0	at mainbus0				# sun4c
2431.24Sthorpejobio0	at mainbus0				# sun4 and sun4m
2441.150Schssparcvme0	at mainbus0			# sun4
2451.22Spkiommu0	at mainbus0				# sun4m
2461.22Spksbus0	at iommu0				# sun4m
2471.150Schssparcvme0	at iommu0			# sun4m
2481.150Schsvme0	at sparcvme0				# MI VME attachment
2491.150Schsbootbus0	at cpuunit0			# sun4d
2501.150Schsbootbus*	at cpuunit?			# sun4d
2511.64Spk
2521.64Spk## SBus expander box
2531.64Spkxbox*	at sbus? slot ? offset ?
2541.64Spksbus*	at xbox?
2551.72Spk
2561.72Spk## SBus to PCMCIA bridge
2571.149Smartin#options	FULL_SPARC_BUS_SPACE
2581.80Sabs#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
2591.80Sabs#pcmcia*	at nell?
2601.1Sderaadt
2611.55Spk#### Standard system devices -- all required for a given architecture
2621.24Sthorpej
2631.55Spk## Auxiliary system registers on sun4c and sun4m
2641.24Sthorpejauxreg0	at mainbus0				# sun4c
2651.22Spkauxreg0	at obio0				# sun4m
2661.106Smattauxiotwo0 at obio0				# only on Tadpole SPARCbook.
2671.27Sabrown
2681.55Spk## Power status and control register on Sun4m systems
2691.27Sabrownpower0	at obio0
2701.24Sthorpej
2711.150Schs## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
2721.55Spk## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2731.24Sthorpejclock0	at mainbus0				# sun4c
2741.22Spkclock0	at obio0				# sun4m
2751.24Sthorpejclock0	at obio0 addr 0xf2000000		# sun4/300
2761.150Schsclock0	at bootbus0				# sun4d
2771.24Sthorpej
2781.55Spk## Intersil clock found on 4/100 and 4/200 systems.
2791.24Sthorpejoclock0	at obio0 addr 0xf3000000		# sun4/200
2801.24Sthorpejoclock0	at obio0 addr 0x03000000		# sun4/100
2811.24Sthorpej
2821.55Spk## Memory error registers.
2831.24Sthorpejmemreg0	at mainbus0				# sun4c
2841.22Spkmemreg0	at obio0				# sun4m
2851.24Sthorpejmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2861.24Sthorpejmemreg0	at obio0 addr 0x04000000		# sun4/100
2871.74Spk
2881.74Spk## ECC memory control
2891.74Spkeccmemctl0 at mainbus0				# sun4m
2901.24Sthorpej
2911.55Spk## Timer chip found on 4/300, sun4c, and sun4m systems.
2921.24Sthorpejtimer0	at mainbus0				# sun4c
2931.22Spktimer0	at obio0				# sun4m
2941.24Sthorpejtimer0	at obio0 addr 0xef000000		# sun4/300
2951.24Sthorpej
2961.55Spk## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2971.55Spk## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2981.55Spk## Mostek clock chip on 4/300 systems.
2991.24Sthorpejeeprom0	at obio0 addr 0xf2000000		# sun4/200
3001.24Sthorpejeeprom0	at obio0 addr 0x02000000		# sun4/100
3011.24Sthorpej
3021.55Spk
3031.55Spk#### Serial port configuration
3041.55Spk
3051.55Spk## Zilog 8530 serial chips.  Each has two-channels.
3061.55Spk## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
3071.24Sthorpejzs0	at mainbus0					# sun4c
3081.24Sthorpejzs0	at obio0					# sun4m
3091.100Spkzs0	at obio0 addr 0xf1000000 level 12		# sun4/200 and sun4/300
3101.100Spkzs0	at obio0 addr 0x01000000 level 12		# sun4/100
3111.150Schszs0	at bootbus0					# sun4d
3121.100Spkzstty0	at zs0 channel 0				# ttya
3131.100Spkzstty1	at zs0 channel 1				# ttyb
3141.50Sgwr
3151.24Sthorpejzs1	at mainbus0					# sun4c
3161.24Sthorpejzs1	at obio0					# sun4m
3171.100Spkzs1	at obio0 addr 0xf0000000 level 12		# sun4/200 and sun4/300
3181.100Spkzs1	at obio0 addr 0x00000000 level 12		# sun4/100
3191.150Schszs1	at bootbus0					# sun4d
3201.100Spkkbd0	at zs1 channel 0				# keyboard
3211.100Spkms0	at zs1 channel 1				# mouse
3221.100Spk
3231.100Spkzs2	at obio0 addr 0xe0000000 level 12		# sun4/300
3241.100Spkzstty2	at zs2 channel 0				# ttyc
3251.100Spkzstty3	at zs2 channel 1				# ttyd
3261.113Smatt
3271.150Schszs*	at bootbus?					# sun4d
3281.150Schszstty*	at zs?
3291.150Schs
3301.125Slukem## NS16x50 serial chips and clones.  Present on the
3311.113Smatt## Sun JavaStation-1 and Tadpole SPARCbook 3
3321.113Smattcom*	at obio0					# sun4m
3331.66Spk
3341.97Scjs# Parallel port.
3351.97Scjsbpp*	at sbus? slot? offset ?
3361.66Spk
3371.66Spk## Magma Serial/Parallel driver
3381.66Spkmagma*	at sbus? slot ? offset ?
3391.66Spkmtty*	at magma?
3401.66Spkmbpp*	at magma?
3411.66Spk
3421.75Spk## PCMCIA serial interfaces
3431.80Sabs#com*	at pcmcia?
3441.80Sabs#pcmcom*	at pcmcia?
3451.80Sabs#com*	at pcmcom?
3461.24Sthorpej
3471.55Spk#### Disk controllers and disks
3481.55Spk
3491.26Spk#
3501.26Spk
3511.55Spk## The following flags may be set for the NCR53c94 based esp driver:
3521.55Spk##	bits 0-7:  disable disconnect/reselect for the corresponding target
3531.55Spk##	bits 8-15: disable synchronous negotiation for target [bit-8]
3541.55Spk
3551.55Spk## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3561.55Spk## Both `dma' and `esp' are needed in all cases.
3571.55Spk## Two kinds of additional SBus SCSI interfaces are available.  One uses
3581.55Spk## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3591.55Spk
3601.55Spk## sun4/300 SCSI - an NCR53c94 or equivalent behind
3611.55Spk## an LSI Logic DMA controller
3621.55Spk
3631.24Sthorpejdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3641.55Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3651.1Sderaadt
3661.55Spkdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3671.51Spkesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3681.51Spkesp0	at dma0 flags 0x0000				# sun4m
3691.24Sthorpej
3701.151Sfair# FSBE/S SCSI & SunSwift Sbus FAS366
3711.55Spkdma*	at sbus? slot ? offset ?			# SBus
3721.151Sfairesp*	at sbus? slot ? offset ? flags 0x0000		# SBus
3731.55Spkesp*	at dma? flags 0x0000				# SBus
3741.24Sthorpej
3751.55Spkscsibus* at esp?
3761.55Spk
3771.55Spk## Qlogic ISP SBus SCSI Card
3781.42Scgdisp*	at sbus? slot ? offset ?
3791.55Spkscsibus* at isp?
3801.42Scgd
3811.55Spk## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3821.55Spk## This driver has several flags which may be enabled by OR'ing
3831.55Spk## the values and using the "flags" directive.
3841.55Spk## Valid flags are:
3851.55Spk##
3861.55Spk##	0x01		Use DMA (may be polled)
3871.55Spk##	0x02		Use DMA completion interrupts
3881.55Spk##	0x04		Allow disconnect/reselect
3891.55Spk##
3901.55Spk## E.g. the following would enable DMA, interrupts, and reselect:
3911.88Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3921.55Spk##
3931.55Spk## By default, DMA is enabled in the driver.
3941.25Spk
3951.88Sdrochnersi0	at vme0 addr 0x200000 irq 2 vect 0x40
3961.55Spkscsibus* at si?
3971.24Sthorpej
3981.55Spk## NCR5380-based "SCSI Weird" on-board SCSI interface found
3991.55Spk## on sun4/100 systems.  The flags are the same as the "si"
4001.55Spk## controller.  Note, while DMA is enabled by default, only
4011.55Spk## polled DMA works at this time, and reselects do not work
4021.55Spk## on this particular controller.
4031.1Sderaadt
4041.55Spksw0	at obio0 addr 0x0a000000 level 3
4051.55Spkscsibus* at sw?
4061.24Sthorpej
4071.75Spk## PCMCIA SCSI controllers
4081.80Sabs#aic*	at pcmcia?
4091.80Sabs#scsibus* at aic?
4101.75Spk
4111.75Spk
4121.55Spk## These entries find devices on all SCSI busses and assign
4131.55Spk## unit numbers dynamically.
4141.55Spksd*	at scsibus? target ? lun ?		# SCSI disks
4151.55Spkst*	at scsibus? target ? lun ?		# SCSI tapes
4161.55Spkcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
4171.55Spkch*	at scsibus? target ? lun ?		# SCSI changer devices
4181.55Spkss*	at scsibus? target ? lun ?		# SCSI scanners
4191.118Smjacobses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE
4201.55Spkuk*	at scsibus? target ? lun ?		# unknown SCSI
4211.23Spk
4221.9Spk
4231.55Spk## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
4241.55Spk## on sun4 systems.
4251.88Sdrochnerxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
4261.88Sdrochnerxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
4271.88Sdrochnerxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
4281.88Sdrochnerxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
4291.9Spkxd*	at xdc? drive ?
4301.16Schuck
4311.55Spk## Xylogics 451 or 451 VME SMD disk controllers and disks, found
4321.55Spk## on sun4 systems.
4331.88Sdrochnerxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
4341.88Sdrochnerxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
4351.16Schuckxy*	at xyc? drive ?
4361.10Spk
4371.24Sthorpej
4381.55Spk## Floppy controller and drive found on SPARCstations.
4391.55Spk
4401.55Spkfdc0	at mainbus0				# sun4c controller
4411.55Spkfdc0	at obio0				# sun4m controller
4421.55Spkfd*	at fdc0					# the drive itself
4431.55Spk
4441.75Spk## PCMCIA IDE controllers
4451.80Sabs#wdc*	at pcmcia?
4461.149Smartin#atabus* at ata?
4471.149Smartin#wd*	at atabus? drive ? flags 0x0000
4481.149Smartin
4491.149Smartin## PCMCIA wavelan card
4501.149Smartin#wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
4511.75Spk
4521.55Spk## A disk-like interface to files.  Can be used to create floppy, CD,
4531.55Spk## miniroot images, etc.
4541.55Spk
4551.55Spkpseudo-device	vnd	4
4561.55Spk
4571.55Spk## Concatenated and striped disks; with this, you can create a software-based
4581.55Spk## disk array similar to a "RAID 0" setup.  See ccd(4).
4591.55Spk
4601.55Spkpseudo-device	ccd	4
4611.141Selric
4621.141Selric## Cryptographic disk devices;  See cgd(4)
4631.141Selric
4641.141Selric#pseudo-device	cgd	4
4651.71Soster
4661.71Soster## RAIDframe disk driver: software RAID driver.  See raid(4).
4671.71Soster
4681.129Sosterpseudo-device	raid	8
4691.129Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
4701.129Soster# Options to enable various other RAIDframe RAID types.
4711.129Soster# options	RF_INCLUDE_EVENODD=1
4721.129Soster# options	RF_INCLUDE_RAID5_RS=1
4731.129Soster# options	RF_INCLUDE_PARITYLOGGING=1
4741.129Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
4751.129Soster# options	RF_INCLUDE_INTERDECLUSTER=1
4761.129Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
4771.129Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
4781.129Soster
4791.55Spk
4801.55Spk## Memory disk device, used on boot floppies with compressed
4811.55Spk## kernel-plus-root-disk images.
4821.55Spk
4831.55Spk#pseudo-device	md	1
4841.55Spk
4851.55Spk
4861.55Spk#### Network interfaces
4871.55Spk
4881.55Spk## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4891.55Spk## Three flavors of additional SBus ethernets are available.  One attaches
4901.55Spk## directly like the sun4c on-board, one uses the ledma device like the
4911.55Spk## sun4m on-board, and one uses the lebuffer device.
4921.55Spk
4931.56Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
4941.56Spkle0		at sbus0 slot ? offset ?		# sun4c on-board
4951.56Spkledma0		at sbus0 slot ? offset ?		# sun4m on-board
4961.56Spkle0		at ledma0				# sun4m on-board
4971.56Spkle*		at sbus? slot ? offset ?		# SBus
4981.56Spkledma*		at sbus? slot ? offset ?		# SBus
4991.56Spkle*		at ledma?				# SBus
5001.56Spklebuffer0	at sbus? slot ? offset ?		# SBus
5011.56Spkle0		at lebuffer?				# SBus
5021.55Spklebuffer*	at sbus? slot ? offset ?		# SBus
5031.56Spkle*		at lebuffer?				# SBus
5041.55Spk
5051.55Spk
5061.55Spk## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
5071.55Spk## or on a Multibus/VME card.
5081.55Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
5091.55Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
5101.108Spk## VME: the first [addr,len] pair specifies the device registers;
5111.108Spk##	the second pair specifies the on-board memory buffer
5121.108Spkie1	at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
5131.108Spkie2	at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
5141.108Spkie3	at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
5151.108Spkie4	at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
5161.55Spk
5171.90Shubertf## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
5181.90Shubertf## (qe, 10MBd) attached.
5191.90Shubertfqec*	at sbus? slot ? offset ?		# Quad Ethernet Controller
5201.90Shubertfbe*	at qec?					# BigMac Ethernet (10/100MBd)
5211.90Shubertfqe*	at qec?					# Mace Ethernet (10MBd)
5221.85Spk
5231.98Spk## Happy Meal Ethernet
5241.98Spkhme*	at sbus? slot ? offset ?
5251.70Spk
5261.70Spk# midway ATM
5271.70Spken0	at sbus? slot ? offset ?
5281.75Spk
5291.75Spk# PCMCIA ethernet devices
5301.80Sabs#ep*	at pcmcia?
5311.80Sabs#mbe*	at pcmcia?
5321.80Sabs#ne*	at pcmcia?
5331.80Sabs#sm*	at pcmcia?
5341.75Spk
5351.75Spk# MII/PHY support
5361.81Spkexphy*	at mii? phy ?			# 3Com internal PHYs
5371.131Swizicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
5381.81Spkinphy*	at mii? phy ?			# Intel 82555 PHYs
5391.81Spklxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5401.81Spknsphy*	at mii? phy ?			# NS83840 PHYs
5411.81Spkqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5421.81Spksqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5431.81Spktlphy*	at mii? phy ?			# ThunderLAN PHYs
5441.81Spkukphy*	at mii? phy ?			# generic unknown PHYs
5451.70Spk
5461.55Spk## Loopback network interface; required
5471.55Spkpseudo-device	loop
5481.55Spk
5491.55Spk## SLIP and CSLIP interfaces, for IP over a serial line.
5501.55Spkpseudo-device	sl		2
5511.55Spk
5521.55Spk## PPP, the successor to SLIP.  See pppd(8).
5531.55Spkpseudo-device	ppp		2
5541.128Smartin
5551.128Smartin## PPP over Ethernet (RFC 2516)
5561.128Smartinpseudo-device	pppoe
5571.55Spk
5581.55Spk## Starmode Radio IP, a special hardware network device.
5591.55Spk#pseudo-device	strip		1
5601.55Spk
5611.55Spk## Network "tunnel" device, allowing protocol stacks to run in the userland.
5621.55Spk## This is used by the third-party user-mode "ppp" program, and others.
5631.55Spkpseudo-device	tun		4
5641.73Shwr
5651.73Shwr## Generic L3 over IP tunnel
5661.73Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
5671.55Spk
5681.55Spk## Berkeley Packet Filter, required to run RARPD.  A generic C-language
5691.55Spk## interface that allows selective examining of incoming packets.
5701.55Spkpseudo-device	bpfilter	8
5711.55Spk
5721.55Spk## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
5731.55Spk## one example of the use of the IP Filter.
5741.55Spkpseudo-device	ipfilter
5751.55Spk
5761.94Sitojun## for IPv6
5771.94Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
5781.94Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
5791.104Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
5801.120Shubertf
5811.120Shubertf## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
5821.120Shubertfpseudo-device	vlan
5831.122Satatat
5841.122Satatat## Simple inter-network traffic bridging
5851.126Satatatpseudo-device	bridge
5861.145Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
5871.55Spk
5881.55Spk#### Audio and video devices
5891.55Spk
5901.55Spk## /dev/audio support (`audioamd' plus `audio')
5911.55Spk##
5921.55Spkaudioamd0	at mainbus0				# sun4c
5931.142Sjdcaudioamd0	at obio0				# sun4m
5941.55Spkaudioamd0	at sbus0 slot ? offset ?		# sun4m
5951.55Spkaudio*		at audioamd0
5961.70Spk
5971.70Spkaudiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
5981.70Spkaudio*		at audiocs0
5991.55Spk
6001.55Spk
6011.55Spk## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
6021.55Spk## systems.  If your sun4 system has a cgfour installed in the P4 slot,
6031.55Spk## the P4 entries for "bwtwo" will attach to the overlay plane of the
6041.55Spk## "cgfour".
6051.1Sderaadt
6061.55Spkbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
6071.55Spkbwtwo*		at sbus? slot ? offset ?		#
6081.55Spkbwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
6091.55Spkbwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
6101.55Spkbwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
6111.21Sthorpej
6121.55Spk## Sun "cgtwo" VME color framebuffer
6131.88Sdrochnercgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
6141.21Sthorpej
6151.55Spk## Sun "cgthree" Sbus color framebuffer
6161.55Spkcgthree0	at sbus? slot ? offset ?
6171.55Spkcgthree*	at sbus? slot ? offset ?
6181.55Spk#cgthree0	at obio? slot ? offset ?		# sun4m
6191.55Spk
6201.55Spk## Sun "cgfour" color framebuffer with overlay plane.  See above comment
6211.55Spk## regarding overlay plane.
6221.55Spkcgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
6231.55Spkcgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
6241.55Spk
6251.55Spk## Sun "cgsix" accelerated color framebuffer.
6261.55Spkcgsix0		at sbus? slot ? offset ?
6271.55Spkcgsix*		at sbus? slot ? offset ?
6281.55Spkcgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
6291.55Spkcgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
6301.55Spk
6311.55Spk## Sun "cgeight" 24-bit framebuffer
6321.55Spkcgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
6331.55Spkcgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
6341.55Spk
6351.55Spk## Sun "tcx" accelerated color framebuffer.
6361.55Spktcx0		at sbus? slot ? offset ?
6371.55Spktcx*		at sbus? slot ? offset ?
6381.33Sabrown
6391.33Sabrown# Sun "cgfourteen" accelerated 24-bit framebuffer.
6401.33Sabrowncgfourteen0	at obio0			# sun4m
6411.1Sderaadt
6421.106Smatt# P9100-based display on Tadpole SPARCbook 3.
6431.106Smattpnozz0		at sbus? slot ? offset ?
6441.136Sad
6451.136Sad# Sun ZX/Leo 24-bit framebuffer
6461.136Sadzx*		at sbus? slot ? offset ?
6471.1Sderaadt
6481.55Spk#### Other device configuration
6491.106Smatt
6501.106Smatt# Tadpole microcontroller
6511.106Smatttctrl0 at obio0
6521.24Sthorpej
6531.55Spk## Pseudo ttys, required for network logins and programs like screen.
6541.24Sthorpej
6551.117Sjdolecekpseudo-device	pty			# pseudo-terminals
6561.55Spk
6571.55Spk## Random device, used to implement /dev/random (a source of random noise),
6581.55Spk## and generate randomness for some kernel formulae.
6591.55Spk
6601.84Smrgpseudo-device	rnd
6611.91Sphil
6621.91Sphil# a pseudo device needed for Coda	# also needs CODA (above)
6631.91Sphilpseudo-device	vcoda		4	# coda minicache <-> venus comm.
6641.135Slukem
6651.135Slukempseudo-device	clockctl		# user control of clock subsystem
6661.147Sraggepseudo-device	ksyms			# /dev/ksyms
6671.155Sitojun#pseudo-device	pf			# PF packet filter
6681.155Sitojun#pseudo-device	pflog			# PF log if
669