GENERIC revision 1.130
11.130Sjdolecek# $NetBSD: GENERIC,v 1.130 2002/01/27 13:23:26 jdolecek 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.130Sjdolecek#ident 		"GENERIC-$Revision: 1.130 $"
241.45Spk
251.45Spkmaxusers	32
261.32Smrg
271.55Spk## System kernel configuration.  See options(4) for more detail.
281.55Spk
291.55Spk
301.24Sthorpej# Options for variants of the Sun SPARC architecure.
311.55Spk# We currently support three architecture types; at least one is required.
321.43Slukemoptions 	SUN4		# sun4/100, sun4/200, sun4/300
331.43Slukemoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
341.43Slukemoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
351.24Sthorpej
361.109Spkoptions 	SUN4_MMU3L	# sun4/400 3-level MMU
371.1Sderaadt
381.55Spk## System options specific to the sparc machine type
391.55Spk
401.55Spk# Blink the power LED on some machines to indicate the system load.
411.55Spk#options 	BLINK
421.55Spk
431.55Spk## Use a faster console than the PROM's slow drawing routines.  Not needed
441.55Spk## for headless (no framebuffer) machines.
451.77Sadoptions 	RASTERCONSOLE		# fast rasterop console
461.79Sadoptions 	FONT_GALLANT12x22	# the console font
471.79Sad#options 	FONT_BOLD8x16		# a somewhat smaller font
481.103Spk## default console colors: black-on-white; this can be changed
491.103Spk## using the following two options.
501.103Spk#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
511.103Spk#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
521.55Spk
531.55Spk#### System options that are the same for all ports
541.55Spk
551.55Spk## Root device configuration: change the ?'s if you are going to use a
561.55Spk## nonstandard root partition (other than where the kernel is booted from)
571.55Spk## and/or nonstandard root type (not ffs or nfs).  Normally this can be
581.55Spk## automagically determined at boot time.
591.55Spk
601.55Spkconfig		netbsd	root on ? type ?
611.55Spk
621.55Spk## System call tracing (see ktrace(1)).
631.55Spkoptions 	KTRACE
641.55Spk
651.55Spk## Collect statistics on kernel malloc's and free's.  This does have a
661.55Spk## significant performance hit on slower machines, so it is intended for
671.55Spk## diagnostic use only.
681.55Spk#options 	KMEMSTATS
691.55Spk
701.55Spk## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
711.43Slukemoptions 	SYSVMSG		# System V message queues
721.43Slukemoptions 	SYSVSEM		# System V semaphores
731.125Slukem#options 	SEMMNI=10	# number of semaphore identifiers
741.125Slukem#options 	SEMMNS=60	# number of semaphores in system
751.125Slukem#options 	SEMUME=10	# max number of undo entries per process
761.125Slukem#options 	SEMMNU=30	# number of undo structures in system
771.43Slukemoptions 	SYSVSHM		# System V shared memory
781.43Slukem#options 	SHMMAXPGS=1024	# 1024 pages is the default
791.24Sthorpej
801.55Spk## Loadable kernel module support; still under development.
811.55Spkoptions 	LKM
821.130Sjdolecek
831.130Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
841.55Spk
851.59Spk## NFS boot options; default on sparc is the bootparam protocol
861.59Spkoptions 	NFS_BOOT_BOOTPARAM
871.59Spk#options 	NFS_BOOT_BOOTP
881.59Spk#options 	NFS_BOOT_DHCP
891.55Spk
901.55Spk#### Debugging options
911.55Spk
921.55Spk## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
931.55Spk## serial console break or keyboard reset, where the PROM would normally
941.55Spk## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
951.55Spk#options 	DDB			# kernel dynamic debugger
961.52Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
971.69Spk#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
981.55Spk
991.55Spk## You may also use gdb, on another computer connected to this machine over
1001.124Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1011.124Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
1021.124Slukem## the minor device number encodes the PROM enumeration of the serial ports,
1031.124Slukem## i.e.:
1041.124Slukem## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
1051.124Slukem## (Note: ttyc and ttyd are available only on some sun4 models)
1061.124Slukem#options 	KGDB			# support for kernel gdb
1071.124Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1081.124Slukem#options 	KGDB_DEVRATE=38400	# baud rate
1091.24Sthorpej
1101.55Spk
1111.55Spk## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1121.55Spk## such that gdb(1) can be used on a kernel coredump.
1131.55Spk
1141.125Slukem#makeoptions	DEBUG="-g"
1151.55Spk
1161.55Spk
1171.55Spk## Adds code to the kernel that does internal consistency checks, and will
1181.55Spk## cause the kernel to panic if corruption of internal data structures
1191.55Spk## is detected.
1201.55Spk#options 	DIAGNOSTIC	# extra kernel sanity checking
1211.55Spk
1221.55Spk## Enable (possibly expensive) debugging code that may also display messages
1231.55Spk## on the system console
1241.55Spk#options 	DEBUG
1251.55Spk
1261.55Spk## Make SCSI error messages more verbose when explaining their meanings.
1271.55Spkoptions 	SCSIVERBOSE
1281.105Saugustss
1291.105Saugustssoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1301.55Spk
1311.55Spk## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1321.55Spk## This allows writing to /dev/mem, loading kernel modules while multi-user,
1331.55Spk## and other insecurities good only for development work.  Do not use this
1341.55Spk## option on a production machine.
1351.55Spk#options 	INSECURE
1361.55Spk
1371.55Spk## Allow non-root users to grab /dev/console with programs such as xconsole.
1381.55Spk## `xconsole' therefore does not need setuid root with this option enabled.
1391.55Spk#options 	UCONSOLE
1401.55Spk
1411.55Spk## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1421.55Spk## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1431.55Spk## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1441.55Spk## opaque file mechanism.  Perl calls this "secure setuid scripts."
1451.55Spk
1461.55Spk#options 	FDSCRIPTS
1471.55Spk#options 	SETUIDSCRIPTS
1481.55Spk
1491.55Spk## Options for compatibility with previous releases foreign system binaries.
1501.55Spk## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1511.55Spk## additional user-level utilities or system configuration files. See
1521.55Spk## compat_sunos(8) and compat_svr4(8).
1531.55Spk
1541.43Slukemoptions 	COMPAT_43	# 4.3BSD system interfaces
1551.43Slukemoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1561.43Slukemoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1571.43Slukemoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1581.54Smjacoboptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1591.89Saugustssoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
1601.43Slukemoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1611.43Slukemoptions 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1621.1Sderaadt
1631.55Spk## File systems.  You probably need at least one of FFS or NFS.
1641.43Slukemfile-system	FFS		# Berkeley Fast Filesystem
1651.43Slukemfile-system	NFS		# Sun NFS-compatible filesystem client
1661.43Slukemfile-system	KERNFS		# kernel data-structure filesystem
1671.43Slukemfile-system	NULLFS		# NULL layered filesystem
1681.95Swrstudenfile-system 	OVERLAY		# overlay file system
1691.43Slukemfile-system	MFS		# memory-based filesystem
1701.43Slukemfile-system	FDESC		# user file descriptor filesystem
1711.43Slukemfile-system	UMAPFS		# uid/gid remapping filesystem
1721.43Slukemfile-system	LFS		# Log-based filesystem (still experimental)
1731.43Slukemfile-system	PORTAL		# portal filesystem (still experimental)
1741.43Slukemfile-system	PROCFS		# /proc
1751.43Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1761.43Slukemfile-system	UNION		# union file system
1771.43Slukemfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1781.91Sphilfile-system	CODA		# Coda File System; also needs vcoda (below)
1791.43Slukem
1801.55Spk## File system options.
1811.43Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
1821.43Slukemoptions 	QUOTA		# FFS quotas
1831.63Spk#options 	FFS_EI		# FFS Endian Independent support
1841.125Slukemoptions 	SOFTDEP		# FFS soft updates support.
1851.94Sitojun
1861.55Spk## Network protocol support.  In most environments, INET is required.
1871.57Spkoptions 	INET		# IP (Internet Protocol) v4
1881.94Sitojunoptions 	INET6		# IPV6
1891.94Sitojun#options 	IPSEC		# IP security
1901.94Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1911.94Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1921.57Spk#options 	GATEWAY		# packet forwarding ("router switch")
1931.57Spk#options 	MROUTING	# packet forwarding of multicast packets
1941.57Spk#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1951.57Spkoptions 	NS		# Xerox NS networking
1961.57Spk#options 	NSIP		# Xerox NS tunneling over IP
1971.57Spkoptions 	ISO,TPIP	# OSI networking
1981.112Ssommerfe#options 	EON		# OSI tunneling over IP
1991.57Spk#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
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 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
2041.86Schristosoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
2051.86Schristosoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2061.86Schristosoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2071.86Schristosoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
2081.1Sderaadt
2091.1Sderaadt
2101.55Spk
2111.57Spk#### Main bus and CPU .. all systems.
2121.1Sderaadtmainbus0 at root
2131.1Sderaadtcpu0	at mainbus0
2141.1Sderaadt
2151.55Spk#### Bus types found on SPARC systems.
2161.55Spk
2171.24Sthorpejsbus0	at mainbus0				# sun4c
2181.24Sthorpejobio0	at mainbus0				# sun4 and sun4m
2191.87Schristossparcvme0	at mainbus0				# sun4
2201.22Spkiommu0	at mainbus0				# sun4m
2211.22Spksbus0	at iommu0				# sun4m
2221.87Schristossparcvme0	at iommu0				# sun4m
2231.88Sdrochnervme0	at sparcvme0		# mi VME attachment
2241.64Spk
2251.64Spk## SBus expander box
2261.64Spkxbox*	at sbus? slot ? offset ?
2271.64Spksbus*	at xbox?
2281.72Spk
2291.72Spk## SBus to PCMCIA bridge
2301.80Sabs# Currently enabling nell* with audioamd* causes panic at attach
2311.80Sabs#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
2321.80Sabs#pcmcia*	at nell?
2331.1Sderaadt
2341.55Spk#### Standard system devices -- all required for a given architecture
2351.24Sthorpej
2361.55Spk## Auxiliary system registers on sun4c and sun4m
2371.24Sthorpejauxreg0	at mainbus0				# sun4c
2381.22Spkauxreg0	at obio0				# sun4m
2391.106Smattauxiotwo0 at obio0				# only on Tadpole SPARCbook.
2401.27Sabrown
2411.55Spk## Power status and control register on Sun4m systems
2421.27Sabrownpower0	at obio0
2431.24Sthorpej
2441.55Spk## Mostek clock found on 4/300, sun4c, and sun4m systems.
2451.55Spk## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2461.24Sthorpejclock0	at mainbus0				# sun4c
2471.22Spkclock0	at obio0				# sun4m
2481.24Sthorpejclock0	at obio0 addr 0xf2000000		# sun4/300
2491.24Sthorpej
2501.55Spk## Intersil clock found on 4/100 and 4/200 systems.
2511.24Sthorpejoclock0	at obio0 addr 0xf3000000		# sun4/200
2521.24Sthorpejoclock0	at obio0 addr 0x03000000		# sun4/100
2531.24Sthorpej
2541.55Spk## Memory error registers.
2551.24Sthorpejmemreg0	at mainbus0				# sun4c
2561.22Spkmemreg0	at obio0				# sun4m
2571.24Sthorpejmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2581.24Sthorpejmemreg0	at obio0 addr 0x04000000		# sun4/100
2591.74Spk
2601.74Spk## ECC memory control
2611.74Spkeccmemctl0 at mainbus0				# sun4m
2621.24Sthorpej
2631.55Spk## Timer chip found on 4/300, sun4c, and sun4m systems.
2641.24Sthorpejtimer0	at mainbus0				# sun4c
2651.22Spktimer0	at obio0				# sun4m
2661.24Sthorpejtimer0	at obio0 addr 0xef000000		# sun4/300
2671.24Sthorpej
2681.55Spk## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2691.55Spk## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2701.55Spk## Mostek clock chip on 4/300 systems.
2711.24Sthorpejeeprom0	at obio0 addr 0xf2000000		# sun4/200
2721.24Sthorpejeeprom0	at obio0 addr 0x02000000		# sun4/100
2731.24Sthorpej
2741.55Spk
2751.55Spk#### Serial port configuration
2761.55Spk
2771.55Spk## Zilog 8530 serial chips.  Each has two-channels.
2781.55Spk## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
2791.24Sthorpejzs0	at mainbus0					# sun4c
2801.24Sthorpejzs0	at obio0					# sun4m
2811.100Spkzs0	at obio0 addr 0xf1000000 level 12		# sun4/200 and sun4/300
2821.100Spkzs0	at obio0 addr 0x01000000 level 12		# sun4/100
2831.100Spkzstty0	at zs0 channel 0				# ttya
2841.100Spkzstty1	at zs0 channel 1				# ttyb
2851.50Sgwr
2861.24Sthorpejzs1	at mainbus0					# sun4c
2871.24Sthorpejzs1	at obio0					# sun4m
2881.100Spkzs1	at obio0 addr 0xf0000000 level 12		# sun4/200 and sun4/300
2891.100Spkzs1	at obio0 addr 0x00000000 level 12		# sun4/100
2901.100Spkkbd0	at zs1 channel 0				# keyboard
2911.100Spkms0	at zs1 channel 1				# mouse
2921.100Spk
2931.100Spkzs2	at obio0 addr 0xe0000000 level 12		# sun4/300
2941.100Spkzstty2	at zs2 channel 0				# ttyc
2951.100Spkzstty3	at zs2 channel 1				# ttyd
2961.113Smatt
2971.125Slukem## NS16x50 serial chips and clones.  Present on the
2981.113Smatt## Sun JavaStation-1 and Tadpole SPARCbook 3
2991.113Smattcom*	at obio0					# sun4m
3001.66Spk
3011.97Scjs# Parallel port.
3021.97Scjsbpp*	at sbus? slot? offset ?
3031.66Spk
3041.66Spk## Magma Serial/Parallel driver
3051.66Spkmagma*	at sbus? slot ? offset ?
3061.66Spkmtty*	at magma?
3071.66Spkmbpp*	at magma?
3081.66Spk
3091.75Spk## PCMCIA serial interfaces
3101.80Sabs#com*	at pcmcia?
3111.80Sabs#pcmcom*	at pcmcia?
3121.80Sabs#com*	at pcmcom?
3131.24Sthorpej
3141.55Spk#### Disk controllers and disks
3151.55Spk
3161.26Spk#
3171.26Spk
3181.55Spk## The following flags may be set for the NCR53c94 based esp driver:
3191.55Spk##	bits 0-7:  disable disconnect/reselect for the corresponding target
3201.55Spk##	bits 8-15: disable synchronous negotiation for target [bit-8]
3211.55Spk
3221.55Spk## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3231.55Spk## Both `dma' and `esp' are needed in all cases.
3241.55Spk## Two kinds of additional SBus SCSI interfaces are available.  One uses
3251.55Spk## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3261.55Spk
3271.55Spk## sun4/300 SCSI - an NCR53c94 or equivalent behind
3281.55Spk## an LSI Logic DMA controller
3291.55Spk
3301.24Sthorpejdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3311.55Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3321.1Sderaadt
3331.55Spkdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3341.51Spkesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3351.51Spkesp0	at dma0 flags 0x0000				# sun4m
3361.24Sthorpej
3371.55Spk# FSBE/S SCSI
3381.55Spkdma*	at sbus? slot ? offset ?			# SBus
3391.55Spkesp*	at sbus? slot ? offset ? flags 0x0000		# SBus (older proms)
3401.55Spkesp*	at dma? flags 0x0000				# SBus
3411.24Sthorpej
3421.55Spkscsibus* at esp?
3431.55Spk
3441.55Spk## Qlogic ISP SBus SCSI Card
3451.42Scgdisp*	at sbus? slot ? offset ?
3461.55Spkscsibus* at isp?
3471.42Scgd
3481.55Spk## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3491.55Spk## This driver has several flags which may be enabled by OR'ing
3501.55Spk## the values and using the "flags" directive.
3511.55Spk## Valid flags are:
3521.55Spk##
3531.55Spk##	0x01		Use DMA (may be polled)
3541.55Spk##	0x02		Use DMA completion interrupts
3551.55Spk##	0x04		Allow disconnect/reselect
3561.55Spk##
3571.55Spk## E.g. the following would enable DMA, interrupts, and reselect:
3581.88Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3591.55Spk##
3601.55Spk## By default, DMA is enabled in the driver.
3611.25Spk
3621.88Sdrochnersi0	at vme0 addr 0x200000 irq 2 vect 0x40
3631.55Spkscsibus* at si?
3641.24Sthorpej
3651.55Spk## NCR5380-based "SCSI Weird" on-board SCSI interface found
3661.55Spk## on sun4/100 systems.  The flags are the same as the "si"
3671.55Spk## controller.  Note, while DMA is enabled by default, only
3681.55Spk## polled DMA works at this time, and reselects do not work
3691.55Spk## on this particular controller.
3701.1Sderaadt
3711.55Spksw0	at obio0 addr 0x0a000000 level 3
3721.55Spkscsibus* at sw?
3731.24Sthorpej
3741.75Spk## PCMCIA SCSI controllers
3751.80Sabs#aic*	at pcmcia?
3761.80Sabs#scsibus* at aic?
3771.75Spk
3781.75Spk
3791.55Spk## These entries find devices on all SCSI busses and assign
3801.55Spk## unit numbers dynamically.
3811.55Spksd*	at scsibus? target ? lun ?		# SCSI disks
3821.55Spkst*	at scsibus? target ? lun ?		# SCSI tapes
3831.55Spkcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
3841.55Spkch*	at scsibus? target ? lun ?		# SCSI changer devices
3851.55Spkss*	at scsibus? target ? lun ?		# SCSI scanners
3861.118Smjacobses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE
3871.55Spkuk*	at scsibus? target ? lun ?		# unknown SCSI
3881.23Spk
3891.9Spk
3901.55Spk## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
3911.55Spk## on sun4 systems.
3921.88Sdrochnerxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
3931.88Sdrochnerxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
3941.88Sdrochnerxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
3951.88Sdrochnerxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
3961.9Spkxd*	at xdc? drive ?
3971.16Schuck
3981.55Spk## Xylogics 451 or 451 VME SMD disk controllers and disks, found
3991.55Spk## on sun4 systems.
4001.88Sdrochnerxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
4011.88Sdrochnerxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
4021.16Schuckxy*	at xyc? drive ?
4031.10Spk
4041.24Sthorpej
4051.55Spk## Floppy controller and drive found on SPARCstations.
4061.55Spk
4071.55Spkfdc0	at mainbus0				# sun4c controller
4081.55Spkfdc0	at obio0				# sun4m controller
4091.55Spkfd*	at fdc0					# the drive itself
4101.55Spk
4111.75Spk## PCMCIA IDE controllers
4121.80Sabs#wdc*	at pcmcia?
4131.80Sabs#wd*	at wdc?
4141.75Spk
4151.55Spk## A disk-like interface to files.  Can be used to create floppy, CD,
4161.55Spk## miniroot images, etc.
4171.55Spk
4181.55Spkpseudo-device	vnd	4
4191.55Spk
4201.55Spk## Concatenated and striped disks; with this, you can create a software-based
4211.55Spk## disk array similar to a "RAID 0" setup.  See ccd(4).
4221.55Spk
4231.55Spkpseudo-device	ccd	4
4241.71Soster
4251.71Soster## RAIDframe disk driver: software RAID driver.  See raid(4).
4261.71Soster
4271.129Sosterpseudo-device	raid	8
4281.129Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
4291.129Soster# Options to enable various other RAIDframe RAID types.
4301.129Soster# options	RF_INCLUDE_EVENODD=1
4311.129Soster# options	RF_INCLUDE_RAID5_RS=1
4321.129Soster# options	RF_INCLUDE_PARITYLOGGING=1
4331.129Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
4341.129Soster# options	RF_INCLUDE_INTERDECLUSTER=1
4351.129Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
4361.129Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
4371.129Soster
4381.55Spk
4391.55Spk## Memory disk device, used on boot floppies with compressed
4401.55Spk## kernel-plus-root-disk images.
4411.55Spk
4421.55Spk#pseudo-device	md	1
4431.55Spk
4441.55Spk
4451.55Spk#### Network interfaces
4461.55Spk
4471.55Spk## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4481.55Spk## Three flavors of additional SBus ethernets are available.  One attaches
4491.55Spk## directly like the sun4c on-board, one uses the ledma device like the
4501.55Spk## sun4m on-board, and one uses the lebuffer device.
4511.55Spk
4521.56Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
4531.56Spkle0		at sbus0 slot ? offset ?		# sun4c on-board
4541.56Spkledma0		at sbus0 slot ? offset ?		# sun4m on-board
4551.56Spkle0		at ledma0				# sun4m on-board
4561.56Spkle*		at sbus? slot ? offset ?		# SBus
4571.56Spkledma*		at sbus? slot ? offset ?		# SBus
4581.56Spkle*		at ledma?				# SBus
4591.56Spklebuffer0	at sbus? slot ? offset ?		# SBus
4601.56Spkle0		at lebuffer?				# SBus
4611.55Spklebuffer*	at sbus? slot ? offset ?		# SBus
4621.56Spkle*		at lebuffer?				# SBus
4631.55Spk
4641.55Spk
4651.55Spk## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
4661.55Spk## or on a Multibus/VME card.
4671.55Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
4681.55Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
4691.108Spk## VME: the first [addr,len] pair specifies the device registers;
4701.108Spk##	the second pair specifies the on-board memory buffer
4711.108Spkie1	at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
4721.108Spkie2	at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
4731.108Spkie3	at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
4741.108Spkie4	at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
4751.55Spk
4761.90Shubertf## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
4771.90Shubertf## (qe, 10MBd) attached.
4781.90Shubertfqec*	at sbus? slot ? offset ?		# Quad Ethernet Controller
4791.90Shubertfbe*	at qec?					# BigMac Ethernet (10/100MBd)
4801.90Shubertfqe*	at qec?					# Mace Ethernet (10MBd)
4811.85Spk
4821.98Spk## Happy Meal Ethernet
4831.98Spkhme*	at sbus? slot ? offset ?
4841.70Spk
4851.70Spk# midway ATM
4861.70Spken0	at sbus? slot ? offset ?
4871.75Spk
4881.75Spk# PCMCIA ethernet devices
4891.80Sabs#ep*	at pcmcia?
4901.80Sabs#mbe*	at pcmcia?
4911.80Sabs#ne*	at pcmcia?
4921.80Sabs#sm*	at pcmcia?
4931.75Spk
4941.75Spk# MII/PHY support
4951.81Spkexphy*	at mii? phy ?			# 3Com internal PHYs
4961.81Spkicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
4971.81Spkinphy*	at mii? phy ?			# Intel 82555 PHYs
4981.81Spklxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
4991.81Spknsphy*	at mii? phy ?			# NS83840 PHYs
5001.81Spkqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5011.81Spksqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5021.81Spktlphy*	at mii? phy ?			# ThunderLAN PHYs
5031.81Spkukphy*	at mii? phy ?			# generic unknown PHYs
5041.70Spk
5051.55Spk## Loopback network interface; required
5061.55Spkpseudo-device	loop
5071.55Spk
5081.55Spk## SLIP and CSLIP interfaces, for IP over a serial line.
5091.55Spkpseudo-device	sl		2
5101.55Spk
5111.55Spk## PPP, the successor to SLIP.  See pppd(8).
5121.55Spkpseudo-device	ppp		2
5131.128Smartin
5141.128Smartin## PPP over Ethernet (RFC 2516)
5151.128Smartinpseudo-device	pppoe
5161.55Spk
5171.55Spk## Starmode Radio IP, a special hardware network device.
5181.55Spk#pseudo-device	strip		1
5191.55Spk
5201.55Spk## Network "tunnel" device, allowing protocol stacks to run in the userland.
5211.55Spk## This is used by the third-party user-mode "ppp" program, and others.
5221.55Spkpseudo-device	tun		4
5231.73Shwr
5241.73Shwr## Generic L3 over IP tunnel
5251.73Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
5261.55Spk
5271.55Spk## Berkeley Packet Filter, required to run RARPD.  A generic C-language
5281.55Spk## interface that allows selective examining of incoming packets.
5291.55Spkpseudo-device	bpfilter	8
5301.55Spk
5311.55Spk## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
5321.55Spk## one example of the use of the IP Filter.
5331.55Spkpseudo-device	ipfilter
5341.55Spk
5351.94Sitojun## for IPv6
5361.94Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
5371.94Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
5381.104Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
5391.120Shubertf
5401.120Shubertf## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
5411.120Shubertfpseudo-device	vlan
5421.122Satatat
5431.122Satatat## Simple inter-network traffic bridging
5441.126Satatatpseudo-device	bridge
5451.55Spk
5461.55Spk#### Audio and video devices
5471.55Spk
5481.55Spk## /dev/audio support (`audioamd' plus `audio')
5491.55Spk##
5501.55Spkaudioamd0	at mainbus0				# sun4c
5511.63Spk#audioamd0	at obio0				# sun4m
5521.55Spkaudioamd0	at sbus0 slot ? offset ?		# sun4m
5531.55Spkaudio*		at audioamd0
5541.70Spk
5551.70Spkaudiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
5561.70Spkaudio*		at audiocs0
5571.55Spk
5581.55Spk
5591.55Spk## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
5601.55Spk## systems.  If your sun4 system has a cgfour installed in the P4 slot,
5611.55Spk## the P4 entries for "bwtwo" will attach to the overlay plane of the
5621.55Spk## "cgfour".
5631.1Sderaadt
5641.55Spkbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
5651.55Spkbwtwo*		at sbus? slot ? offset ?		#
5661.55Spkbwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
5671.55Spkbwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
5681.55Spkbwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
5691.21Sthorpej
5701.55Spk## Sun "cgtwo" VME color framebuffer
5711.88Sdrochnercgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
5721.21Sthorpej
5731.55Spk## Sun "cgthree" Sbus color framebuffer
5741.55Spkcgthree0	at sbus? slot ? offset ?
5751.55Spkcgthree*	at sbus? slot ? offset ?
5761.55Spk#cgthree0	at obio? slot ? offset ?		# sun4m
5771.55Spk
5781.55Spk## Sun "cgfour" color framebuffer with overlay plane.  See above comment
5791.55Spk## regarding overlay plane.
5801.55Spkcgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5811.55Spkcgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5821.55Spk
5831.55Spk## Sun "cgsix" accelerated color framebuffer.
5841.55Spkcgsix0		at sbus? slot ? offset ?
5851.55Spkcgsix*		at sbus? slot ? offset ?
5861.55Spkcgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
5871.55Spkcgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
5881.55Spk
5891.55Spk## Sun "cgeight" 24-bit framebuffer
5901.55Spkcgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5911.55Spkcgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5921.55Spk
5931.55Spk## Sun "tcx" accelerated color framebuffer.
5941.55Spktcx0		at sbus? slot ? offset ?
5951.55Spktcx*		at sbus? slot ? offset ?
5961.33Sabrown
5971.33Sabrown# Sun "cgfourteen" accelerated 24-bit framebuffer.
5981.33Sabrowncgfourteen0	at obio0			# sun4m
5991.1Sderaadt
6001.106Smatt# P9100-based display on Tadpole SPARCbook 3.
6011.106Smattpnozz0		at sbus? slot ? offset ?
6021.1Sderaadt
6031.55Spk#### Other device configuration
6041.106Smatt
6051.106Smatt# Tadpole microcontroller
6061.106Smatttctrl0 at obio0
6071.24Sthorpej
6081.55Spk## Pseudo ttys, required for network logins and programs like screen.
6091.24Sthorpej
6101.117Sjdolecekpseudo-device	pty			# pseudo-terminals
6111.55Spk
6121.55Spk## Random device, used to implement /dev/random (a source of random noise),
6131.55Spk## and generate randomness for some kernel formulae.
6141.55Spk
6151.84Smrgpseudo-device	rnd
6161.91Sphil
6171.91Sphil# a pseudo device needed for Coda	# also needs CODA (above)
6181.91Sphilpseudo-device	vcoda		4	# coda minicache <-> venus comm.
619