GENERIC revision 1.270
11.270Sroy# $NetBSD: GENERIC,v 1.270 2020/09/27 13:48:54 roy 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.270Sroy#ident 		"GENERIC-$Revision: 1.270 $"
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.208Smacallan# wscons stuff
471.233Smacallan#options 	WSEMUL_SUN
481.233Smacallanoptions 	WSEMUL_VT100
491.211Sjdcoptions 	WSDISPLAY_COMPAT_RAWKBD
501.211Sjdcoptions 	WSDISPLAY_CUSTOM_OUTPUT
511.211Sjdcoptions 	WS_DEFAULT_FG=WSCOL_BLACK
521.211Sjdcoptions 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
531.211Sjdcoptions 	WS_KERNEL_FG=WSCOL_GREEN
541.211Sjdcoptions 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
551.211Sjdcoptions 	WSDISPLAY_COMPAT_PCVT
561.208Smacallanoptions 	WSDISPLAY_COMPAT_SYSCONS
571.234Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
581.208Smacallan
591.211Sjdcoptions 	WSDISPLAY_SCROLLSUPPORT
601.208Smacallan
611.79Sadoptions 	FONT_GALLANT12x22	# the console font
621.230Smacallanoptions 	FONT_BOLD8x16		# a somewhat smaller font
631.55Spk
641.55Spk#### System options that are the same for all ports
651.55Spk
661.55Spk## Root device configuration: change the ?'s if you are going to use a
671.55Spk## nonstandard root partition (other than where the kernel is booted from)
681.55Spk## and/or nonstandard root type (not ffs or nfs).  Normally this can be
691.55Spk## automagically determined at boot time.
701.55Spk
711.55Spkconfig		netbsd	root on ? type ?
721.55Spk
731.55Spk## System call tracing (see ktrace(1)).
741.55Spkoptions 	KTRACE
751.55Spk
761.55Spk## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
771.43Slukemoptions 	SYSVMSG		# System V message queues
781.43Slukemoptions 	SYSVSEM		# System V semaphores
791.43Slukemoptions 	SYSVSHM		# System V shared memory
801.24Sthorpej
811.227Smrgoptions 	MODULAR		# new style module(7) framework
821.246Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
831.130Sjdolecek
841.137Slukemoptions 	USERCONF	# userconf(4) support
851.160Suwe#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
861.161Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
871.143Sjunyoung
881.258Ssevan# Alternate buffer queue strategies for better responsiveness under high
891.258Ssevan# disk I/O load.
901.170Stsutsui#options 	BUFQ_READPRIO
911.266Ssevanoptions 	BUFQ_PRIOCSCAN
921.55Spk
931.134Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
941.59Spkoptions 	NFS_BOOT_BOOTPARAM
951.59Spk#options 	NFS_BOOT_BOOTP
961.134Slukemoptions 	NFS_BOOT_DHCP
971.55Spk
981.55Spk#### Debugging options
991.55Spk
1001.55Spk## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
1011.55Spk## serial console break or keyboard reset, where the PROM would normally
1021.55Spk## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
1031.214Stsutsuioptions 	DDB			# kernel dynamic debugger
1041.214Stsutsuioptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
1051.243Sszptvlfn#options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
1061.55Spk
1071.55Spk## You may also use gdb, on another computer connected to this machine over
1081.124Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1091.124Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
1101.124Slukem## the minor device number encodes the PROM enumeration of the serial ports,
1111.124Slukem## i.e.:
1121.124Slukem## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
1131.124Slukem## (Note: ttyc and ttyd are available only on some sun4 models)
1141.124Slukem#options 	KGDB			# support for kernel gdb
1151.124Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1161.124Slukem#options 	KGDB_DEVRATE=38400	# baud rate
1171.24Sthorpej
1181.55Spk
1191.55Spk## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1201.55Spk## such that gdb(1) can be used on a kernel coredump.
1211.55Spk
1221.125Slukem#makeoptions	DEBUG="-g"
1231.55Spk
1241.55Spk
1251.55Spk## Adds code to the kernel that does internal consistency checks, and will
1261.55Spk## cause the kernel to panic if corruption of internal data structures
1271.55Spk## is detected.
1281.257Smartinoptions 	DIAGNOSTIC	# extra kernel sanity checking
1291.55Spk
1301.55Spk## Enable (possibly expensive) debugging code that may also display messages
1311.55Spk## on the system console
1321.55Spk#options 	DEBUG
1331.226Sjdc#options 	LOCKDEBUG
1341.226Sjdc#options 	SYSCALL_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.262Smaxv## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
1571.262Smaxv## utilities or system configuration files. See compat_sunos(8).
1581.55Spk
1591.256Smrginclude 	"conf/compat_netbsd10.config"
1601.43Slukemoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1611.1Sderaadt
1621.55Spk## File systems.  You probably need at least one of FFS or NFS.
1631.43Slukemfile-system	FFS		# Berkeley Fast Filesystem
1641.43Slukemfile-system	NFS		# Sun NFS-compatible filesystem client
1651.43Slukemfile-system	KERNFS		# kernel data-structure filesystem
1661.43Slukemfile-system	NULLFS		# NULL layered filesystem
1671.95Swrstudenfile-system 	OVERLAY		# overlay file system
1681.43Slukemfile-system	MFS		# memory-based filesystem
1691.43Slukemfile-system	FDESC		# user file descriptor filesystem
1701.43Slukemfile-system	UMAPFS		# uid/gid remapping filesystem
1711.43Slukemfile-system	LFS		# Log-based filesystem (still experimental)
1721.218Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1731.43Slukemfile-system	PROCFS		# /proc
1741.43Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1751.43Slukemfile-system	UNION		# union file system
1761.43Slukemfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1771.91Sphilfile-system	CODA		# Coda File System; also needs vcoda (below)
1781.179Schristosfile-system	PTYFS		# /dev/pts/N support
1791.223Schsfile-system	TMPFS		# Efficient memory file-system
1801.183Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1811.43Slukem
1821.55Spk## File system options.
1831.43Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
1841.43Slukemoptions 	QUOTA		# FFS quotas
1851.264Smrg#options 	QUOTA2		# new, in-filesystem UFS quotas
1861.63Spk#options 	FFS_EI		# FFS Endian Independent support
1871.229Sdhollandoptions 	WAPBL		# File system journaling support
1881.211Sjdc#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1891.181Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1901.247Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1911.94Sitojun
1921.55Spk## Network protocol support.  In most environments, INET is required.
1931.57Spkoptions 	INET		# IP (Internet Protocol) v4
1941.94Sitojunoptions 	INET6		# IPV6
1951.94Sitojun#options 	IPSEC		# IP security
1961.94Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1971.57Spk#options 	GATEWAY		# packet forwarding ("router switch")
1981.57Spk#options 	MROUTING	# packet forwarding of multicast packets
1991.163Smanu#options 	PIM		# Protocol Independent Multicast
2001.75Spk#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2011.67Spkoptions 	NTP		# Network Time Protocol in-kernel support
2021.57Spk#options 	PPS_SYNC	# Add serial line synchronization for NTP
2031.86Schristosoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2041.86Schristosoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2051.86Schristosoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
2061.1Sderaadt
2071.156Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
2081.156Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
2091.156Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
2101.156Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
2111.156Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
2121.156Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
2131.156Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
2141.156Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
2151.156Sabs#options 	ALTQ_PRIQ	# Priority Queueing
2161.156Sabs#options 	ALTQ_RED	# Random Early Detection
2171.156Sabs#options 	ALTQ_RIO	# RED with IN/OUT
2181.156Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
2191.156Sabs
2201.1Sderaadt
2211.55Spk
2221.57Spk#### Main bus and CPU .. all systems.
2231.1Sderaadtmainbus0 at root
2241.1Sderaadtcpu0	at mainbus0
2251.150Schscpuunit0	at mainbus0			# sun4d
2261.150Schscpuunit*	at mainbus0			# sun4d
2271.150Schscpu0	at cpuunit0				# sun4d
2281.1Sderaadt
2291.236Smacallan#### SX rendering engine found in SS20 and SS10SX
2301.236Smacallansx0	at mainbus0
2311.236Smacallan
2321.55Spk#### Bus types found on SPARC systems.
2331.55Spk
2341.24Sthorpejsbus0	at mainbus0				# sun4c
2351.24Sthorpejobio0	at mainbus0				# sun4 and sun4m
2361.150Schssparcvme0	at mainbus0			# sun4
2371.22Spkiommu0	at mainbus0				# sun4m
2381.22Spksbus0	at iommu0				# sun4m
2391.150Schssparcvme0	at iommu0			# sun4m
2401.150Schsvme0	at sparcvme0				# MI VME attachment
2411.150Schsbootbus0	at cpuunit0			# sun4d
2421.150Schsbootbus*	at cpuunit?			# sun4d
2431.64Spk
2441.64Spk## SBus expander box
2451.64Spkxbox*	at sbus? slot ? offset ?
2461.64Spksbus*	at xbox?
2471.72Spk
2481.72Spk## SBus to PCMCIA bridge
2491.159Spknell*	at sbus? slot ? offset ?		# PCMCIA bridge
2501.159Spkpcmcia*	at nell?
2511.173Smacallantslot*	at sbus? slot ? offset ?		# PCMCIA bridge (tadpole 3gx)
2521.173Smacallanpcmcia*	at tslot?
2531.1Sderaadt
2541.55Spk#### Standard system devices -- all required for a given architecture
2551.24Sthorpej
2561.55Spk## Auxiliary system registers on sun4c and sun4m
2571.24Sthorpejauxreg0	at mainbus0				# sun4c
2581.22Spkauxreg0	at obio0				# sun4m
2591.106Smattauxiotwo0 at obio0				# only on Tadpole SPARCbook.
2601.27Sabrown
2611.55Spk## Power status and control register on Sun4m systems
2621.27Sabrownpower0	at obio0
2631.24Sthorpej
2641.150Schs## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
2651.55Spk## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2661.24Sthorpejclock0	at mainbus0				# sun4c
2671.22Spkclock0	at obio0				# sun4m
2681.24Sthorpejclock0	at obio0 addr 0xf2000000		# sun4/300
2691.150Schsclock0	at bootbus0				# sun4d
2701.24Sthorpej
2711.55Spk## Intersil clock found on 4/100 and 4/200 systems.
2721.24Sthorpejoclock0	at obio0 addr 0xf3000000		# sun4/200
2731.24Sthorpejoclock0	at obio0 addr 0x03000000		# sun4/100
2741.24Sthorpej
2751.55Spk## Memory error registers.
2761.24Sthorpejmemreg0	at mainbus0				# sun4c
2771.22Spkmemreg0	at obio0				# sun4m
2781.24Sthorpejmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2791.24Sthorpejmemreg0	at obio0 addr 0x04000000		# sun4/100
2801.74Spk
2811.74Spk## ECC memory control
2821.74Spkeccmemctl0 at mainbus0				# sun4m
2831.24Sthorpej
2841.55Spk## Timer chip found on 4/300, sun4c, and sun4m systems.
2851.24Sthorpejtimer0	at mainbus0				# sun4c
2861.22Spktimer0	at obio0				# sun4m
2871.24Sthorpejtimer0	at obio0 addr 0xef000000		# sun4/300
2881.24Sthorpej
2891.55Spk## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2901.55Spk## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2911.55Spk## Mostek clock chip on 4/300 systems.
2921.24Sthorpejeeprom0	at obio0 addr 0xf2000000		# sun4/200
2931.24Sthorpejeeprom0	at obio0 addr 0x02000000		# sun4/100
2941.24Sthorpej
2951.55Spk
2961.55Spk#### Serial port configuration
2971.55Spk
2981.55Spk## Zilog 8530 serial chips.  Each has two-channels.
2991.55Spk## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
3001.24Sthorpejzs0	at mainbus0					# sun4c
3011.24Sthorpejzs0	at obio0					# sun4m
3021.100Spkzs0	at obio0 addr 0xf1000000 level 12		# sun4/200 and sun4/300
3031.100Spkzs0	at obio0 addr 0x01000000 level 12		# sun4/100
3041.150Schszs0	at bootbus0					# sun4d
3051.212Stsutsuizstty0	at zs0 channel 0				# ttya
3061.212Stsutsuizstty1	at zs0 channel 1				# ttyb
3071.50Sgwr
3081.24Sthorpejzs1	at mainbus0					# sun4c
3091.24Sthorpejzs1	at obio0					# sun4m
3101.100Spkzs1	at obio0 addr 0xf0000000 level 12		# sun4/200 and sun4/300
3111.100Spkzs1	at obio0 addr 0x00000000 level 12		# sun4/100
3121.150Schszs1	at bootbus0					# sun4d
3131.208Smacallan
3141.208Smacallan# old kbd and mouse attachments
3151.208Smacallan#kbd0	at zs1 channel 0				# keyboard
3161.208Smacallan#ms0	at zs1 channel 1				# mouse
3171.208Smacallanzstty*	at zs?
3181.208Smacallan
3191.208Smacallan# these are for wscons
3201.208Smacallankbd0	at zstty?
3211.208Smacallanms0	at zstty?
3221.208Smacallanwskbd*	at wskbddev?
3231.208Smacallanwsmouse* 	at wsmousedev?
3241.100Spk
3251.100Spkzs2	at obio0 addr 0xe0000000 level 12		# sun4/300
3261.100Spkzstty2	at zs2 channel 0				# ttyc
3271.100Spkzstty3	at zs2 channel 1				# ttyd
3281.113Smatt
3291.150Schszs*	at bootbus?					# sun4d
3301.150Schszstty*	at zs?
3311.150Schs
3321.125Slukem## NS16x50 serial chips and clones.  Present on the
3331.113Smatt## Sun JavaStation-1 and Tadpole SPARCbook 3
3341.113Smattcom*	at obio0					# sun4m
3351.66Spk
3361.97Scjs# Parallel port.
3371.97Scjsbpp*	at sbus? slot? offset ?
3381.66Spk
3391.66Spk## Magma Serial/Parallel driver
3401.66Spkmagma*	at sbus? slot ? offset ?
3411.66Spkmtty*	at magma?
3421.66Spkmbpp*	at magma?
3431.66Spk
3441.162Smrg## SUNW,spif Serial/Parallel driver
3451.162Smrgspif*  at sbus? slot ? offset ?
3461.162Smrgstty*  at spif?
3471.162Smrgsbpp*  at spif?
3481.162Smrg
3491.75Spk## PCMCIA serial interfaces
3501.80Sabs#com*	at pcmcia?
3511.80Sabs#pcmcom*	at pcmcia?
3521.80Sabs#com*	at pcmcom?
3531.24Sthorpej
3541.55Spk#### Disk controllers and disks
3551.55Spk
3561.26Spk#
3571.26Spk
3581.55Spk## The following flags may be set for the NCR53c94 based esp driver:
3591.55Spk##	bits 0-7:  disable disconnect/reselect for the corresponding target
3601.55Spk##	bits 8-15: disable synchronous negotiation for target [bit-8]
3611.55Spk
3621.55Spk## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3631.55Spk## Both `dma' and `esp' are needed in all cases.
3641.55Spk## Two kinds of additional SBus SCSI interfaces are available.  One uses
3651.55Spk## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3661.55Spk
3671.55Spk## sun4/300 SCSI - an NCR53c94 or equivalent behind
3681.55Spk## an LSI Logic DMA controller
3691.55Spk
3701.24Sthorpejdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3711.55Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3721.1Sderaadt
3731.55Spkdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3741.51Spkesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3751.51Spkesp0	at dma0 flags 0x0000				# sun4m
3761.24Sthorpej
3771.151Sfair# FSBE/S SCSI & SunSwift Sbus FAS366
3781.55Spkdma*	at sbus? slot ? offset ?			# SBus
3791.151Sfairesp*	at sbus? slot ? offset ? flags 0x0000		# SBus
3801.55Spkesp*	at dma? flags 0x0000				# SBus
3811.24Sthorpej
3821.55Spkscsibus* at esp?
3831.55Spk
3841.55Spk## Qlogic ISP SBus SCSI Card
3851.42Scgdisp*	at sbus? slot ? offset ?
3861.55Spkscsibus* at isp?
3871.42Scgd
3881.55Spk## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3891.55Spk## This driver has several flags which may be enabled by OR'ing
3901.55Spk## the values and using the "flags" directive.
3911.55Spk## Valid flags are:
3921.55Spk##
3931.55Spk##	0x01		Use DMA (may be polled)
3941.55Spk##	0x02		Use DMA completion interrupts
3951.55Spk##	0x04		Allow disconnect/reselect
3961.55Spk##
3971.55Spk## E.g. the following would enable DMA, interrupts, and reselect:
3981.88Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3991.55Spk##
4001.55Spk## By default, DMA is enabled in the driver.
4011.25Spk
4021.88Sdrochnersi0	at vme0 addr 0x200000 irq 2 vect 0x40
4031.55Spkscsibus* at si?
4041.24Sthorpej
4051.55Spk## NCR5380-based "SCSI Weird" on-board SCSI interface found
4061.55Spk## on sun4/100 systems.  The flags are the same as the "si"
4071.55Spk## controller.  Note, while DMA is enabled by default, only
4081.55Spk## polled DMA works at this time, and reselects do not work
4091.55Spk## on this particular controller.
4101.1Sderaadt
4111.55Spksw0	at obio0 addr 0x0a000000 level 3
4121.55Spkscsibus* at sw?
4131.24Sthorpej
4141.75Spk## PCMCIA SCSI controllers
4151.80Sabs#aic*	at pcmcia?
4161.189Shubertf#spc*	at pcmcia?
4171.80Sabs#scsibus* at aic?
4181.189Shubertf#scsibus* at spc?
4191.75Spk
4201.75Spk
4211.55Spk## These entries find devices on all SCSI busses and assign
4221.55Spk## unit numbers dynamically.
4231.55Spksd*	at scsibus? target ? lun ?		# SCSI disks
4241.55Spkst*	at scsibus? target ? lun ?		# SCSI tapes
4251.55Spkcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
4261.55Spkch*	at scsibus? target ? lun ?		# SCSI changer devices
4271.55Spkss*	at scsibus? target ? lun ?		# SCSI scanners
4281.118Smjacobses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE
4291.55Spkuk*	at scsibus? target ? lun ?		# unknown SCSI
4301.23Spk
4311.9Spk
4321.55Spk## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
4331.55Spk## on sun4 systems.
4341.88Sdrochnerxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
4351.88Sdrochnerxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
4361.88Sdrochnerxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
4371.88Sdrochnerxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
4381.9Spkxd*	at xdc? drive ?
4391.16Schuck
4401.55Spk## Xylogics 451 or 451 VME SMD disk controllers and disks, found
4411.55Spk## on sun4 systems.
4421.88Sdrochnerxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
4431.88Sdrochnerxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
4441.16Schuckxy*	at xyc? drive ?
4451.10Spk
4461.24Sthorpej
4471.55Spk## Floppy controller and drive found on SPARCstations.
4481.55Spk
4491.55Spkfdc0	at mainbus0				# sun4c controller
4501.55Spkfdc0	at obio0				# sun4m controller
4511.55Spkfd*	at fdc0					# the drive itself
4521.55Spk
4531.75Spk## PCMCIA IDE controllers
4541.80Sabs#wdc*	at pcmcia?
4551.149Smartin#atabus* at ata?
4561.149Smartin#wd*	at atabus? drive ? flags 0x0000
4571.149Smartin
4581.55Spk## A disk-like interface to files.  Can be used to create floppy, CD,
4591.55Spk## miniroot images, etc.
4601.55Spk
4611.185Scubepseudo-device	vnd	
4621.175Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
4631.55Spk
4641.55Spk## Concatenated and striped disks; with this, you can create a software-based
4651.55Spk## disk array similar to a "RAID 0" setup.  See ccd(4).
4661.55Spk
4671.239Schristospseudo-device	ccd
4681.141Selric
4691.141Selric## Cryptographic disk devices;  See cgd(4)
4701.141Selric
4711.239Schristos#pseudo-device	cgd
4721.71Soster
4731.71Soster## RAIDframe disk driver: software RAID driver.  See raid(4).
4741.71Soster
4751.240Schristospseudo-device	raid	
4761.129Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
4771.129Soster# Options to enable various other RAIDframe RAID types.
4781.160Suwe# options 	RF_INCLUDE_EVENODD=1
4791.160Suwe# options 	RF_INCLUDE_RAID5_RS=1
4801.160Suwe# options 	RF_INCLUDE_PARITYLOGGING=1
4811.160Suwe# options 	RF_INCLUDE_CHAINDECLUSTER=1
4821.160Suwe# options 	RF_INCLUDE_INTERDECLUSTER=1
4831.129Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
4841.160Suwe# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
4851.129Soster
4861.55Spk
4871.55Spk## Memory disk device, used on boot floppies with compressed
4881.55Spk## kernel-plus-root-disk images.
4891.55Spk
4901.225Shannken#pseudo-device	md	
4911.55Spk
4921.55Spk
4931.55Spk#### Network interfaces
4941.55Spk
4951.55Spk## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4961.55Spk## Three flavors of additional SBus ethernets are available.  One attaches
4971.55Spk## directly like the sun4c on-board, one uses the ledma device like the
4981.55Spk## sun4m on-board, and one uses the lebuffer device.
4991.55Spk
5001.56Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
5011.56Spkle0		at sbus0 slot ? offset ?		# sun4c on-board
5021.56Spkledma0		at sbus0 slot ? offset ?		# sun4m on-board
5031.56Spkle0		at ledma0				# sun4m on-board
5041.56Spkle*		at sbus? slot ? offset ?		# SBus
5051.56Spkledma*		at sbus? slot ? offset ?		# SBus
5061.56Spkle*		at ledma?				# SBus
5071.56Spklebuffer0	at sbus? slot ? offset ?		# SBus
5081.56Spkle0		at lebuffer?				# SBus
5091.55Spklebuffer*	at sbus? slot ? offset ?		# SBus
5101.56Spkle*		at lebuffer?				# SBus
5111.55Spk
5121.55Spk
5131.55Spk## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
5141.55Spk## or on a Multibus/VME card.
5151.55Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
5161.55Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
5171.108Spk## VME: the first [addr,len] pair specifies the device registers;
5181.108Spk##	the second pair specifies the on-board memory buffer
5191.108Spkie1	at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
5201.108Spkie2	at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
5211.108Spkie3	at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
5221.108Spkie4	at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
5231.55Spk
5241.90Shubertf## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
5251.90Shubertf## (qe, 10MBd) attached.
5261.90Shubertfqec*	at sbus? slot ? offset ?		# Quad Ethernet Controller
5271.90Shubertfbe*	at qec?					# BigMac Ethernet (10/100MBd)
5281.90Shubertfqe*	at qec?					# Mace Ethernet (10MBd)
5291.85Spk
5301.98Spk## Happy Meal Ethernet
5311.98Spkhme*	at sbus? slot ? offset ?
5321.70Spk
5331.75Spk# PCMCIA ethernet devices
5341.80Sabs#ep*	at pcmcia?
5351.80Sabs#mbe*	at pcmcia?
5361.80Sabs#ne*	at pcmcia?
5371.80Sabs#sm*	at pcmcia?
5381.75Spk
5391.217Stsutsui## PCMCIA wavelan card
5401.217Stsutsui#wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
5411.217Stsutsui
5421.75Spk# MII/PHY support
5431.81Spkexphy*	at mii? phy ?			# 3Com internal PHYs
5441.131Swizicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
5451.81Spkinphy*	at mii? phy ?			# Intel 82555 PHYs
5461.81Spklxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5471.81Spknsphy*	at mii? phy ?			# NS83840 PHYs
5481.81Spkqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5491.81Spksqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5501.81Spktlphy*	at mii? phy ?			# ThunderLAN PHYs
5511.81Spkukphy*	at mii? phy ?			# generic unknown PHYs
5521.70Spk
5531.55Spk## Loopback network interface; required
5541.55Spkpseudo-device	loop
5551.55Spk
5561.55Spk## SLIP and CSLIP interfaces, for IP over a serial line.
5571.185Scubepseudo-device	sl		
5581.55Spk
5591.55Spk## PPP, the successor to SLIP.  See pppd(8).
5601.185Scubepseudo-device	ppp		
5611.128Smartin
5621.128Smartin## PPP over Ethernet (RFC 2516)
5631.128Smartinpseudo-device	pppoe
5641.55Spk
5651.55Spk## Network "tunnel" device, allowing protocol stacks to run in the userland.
5661.55Spk## This is used by the third-party user-mode "ppp" program, and others.
5671.185Scubepseudo-device	tun		
5681.165Scubepseudo-device	tap			# virtual Ethernet
5691.73Shwr
5701.73Shwr## Generic L3 over IP tunnel
5711.185Scube#pseudo-device	gre			# generic L3 over IP tunnel
5721.55Spk
5731.55Spk## Berkeley Packet Filter, required to run RARPD.  A generic C-language
5741.55Spk## interface that allows selective examining of incoming packets.
5751.184Srpaulopseudo-device	bpfilter
5761.55Spk
5771.266Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
5781.188Sliamjfoy
5791.260Smaxvpseudo-device	npf			# NPF packet filter
5801.55Spk
5811.94Sitojun## for IPv6
5821.185Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
5831.185Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
5841.187Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
5851.120Shubertf
5861.120Shubertf## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
5871.120Shubertfpseudo-device	vlan
5881.122Satatat
5891.122Satatat## Simple inter-network traffic bridging
5901.126Satatatpseudo-device	bridge
5911.270Sroypseudo-device	vether			# Virtual Ethernet for bridge
5921.199Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
5931.55Spk
5941.217Stsutsui## accept filters
5951.217Stsutsuipseudo-device   accf_data		# "dataready" accept filter
5961.217Stsutsuipseudo-device   accf_http		# "httpready" accept filter
5971.217Stsutsui
5981.55Spk#### Audio and video devices
5991.55Spk
6001.55Spk## /dev/audio support (`audioamd' plus `audio')
6011.55Spk##
6021.55Spkaudioamd0	at mainbus0				# sun4c
6031.142Sjdcaudioamd0	at obio0				# sun4m
6041.55Spkaudioamd0	at sbus0 slot ? offset ?		# sun4m
6051.70Spk
6061.70Spkaudiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
6071.55Spk
6081.211Sjdc#options 	DBRI_DEBUG	# noisy debug output from the dbri driver
6091.186Smacallandbri*		at sbus? slot ? offset ?		# SUNW,DBRI[s3|e]
6101.174Smacallan
6111.174Smacallanaudio*		at audiobus?
6121.55Spk
6131.55Spk## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
6141.55Spk## systems.  If your sun4 system has a cgfour installed in the P4 slot,
6151.55Spk## the P4 entries for "bwtwo" will attach to the overlay plane of the
6161.55Spk## "cgfour".
6171.1Sderaadt
6181.55Spkbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
6191.55Spkbwtwo*		at sbus? slot ? offset ?		#
6201.55Spkbwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
6211.55Spkbwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
6221.55Spkbwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
6231.21Sthorpej
6241.55Spk## Sun "cgtwo" VME color framebuffer
6251.208Smacallan# XXX no wsdisplay support
6261.208Smacallan#cgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
6271.21Sthorpej
6281.55Spk## Sun "cgthree" Sbus color framebuffer
6291.55Spkcgthree0	at sbus? slot ? offset ?
6301.55Spkcgthree*	at sbus? slot ? offset ?
6311.55Spk
6321.55Spk## Sun "cgfour" color framebuffer with overlay plane.  See above comment
6331.55Spk## regarding overlay plane.
6341.208Smacallan# XXX no wsdisplay support
6351.208Smacallan#cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
6361.208Smacallan#cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
6371.55Spk
6381.55Spk## Sun "cgsix" accelerated color framebuffer.
6391.55Spkcgsix0		at sbus? slot ? offset ?
6401.55Spkcgsix*		at sbus? slot ? offset ?
6411.55Spkcgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
6421.55Spkcgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
6431.55Spk
6441.55Spk## Sun "cgeight" 24-bit framebuffer
6451.208Smacallan# XXX no wsdisplay support
6461.208Smacallan#cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
6471.208Smacallan#cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
6481.55Spk
6491.55Spk## Sun "tcx" accelerated color framebuffer.
6501.215Smacallan# there can be only one
6511.215Smacallantcx0		at sbus? slot ? offset ?
6521.33Sabrown
6531.221Smacallan## Sun CG12 / Matrox SG3 accelerated 24bit framebuffer
6541.221Smacallancgtwelve*	at sbus? slot ? offset ?
6551.250Smacallan# the driver can use the color framebuffer or the monochrome overlay
6561.250Smacallan# the latter is faster
6571.250Smacallanoptions 	CG12_COLOR
6581.221Smacallan
6591.33Sabrown# Sun "cgfourteen" accelerated 24-bit framebuffer.
6601.208Smacallancgfourteen*	at obio0			# sun4m
6611.1Sderaadt
6621.106Smatt# P9100-based display on Tadpole SPARCbook 3.
6631.106Smattpnozz0		at sbus? slot ? offset ?
6641.220Smacallan# the SPARCbook 3 hardware docs say that accesses to P9100 registers need to be
6651.220Smacallan# 'latched in' but at least my 3GX works happily without
6661.220Smacallan# Enable it by default since we don't know which hardware really needs it.
6671.220Smacallanoptions PNOZZ_USE_LATCH
6681.136Sad
6691.136Sad# Sun ZX/Leo 24-bit framebuffer
6701.213Smacallanzx*		at sbus? slot ? offset ?
6711.208Smacallan
6721.208Smacallan# Fujitsu AG-10e accelerated graphics 8/24-bit board
6731.208Smacallanagten*	at sbus? slot ? offset ?
6741.208Smacallan
6751.250Smacallan## Southland Media Systems (now Quantum 3D) MGX
6761.250Smacallanmgx* 		at sbus? slot ? offset ?
6771.250Smacallan
6781.213Smacallan# generic framebuffer console
6791.213Smacallangenfb*	at sbus? slot ? offset ?
6801.213Smacallan
6811.208Smacallan# make sure wsdisplay0 is the console
6821.208Smacallanwsdisplay0	at wsemuldisplaydev? console 1
6831.208Smacallanwsdisplay*	at wsemuldisplaydev?
6841.1Sderaadt
6851.55Spk#### Other device configuration
6861.106Smatt
6871.106Smatt# Tadpole microcontroller
6881.106Smatttctrl0 at obio0
6891.24Sthorpej
6901.219Sbouyer# Aurora Personality Chip (APC) on SPARCstation-4/5
6911.219Sbouyer# Not enabled by default as it may hang some systems
6921.219Sbouyer#apc*		at sbus? slot ? offset ?
6931.219Sbouyer
6941.55Spk## Pseudo ttys, required for network logins and programs like screen.
6951.24Sthorpej
6961.117Sjdolecekpseudo-device	pty			# pseudo-terminals
6971.55Spk
6981.55Spk## Random device, used to implement /dev/random (a source of random noise),
6991.55Spk## and generate randomness for some kernel formulae.
7001.55Spk
7011.91Sphil
7021.91Sphil# a pseudo device needed for Coda	# also needs CODA (above)
7031.240Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
7041.135Slukem
7051.135Slukempseudo-device	clockctl		# user control of clock subsystem
7061.265Sisakipseudo-device	drvctl			# user control of drive subsystem
7071.147Sraggepseudo-device	ksyms			# /dev/ksyms
7081.222Spookapseudo-device	fss			# file system snapshot device
7091.208Smacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
7101.208Smacallanpseudo-device	wsfont
7111.218Spookapseudo-device	putter			# for puffs and pud
7121.182Selad
7131.266Ssevaninclude "dev/veriexec.config"
7141.193Selad
7151.194Selad#options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
7161.197Selad					# (for static binaries only for now)
717