GENERIC revision 1.125
11.125Slukem# 	$NetBSD: GENERIC,v 1.125 2001/11/20 12:56:39 lukem Exp $
21.1Sderaadt
31.32Smrginclude "arch/sparc/conf/std.sparc"
41.96Shubertf
51.125Slukem#ident 		"GENERIC-$Revision: 1.125 $"
61.45Spk
71.45Spkmaxusers	32
81.32Smrg
91.55Spk## System kernel configuration.  See options(4) for more detail.
101.55Spk
111.55Spk
121.24Sthorpej# Options for variants of the Sun SPARC architecure.
131.55Spk# We currently support three architecture types; at least one is required.
141.43Slukemoptions 	SUN4		# sun4/100, sun4/200, sun4/300
151.43Slukemoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
161.43Slukemoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
171.24Sthorpej
181.109Spkoptions 	SUN4_MMU3L	# sun4/400 3-level MMU
191.1Sderaadt
201.55Spk## System options specific to the sparc machine type
211.55Spk
221.55Spk# Blink the power LED on some machines to indicate the system load.
231.55Spk#options 	BLINK
241.55Spk
251.55Spk## Use a faster console than the PROM's slow drawing routines.  Not needed
261.55Spk## for headless (no framebuffer) machines.
271.77Sadoptions 	RASTERCONSOLE		# fast rasterop console
281.79Sadoptions 	FONT_GALLANT12x22	# the console font
291.79Sad#options 	FONT_BOLD8x16		# a somewhat smaller font
301.103Spk## default console colors: black-on-white; this can be changed
311.103Spk## using the following two options.
321.103Spk#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
331.103Spk#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
341.55Spk
351.55Spk#### System options that are the same for all ports
361.55Spk
371.55Spk## Root device configuration: change the ?'s if you are going to use a
381.55Spk## nonstandard root partition (other than where the kernel is booted from)
391.55Spk## and/or nonstandard root type (not ffs or nfs).  Normally this can be
401.55Spk## automagically determined at boot time.
411.55Spk
421.55Spkconfig		netbsd	root on ? type ?
431.55Spk
441.55Spk## System call tracing (see ktrace(1)).
451.55Spkoptions 	KTRACE
461.55Spk
471.55Spk## Collect statistics on kernel malloc's and free's.  This does have a
481.55Spk## significant performance hit on slower machines, so it is intended for
491.55Spk## diagnostic use only.
501.55Spk#options 	KMEMSTATS
511.55Spk
521.55Spk## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
531.43Slukemoptions 	SYSVMSG		# System V message queues
541.43Slukemoptions 	SYSVSEM		# System V semaphores
551.125Slukem#options 	SEMMNI=10	# number of semaphore identifiers
561.125Slukem#options 	SEMMNS=60	# number of semaphores in system
571.125Slukem#options 	SEMUME=10	# max number of undo entries per process
581.125Slukem#options 	SEMMNU=30	# number of undo structures in system
591.43Slukemoptions 	SYSVSHM		# System V shared memory
601.43Slukem#options 	SHMMAXPGS=1024	# 1024 pages is the default
611.24Sthorpej
621.55Spk## Loadable kernel module support; still under development.
631.55Spkoptions 	LKM
641.55Spk
651.59Spk## NFS boot options; default on sparc is the bootparam protocol
661.59Spkoptions 	NFS_BOOT_BOOTPARAM
671.59Spk#options 	NFS_BOOT_BOOTP
681.59Spk#options 	NFS_BOOT_DHCP
691.55Spk
701.55Spk#### Debugging options
711.55Spk
721.55Spk## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
731.55Spk## serial console break or keyboard reset, where the PROM would normally
741.55Spk## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
751.55Spk#options 	DDB			# kernel dynamic debugger
761.52Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
771.69Spk#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
781.55Spk
791.55Spk## You may also use gdb, on another computer connected to this machine over
801.124Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
811.124Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
821.124Slukem## the minor device number encodes the PROM enumeration of the serial ports,
831.124Slukem## i.e.:
841.124Slukem## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
851.124Slukem## (Note: ttyc and ttyd are available only on some sun4 models)
861.124Slukem#options 	KGDB			# support for kernel gdb
871.124Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
881.124Slukem#options 	KGDB_DEVRATE=38400	# baud rate
891.24Sthorpej
901.55Spk
911.55Spk## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
921.55Spk## such that gdb(1) can be used on a kernel coredump.
931.55Spk
941.125Slukem#makeoptions	DEBUG="-g"
951.55Spk
961.55Spk
971.55Spk## Adds code to the kernel that does internal consistency checks, and will
981.55Spk## cause the kernel to panic if corruption of internal data structures
991.55Spk## is detected.
1001.55Spk#options 	DIAGNOSTIC	# extra kernel sanity checking
1011.55Spk
1021.55Spk## Enable (possibly expensive) debugging code that may also display messages
1031.55Spk## on the system console
1041.55Spk#options 	DEBUG
1051.55Spk
1061.55Spk## Make SCSI error messages more verbose when explaining their meanings.
1071.55Spkoptions 	SCSIVERBOSE
1081.105Saugustss
1091.105Saugustssoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1101.55Spk
1111.55Spk## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1121.55Spk## This allows writing to /dev/mem, loading kernel modules while multi-user,
1131.55Spk## and other insecurities good only for development work.  Do not use this
1141.55Spk## option on a production machine.
1151.55Spk#options 	INSECURE
1161.55Spk
1171.55Spk## Allow non-root users to grab /dev/console with programs such as xconsole.
1181.55Spk## `xconsole' therefore does not need setuid root with this option enabled.
1191.55Spk#options 	UCONSOLE
1201.55Spk
1211.55Spk## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1221.55Spk## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1231.55Spk## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1241.55Spk## opaque file mechanism.  Perl calls this "secure setuid scripts."
1251.55Spk
1261.55Spk#options 	FDSCRIPTS
1271.55Spk#options 	SETUIDSCRIPTS
1281.55Spk
1291.55Spk## Options for compatibility with previous releases foreign system binaries.
1301.55Spk## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1311.55Spk## additional user-level utilities or system configuration files. See
1321.55Spk## compat_sunos(8) and compat_svr4(8).
1331.55Spk
1341.43Slukemoptions 	COMPAT_43	# 4.3BSD system interfaces
1351.43Slukemoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1361.43Slukemoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1371.43Slukemoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1381.54Smjacoboptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1391.89Saugustssoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
1401.43Slukemoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1411.43Slukemoptions 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1421.1Sderaadt
1431.55Spk## File systems.  You probably need at least one of FFS or NFS.
1441.43Slukemfile-system	FFS		# Berkeley Fast Filesystem
1451.43Slukemfile-system	NFS		# Sun NFS-compatible filesystem client
1461.43Slukemfile-system	KERNFS		# kernel data-structure filesystem
1471.43Slukemfile-system	NULLFS		# NULL layered filesystem
1481.95Swrstudenfile-system 	OVERLAY		# overlay file system
1491.43Slukemfile-system	MFS		# memory-based filesystem
1501.43Slukemfile-system	FDESC		# user file descriptor filesystem
1511.43Slukemfile-system	UMAPFS		# uid/gid remapping filesystem
1521.43Slukemfile-system	LFS		# Log-based filesystem (still experimental)
1531.43Slukemfile-system	PORTAL		# portal filesystem (still experimental)
1541.43Slukemfile-system	PROCFS		# /proc
1551.43Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1561.43Slukemfile-system	UNION		# union file system
1571.43Slukemfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1581.91Sphilfile-system	CODA		# Coda File System; also needs vcoda (below)
1591.43Slukem
1601.55Spk## File system options.
1611.43Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
1621.43Slukemoptions 	QUOTA		# FFS quotas
1631.63Spk#options 	FFS_EI		# FFS Endian Independent support
1641.125Slukemoptions 	SOFTDEP		# FFS soft updates support.
1651.94Sitojun
1661.55Spk## Network protocol support.  In most environments, INET is required.
1671.57Spkoptions 	INET		# IP (Internet Protocol) v4
1681.94Sitojunoptions 	INET6		# IPV6
1691.94Sitojun#options 	IPSEC		# IP security
1701.94Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1711.94Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1721.57Spk#options 	GATEWAY		# packet forwarding ("router switch")
1731.57Spk#options 	MROUTING	# packet forwarding of multicast packets
1741.57Spk#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1751.57Spkoptions 	NS		# Xerox NS networking
1761.57Spk#options 	NSIP		# Xerox NS tunneling over IP
1771.57Spkoptions 	ISO,TPIP	# OSI networking
1781.112Ssommerfe#options 	EON		# OSI tunneling over IP
1791.57Spk#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1801.75Spk#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1811.67Spkoptions 	NTP		# Network Time Protocol in-kernel support
1821.57Spk#options 	PPS_SYNC	# Add serial line synchronization for NTP
1831.86Schristosoptions 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1841.86Schristosoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1851.86Schristosoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
1861.86Schristosoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1871.86Schristosoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
1881.1Sderaadt
1891.1Sderaadt
1901.55Spk
1911.57Spk#### Main bus and CPU .. all systems.
1921.1Sderaadtmainbus0 at root
1931.1Sderaadtcpu0	at mainbus0
1941.1Sderaadt
1951.55Spk#### Bus types found on SPARC systems.
1961.55Spk
1971.24Sthorpejsbus0	at mainbus0				# sun4c
1981.24Sthorpejobio0	at mainbus0				# sun4 and sun4m
1991.87Schristossparcvme0	at mainbus0				# sun4
2001.22Spkiommu0	at mainbus0				# sun4m
2011.22Spksbus0	at iommu0				# sun4m
2021.87Schristossparcvme0	at iommu0				# sun4m
2031.88Sdrochnervme0	at sparcvme0		# mi VME attachment
2041.64Spk
2051.64Spk## SBus expander box
2061.64Spkxbox*	at sbus? slot ? offset ?
2071.64Spksbus*	at xbox?
2081.72Spk
2091.72Spk## SBus to PCMCIA bridge
2101.80Sabs# Currently enabling nell* with audioamd* causes panic at attach
2111.80Sabs#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
2121.80Sabs#pcmcia*	at nell?
2131.1Sderaadt
2141.55Spk#### Standard system devices -- all required for a given architecture
2151.24Sthorpej
2161.55Spk## Auxiliary system registers on sun4c and sun4m
2171.24Sthorpejauxreg0	at mainbus0				# sun4c
2181.22Spkauxreg0	at obio0				# sun4m
2191.106Smattauxiotwo0 at obio0				# only on Tadpole SPARCbook.
2201.27Sabrown
2211.55Spk## Power status and control register on Sun4m systems
2221.27Sabrownpower0	at obio0
2231.24Sthorpej
2241.55Spk## Mostek clock found on 4/300, sun4c, and sun4m systems.
2251.55Spk## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2261.24Sthorpejclock0	at mainbus0				# sun4c
2271.22Spkclock0	at obio0				# sun4m
2281.24Sthorpejclock0	at obio0 addr 0xf2000000		# sun4/300
2291.24Sthorpej
2301.55Spk## Intersil clock found on 4/100 and 4/200 systems.
2311.24Sthorpejoclock0	at obio0 addr 0xf3000000		# sun4/200
2321.24Sthorpejoclock0	at obio0 addr 0x03000000		# sun4/100
2331.24Sthorpej
2341.55Spk## Memory error registers.
2351.24Sthorpejmemreg0	at mainbus0				# sun4c
2361.22Spkmemreg0	at obio0				# sun4m
2371.24Sthorpejmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2381.24Sthorpejmemreg0	at obio0 addr 0x04000000		# sun4/100
2391.74Spk
2401.74Spk## ECC memory control
2411.74Spkeccmemctl0 at mainbus0				# sun4m
2421.24Sthorpej
2431.55Spk## Timer chip found on 4/300, sun4c, and sun4m systems.
2441.24Sthorpejtimer0	at mainbus0				# sun4c
2451.22Spktimer0	at obio0				# sun4m
2461.24Sthorpejtimer0	at obio0 addr 0xef000000		# sun4/300
2471.24Sthorpej
2481.55Spk## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2491.55Spk## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2501.55Spk## Mostek clock chip on 4/300 systems.
2511.24Sthorpejeeprom0	at obio0 addr 0xf2000000		# sun4/200
2521.24Sthorpejeeprom0	at obio0 addr 0x02000000		# sun4/100
2531.24Sthorpej
2541.55Spk
2551.55Spk#### Serial port configuration
2561.55Spk
2571.55Spk## Zilog 8530 serial chips.  Each has two-channels.
2581.55Spk## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
2591.24Sthorpejzs0	at mainbus0					# sun4c
2601.24Sthorpejzs0	at obio0					# sun4m
2611.100Spkzs0	at obio0 addr 0xf1000000 level 12		# sun4/200 and sun4/300
2621.100Spkzs0	at obio0 addr 0x01000000 level 12		# sun4/100
2631.100Spkzstty0	at zs0 channel 0				# ttya
2641.100Spkzstty1	at zs0 channel 1				# ttyb
2651.50Sgwr
2661.24Sthorpejzs1	at mainbus0					# sun4c
2671.24Sthorpejzs1	at obio0					# sun4m
2681.100Spkzs1	at obio0 addr 0xf0000000 level 12		# sun4/200 and sun4/300
2691.100Spkzs1	at obio0 addr 0x00000000 level 12		# sun4/100
2701.100Spkkbd0	at zs1 channel 0				# keyboard
2711.100Spkms0	at zs1 channel 1				# mouse
2721.100Spk
2731.100Spkzs2	at obio0 addr 0xe0000000 level 12		# sun4/300
2741.100Spkzstty2	at zs2 channel 0				# ttyc
2751.100Spkzstty3	at zs2 channel 1				# ttyd
2761.113Smatt
2771.125Slukem## NS16x50 serial chips and clones.  Present on the
2781.113Smatt## Sun JavaStation-1 and Tadpole SPARCbook 3
2791.113Smattcom*	at obio0					# sun4m
2801.66Spk
2811.97Scjs# Parallel port.
2821.97Scjsbpp*	at sbus? slot? offset ?
2831.66Spk
2841.66Spk## Magma Serial/Parallel driver
2851.66Spkmagma*	at sbus? slot ? offset ?
2861.66Spkmtty*	at magma?
2871.66Spkmbpp*	at magma?
2881.66Spk
2891.75Spk## PCMCIA serial interfaces
2901.80Sabs#com*	at pcmcia?
2911.80Sabs#pcmcom*	at pcmcia?
2921.80Sabs#com*	at pcmcom?
2931.24Sthorpej
2941.55Spk#### Disk controllers and disks
2951.55Spk
2961.26Spk#
2971.26Spk
2981.55Spk## The following flags may be set for the NCR53c94 based esp driver:
2991.55Spk##	bits 0-7:  disable disconnect/reselect for the corresponding target
3001.55Spk##	bits 8-15: disable synchronous negotiation for target [bit-8]
3011.55Spk
3021.55Spk## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3031.55Spk## Both `dma' and `esp' are needed in all cases.
3041.55Spk## Two kinds of additional SBus SCSI interfaces are available.  One uses
3051.55Spk## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3061.55Spk
3071.55Spk## sun4/300 SCSI - an NCR53c94 or equivalent behind
3081.55Spk## an LSI Logic DMA controller
3091.55Spk
3101.24Sthorpejdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3111.55Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3121.1Sderaadt
3131.55Spkdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3141.51Spkesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3151.51Spkesp0	at dma0 flags 0x0000				# sun4m
3161.24Sthorpej
3171.55Spk# FSBE/S SCSI
3181.55Spkdma*	at sbus? slot ? offset ?			# SBus
3191.55Spkesp*	at sbus? slot ? offset ? flags 0x0000		# SBus (older proms)
3201.55Spkesp*	at dma? flags 0x0000				# SBus
3211.24Sthorpej
3221.55Spkscsibus* at esp?
3231.55Spk
3241.55Spk## Qlogic ISP SBus SCSI Card
3251.42Scgdisp*	at sbus? slot ? offset ?
3261.55Spkscsibus* at isp?
3271.42Scgd
3281.55Spk## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3291.55Spk## This driver has several flags which may be enabled by OR'ing
3301.55Spk## the values and using the "flags" directive.
3311.55Spk## Valid flags are:
3321.55Spk##
3331.55Spk##	0x01		Use DMA (may be polled)
3341.55Spk##	0x02		Use DMA completion interrupts
3351.55Spk##	0x04		Allow disconnect/reselect
3361.55Spk##
3371.55Spk## E.g. the following would enable DMA, interrupts, and reselect:
3381.88Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3391.55Spk##
3401.55Spk## By default, DMA is enabled in the driver.
3411.25Spk
3421.88Sdrochnersi0	at vme0 addr 0x200000 irq 2 vect 0x40
3431.55Spkscsibus* at si?
3441.24Sthorpej
3451.55Spk## NCR5380-based "SCSI Weird" on-board SCSI interface found
3461.55Spk## on sun4/100 systems.  The flags are the same as the "si"
3471.55Spk## controller.  Note, while DMA is enabled by default, only
3481.55Spk## polled DMA works at this time, and reselects do not work
3491.55Spk## on this particular controller.
3501.1Sderaadt
3511.55Spksw0	at obio0 addr 0x0a000000 level 3
3521.55Spkscsibus* at sw?
3531.24Sthorpej
3541.75Spk## PCMCIA SCSI controllers
3551.80Sabs#aic*	at pcmcia?
3561.80Sabs#scsibus* at aic?
3571.75Spk
3581.75Spk
3591.55Spk## These entries find devices on all SCSI busses and assign
3601.55Spk## unit numbers dynamically.
3611.55Spksd*	at scsibus? target ? lun ?		# SCSI disks
3621.55Spkst*	at scsibus? target ? lun ?		# SCSI tapes
3631.55Spkcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
3641.55Spkch*	at scsibus? target ? lun ?		# SCSI changer devices
3651.55Spkss*	at scsibus? target ? lun ?		# SCSI scanners
3661.118Smjacobses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE
3671.55Spkuk*	at scsibus? target ? lun ?		# unknown SCSI
3681.23Spk
3691.9Spk
3701.55Spk## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
3711.55Spk## on sun4 systems.
3721.88Sdrochnerxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
3731.88Sdrochnerxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
3741.88Sdrochnerxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
3751.88Sdrochnerxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
3761.9Spkxd*	at xdc? drive ?
3771.16Schuck
3781.55Spk## Xylogics 451 or 451 VME SMD disk controllers and disks, found
3791.55Spk## on sun4 systems.
3801.88Sdrochnerxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
3811.88Sdrochnerxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
3821.16Schuckxy*	at xyc? drive ?
3831.10Spk
3841.24Sthorpej
3851.55Spk## Floppy controller and drive found on SPARCstations.
3861.55Spk
3871.55Spkfdc0	at mainbus0				# sun4c controller
3881.55Spkfdc0	at obio0				# sun4m controller
3891.55Spkfd*	at fdc0					# the drive itself
3901.55Spk
3911.75Spk## PCMCIA IDE controllers
3921.80Sabs#wdc*	at pcmcia?
3931.80Sabs#wd*	at wdc?
3941.75Spk
3951.55Spk## A disk-like interface to files.  Can be used to create floppy, CD,
3961.55Spk## miniroot images, etc.
3971.55Spk
3981.55Spkpseudo-device	vnd	4
3991.55Spk
4001.55Spk## Concatenated and striped disks; with this, you can create a software-based
4011.55Spk## disk array similar to a "RAID 0" setup.  See ccd(4).
4021.55Spk
4031.55Spkpseudo-device	ccd	4
4041.71Soster
4051.71Soster## RAIDframe disk driver: software RAID driver.  See raid(4).
4061.71Soster
4071.71Soster#pseudo-device	raid	4
4081.102Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
4091.55Spk
4101.55Spk## Memory disk device, used on boot floppies with compressed
4111.55Spk## kernel-plus-root-disk images.
4121.55Spk
4131.55Spk#pseudo-device	md	1
4141.55Spk
4151.55Spk
4161.55Spk#### Network interfaces
4171.55Spk
4181.55Spk## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4191.55Spk## Three flavors of additional SBus ethernets are available.  One attaches
4201.55Spk## directly like the sun4c on-board, one uses the ledma device like the
4211.55Spk## sun4m on-board, and one uses the lebuffer device.
4221.55Spk
4231.56Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
4241.56Spkle0		at sbus0 slot ? offset ?		# sun4c on-board
4251.56Spkledma0		at sbus0 slot ? offset ?		# sun4m on-board
4261.56Spkle0		at ledma0				# sun4m on-board
4271.56Spkle*		at sbus? slot ? offset ?		# SBus
4281.56Spkledma*		at sbus? slot ? offset ?		# SBus
4291.56Spkle*		at ledma?				# SBus
4301.56Spklebuffer0	at sbus? slot ? offset ?		# SBus
4311.56Spkle0		at lebuffer?				# SBus
4321.55Spklebuffer*	at sbus? slot ? offset ?		# SBus
4331.56Spkle*		at lebuffer?				# SBus
4341.55Spk
4351.55Spk
4361.55Spk## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
4371.55Spk## or on a Multibus/VME card.
4381.55Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
4391.55Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
4401.108Spk## VME: the first [addr,len] pair specifies the device registers;
4411.108Spk##	the second pair specifies the on-board memory buffer
4421.108Spkie1	at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
4431.108Spkie2	at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
4441.108Spkie3	at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
4451.108Spkie4	at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
4461.55Spk
4471.90Shubertf## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
4481.90Shubertf## (qe, 10MBd) attached.
4491.90Shubertfqec*	at sbus? slot ? offset ?		# Quad Ethernet Controller
4501.90Shubertfbe*	at qec?					# BigMac Ethernet (10/100MBd)
4511.90Shubertfqe*	at qec?					# Mace Ethernet (10MBd)
4521.85Spk
4531.98Spk## Happy Meal Ethernet
4541.98Spkhme*	at sbus? slot ? offset ?
4551.70Spk
4561.70Spk# midway ATM
4571.70Spken0	at sbus? slot ? offset ?
4581.75Spk
4591.75Spk# PCMCIA ethernet devices
4601.80Sabs#ep*	at pcmcia?
4611.80Sabs#mbe*	at pcmcia?
4621.80Sabs#ne*	at pcmcia?
4631.80Sabs#sm*	at pcmcia?
4641.75Spk
4651.75Spk# MII/PHY support
4661.81Spkexphy*	at mii? phy ?			# 3Com internal PHYs
4671.81Spkicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
4681.81Spkinphy*	at mii? phy ?			# Intel 82555 PHYs
4691.81Spklxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
4701.81Spknsphy*	at mii? phy ?			# NS83840 PHYs
4711.81Spkqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
4721.81Spksqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
4731.81Spktlphy*	at mii? phy ?			# ThunderLAN PHYs
4741.81Spkukphy*	at mii? phy ?			# generic unknown PHYs
4751.70Spk
4761.55Spk## Loopback network interface; required
4771.55Spkpseudo-device	loop
4781.55Spk
4791.55Spk## SLIP and CSLIP interfaces, for IP over a serial line.
4801.55Spkpseudo-device	sl		2
4811.55Spk
4821.55Spk## PPP, the successor to SLIP.  See pppd(8).
4831.55Spkpseudo-device	ppp		2
4841.55Spk
4851.55Spk## Starmode Radio IP, a special hardware network device.
4861.55Spk#pseudo-device	strip		1
4871.55Spk
4881.55Spk## Network "tunnel" device, allowing protocol stacks to run in the userland.
4891.55Spk## This is used by the third-party user-mode "ppp" program, and others.
4901.55Spkpseudo-device	tun		4
4911.73Shwr
4921.73Shwr## Generic L3 over IP tunnel
4931.73Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
4941.55Spk
4951.55Spk## Berkeley Packet Filter, required to run RARPD.  A generic C-language
4961.55Spk## interface that allows selective examining of incoming packets.
4971.55Spkpseudo-device	bpfilter	8
4981.55Spk
4991.55Spk## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
5001.55Spk## one example of the use of the IP Filter.
5011.55Spkpseudo-device	ipfilter
5021.55Spk
5031.94Sitojun## for IPv6
5041.94Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
5051.94Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
5061.104Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
5071.120Shubertf
5081.120Shubertf## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
5091.120Shubertfpseudo-device	vlan
5101.122Satatat
5111.122Satatat## Simple inter-network traffic bridging
5121.123Satatat#pseudo-device	bridge
5131.55Spk
5141.55Spk#### Audio and video devices
5151.55Spk
5161.55Spk## /dev/audio support (`audioamd' plus `audio')
5171.55Spk##
5181.55Spkaudioamd0	at mainbus0				# sun4c
5191.63Spk#audioamd0	at obio0				# sun4m
5201.55Spkaudioamd0	at sbus0 slot ? offset ?		# sun4m
5211.55Spkaudio*		at audioamd0
5221.70Spk
5231.70Spkaudiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
5241.70Spkaudio*		at audiocs0
5251.55Spk
5261.55Spk
5271.55Spk## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
5281.55Spk## systems.  If your sun4 system has a cgfour installed in the P4 slot,
5291.55Spk## the P4 entries for "bwtwo" will attach to the overlay plane of the
5301.55Spk## "cgfour".
5311.1Sderaadt
5321.55Spkbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
5331.55Spkbwtwo*		at sbus? slot ? offset ?		#
5341.55Spkbwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
5351.55Spkbwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
5361.55Spkbwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
5371.21Sthorpej
5381.55Spk## Sun "cgtwo" VME color framebuffer
5391.88Sdrochnercgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
5401.21Sthorpej
5411.55Spk## Sun "cgthree" Sbus color framebuffer
5421.55Spkcgthree0	at sbus? slot ? offset ?
5431.55Spkcgthree*	at sbus? slot ? offset ?
5441.55Spk#cgthree0	at obio? slot ? offset ?		# sun4m
5451.55Spk
5461.55Spk## Sun "cgfour" color framebuffer with overlay plane.  See above comment
5471.55Spk## regarding overlay plane.
5481.55Spkcgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5491.55Spkcgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5501.55Spk
5511.55Spk## Sun "cgsix" accelerated color framebuffer.
5521.55Spkcgsix0		at sbus? slot ? offset ?
5531.55Spkcgsix*		at sbus? slot ? offset ?
5541.55Spkcgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
5551.55Spkcgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
5561.55Spk
5571.55Spk## Sun "cgeight" 24-bit framebuffer
5581.55Spkcgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5591.55Spkcgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5601.55Spk
5611.55Spk## Sun "tcx" accelerated color framebuffer.
5621.55Spktcx0		at sbus? slot ? offset ?
5631.55Spktcx*		at sbus? slot ? offset ?
5641.33Sabrown
5651.33Sabrown# Sun "cgfourteen" accelerated 24-bit framebuffer.
5661.33Sabrowncgfourteen0	at obio0			# sun4m
5671.1Sderaadt
5681.106Smatt# P9100-based display on Tadpole SPARCbook 3.
5691.106Smattpnozz0		at sbus? slot ? offset ?
5701.1Sderaadt
5711.55Spk#### Other device configuration
5721.106Smatt
5731.106Smatt# Tadpole microcontroller
5741.106Smatttctrl0 at obio0
5751.24Sthorpej
5761.55Spk## Pseudo ttys, required for network logins and programs like screen.
5771.24Sthorpej
5781.117Sjdolecekpseudo-device	pty			# pseudo-terminals
5791.55Spk
5801.55Spk## Random device, used to implement /dev/random (a source of random noise),
5811.55Spk## and generate randomness for some kernel formulae.
5821.55Spk
5831.84Smrgpseudo-device	rnd
5841.91Sphil
5851.91Sphil# a pseudo device needed for Coda	# also needs CODA (above)
5861.91Sphilpseudo-device	vcoda		4	# coda minicache <-> venus comm.
587