INSTALL revision 1.5
11.5Sad#	$NetBSD: INSTALL,v 1.5 1999/04/13 18:45:41 ad Exp $
21.1Smrg#
31.1Smrg# from: NetBSD: GENERIC,v 1.67 1998/05/20 11:50:54 pk Exp
41.1Smrg#
51.1Smrg# floppy install kernel.  try to keep this in sync with GENERIC but
61.1Smrg# leave as much disabled as possible.
71.1Smrg
81.1Smrginclude "arch/sparc/conf/std.sparc"
91.1Smrg
101.1Smrgmaxusers	32
111.1Smrg
121.1Smrg# Enable the hooks used for initializing the root memory-disk.
131.1Smrgoptions 	MEMORY_DISK_HOOKS
141.1Smrgoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
151.1Smrgoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
161.1Smrg#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
171.4Smrgoptions 	MINIROOTSIZE=3312	# 1.44M * 1.15.  this must match
181.4Smrg					# what is `instfs' in /etc/disktab.
191.1Smrg
201.1Smrgpseudo-device	md		1	# memory disk device (ramdisk)
211.1Smrg
221.1Smrg## System kernel configuration.  See options(4) for more detail.
231.1Smrg
241.1Smrg# Options for variants of the Sun SPARC architecure.
251.1Smrg# We currently support three architecture types; at least one is required.
261.1Smrg#options 	SUN4		# sun4/100, sun4/200, sun4/300
271.1Smrgoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
281.1Smrgoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
291.1Smrg
301.1Smrg#options 	SUN4_MMU3L	# 3-level MMU on sun4/400; (incomplete)
311.1Smrg
321.1Smrg## System options specific to the sparc machine type
331.1Smrg
341.1Smrg# Blink the power LED on some machines to indicate the system load.
351.1Smrg#options 	BLINK
361.1Smrg
371.1Smrg## Use a faster console than the PROM's slow drawing routines.  Not needed
381.1Smrg## for headless (no framebuffer) machines.
391.5Sad#options 	RASTERCONSOLE		# fast rasterop console
401.5Sad#options	RASOPS1			# 1-bit operations (XXX)
411.5Sad#options	RASOPS8			# 8-bit operations (XXX)
421.5Sad#options	FONT_LUCIDA16x29	# the console font
431.1Smrg
441.1Smrg#### System options that are the same for all ports
451.1Smrg
461.1Smrg## Root device configuration: change the ?'s if you are going to use a
471.1Smrg## nonstandard root partition (other than where the kernel is booted from)
481.1Smrg## and/or nonstandard root type (not ffs or nfs).  Normally this can be
491.1Smrg## automagically determined at boot time.
501.1Smrg
511.1Smrgconfig		netbsd	root on ? type ?
521.1Smrg
531.1Smrg## System call tracing (see ktrace(1)).
541.1Smrg#options 	KTRACE
551.1Smrg
561.1Smrg## Collect statistics on kernel malloc's and free's.  This does have a
571.1Smrg## significant performance hit on slower machines, so it is intended for
581.1Smrg## diagnostic use only.
591.1Smrgoptions 	KMEMSTATS
601.1Smrg
611.1Smrg## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
621.1Smrg#options 	SYSVMSG		# System V message queues
631.1Smrg#options 	SYSVSEM		# System V semaphores
641.1Smrg#options 	SYSVSHM		# System V shared memory
651.1Smrg#options 	SHMMAXPGS=1024	# 1024 pages is the default
661.1Smrg
671.1Smrg## Loadable kernel module support; still under development.
681.1Smrg#options 	LKM
691.1Smrg
701.1Smrg## NFS boot options; default on sparc is the bootparam protocol
711.1Smrgoptions 	NFS_BOOT_BOOTPARAM
721.1Smrg#options 	NFS_BOOT_BOOTP
731.1Smrg#options 	NFS_BOOT_DHCP
741.1Smrg
751.1Smrg#### Debugging options
761.1Smrg
771.1Smrg## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
781.1Smrg## serial console break or keyboard reset, where the PROM would normally
791.1Smrg## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
801.1Smrgoptions 	DDB			# kernel dynamic debugger
811.1Smrg#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
821.1Smrg#options 	DDB_ONPANIC		# see also sysctl(8): `ddb.onpanic'
831.1Smrg
841.1Smrg## You may also use gdb, on another computer connected to this machine over
851.1Smrg## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
861.1Smrg## a dev_t encoded device number of the serial port to use.
871.1Smrg## (0xc01 = ttya, 0xc02 = ttyb.)
881.1Smrg#options 	KGDB		# support for kernel gdb
891.1Smrg#options 	KGDBDEV=0xc01	# kgdb device number (this sample is `ttyb')
901.1Smrg#options 	KGDBRATE=38400	# baud rate
911.1Smrg
921.1Smrg
931.1Smrg## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
941.1Smrg## such that gdb(1) can be used on a kernel coredump.
951.1Smrg
961.1Smrg#makeoptions 	DEBUG="-g"
971.1Smrg
981.1Smrg
991.1Smrg## Adds code to the kernel that does internal consistency checks, and will
1001.1Smrg## cause the kernel to panic if corruption of internal data structures
1011.1Smrg## is detected.
1021.1Smrg#options 	DIAGNOSTIC	# extra kernel sanity checking
1031.1Smrg
1041.1Smrg## Enable (possibly expensive) debugging code that may also display messages
1051.1Smrg## on the system console
1061.1Smrg#options 	DEBUG
1071.1Smrg
1081.1Smrg## Make SCSI error messages more verbose when explaining their meanings.
1091.1Smrg#options 	SCSIVERBOSE
1101.1Smrg
1111.1Smrg## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1121.1Smrg## This allows writing to /dev/mem, loading kernel modules while multi-user,
1131.1Smrg## and other insecurities good only for development work.  Do not use this
1141.1Smrg## option on a production machine.
1151.1Smrgoptions 	INSECURE
1161.1Smrg
1171.1Smrg## Allow non-root users to grab /dev/console with programs such as xconsole.
1181.1Smrg## `xconsole' therefore does not need setuid root with this option enabled.
1191.1Smrg#options 	UCONSOLE
1201.1Smrg
1211.1Smrg## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1221.1Smrg## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1231.1Smrg## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1241.1Smrg## opaque file mechanism.  Perl calls this "secure setuid scripts."
1251.1Smrg
1261.1Smrg#options 	FDSCRIPTS
1271.1Smrg#options 	SETUIDSCRIPTS
1281.1Smrg
1291.1Smrg## Options for compatibility with previous releases foreign system binaries.
1301.1Smrg## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1311.1Smrg## additional user-level utilities or system configuration files. See
1321.1Smrg## compat_sunos(8) and compat_svr4(8).
1331.1Smrg
1341.1Smrg#options 	COMPAT_43	# 4.3BSD system interfaces
1351.1Smrg#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
1361.1Smrg#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
1371.1Smrg#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
1381.1Smrgoptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1391.1Smrg#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1401.1Smrg#options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1411.1Smrg#options 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.
1421.1Smrg
1431.1Smrg## File systems.  You probably need at least one of FFS or NFS.
1441.1Smrgfile-system	FFS		# Berkeley Fast Filesystem
1451.1Smrgfile-system	NFS		# Sun NFS-compatible filesystem client
1461.3Smrgfile-system	KERNFS		# kernel data-structure filesystem
1471.1Smrg#file-system	NULLFS		# NULL layered filesystem
1481.3Smrgfile-system	MFS		# memory-based filesystem
1491.1Smrg#file-system	FDESC		# user file descriptor filesystem
1501.1Smrg#file-system	UMAPFS		# uid/gid remapping filesystem
1511.1Smrg#file-system	LFS		# Log-based filesystem (still experimental)
1521.1Smrg#file-system	PORTAL		# portal filesystem (still experimental)
1531.1Smrg#file-system	PROCFS		# /proc
1541.1Smrgfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1551.1Smrg#file-system	UNION		# union file system
1561.1Smrg#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1571.1Smrg
1581.1Smrg## File system options.
1591.1Smrg#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1601.1Smrg#options 	QUOTA		# FFS quotas
1611.1Smrg#options 	FFS_EI		# FFS Endian Independent support
1621.1Smrg
1631.1Smrg## Network protocol support.  In most environments, INET is required.
1641.1Smrgoptions 	INET		# IP (Internet Protocol) v4
1651.1Smrgoptions 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
1661.1Smrg#options 	GATEWAY		# packet forwarding ("router switch")
1671.1Smrg#options 	MROUTING	# packet forwarding of multicast packets
1681.1Smrg#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1691.1Smrg#options 	NS		# Xerox NS networking
1701.1Smrg#options 	NSIP		# Xerox NS tunneling over IP
1711.1Smrg#options 	ISO,TPIP	# OSI networking
1721.1Smrg#options 	EON		# OSI tunneling over IP
1731.1Smrg#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1741.1Smrg#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1751.1Smrg#options 	NTP		# Network Time Protocol in-kernel support
1761.1Smrg#options 	PPS_SYNC	# Add serial line synchronization for NTP
1771.1Smrg#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1781.1Smrg#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1791.1Smrg#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
1801.1Smrg#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1811.1Smrg#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
1821.1Smrg
1831.1Smrg
1841.1Smrg
1851.1Smrg#### Main bus and CPU .. all systems.
1861.1Smrgmainbus0 at root
1871.1Smrgcpu0	at mainbus0
1881.1Smrg
1891.1Smrg#### Bus types found on SPARC systems.
1901.1Smrg
1911.1Smrgsbus0	at mainbus0				# sun4c
1921.1Smrgobio0	at mainbus0				# sun4 and sun4m
1931.1Smrg#vme0	at mainbus0				# sun4
1941.1Smrgiommu0	at mainbus0				# sun4m
1951.1Smrgsbus0	at iommu0				# sun4m
1961.1Smrgvme0	at iommu0				# sun4m
1971.1Smrg
1981.1Smrg## SBus expander box
1991.1Smrg#xbox*	at sbus? slot ? offset ?
2001.1Smrg#sbus*	at xbox?
2011.1Smrg
2021.1Smrg#### Standard system devices -- all required for a given architecture
2031.1Smrg
2041.1Smrg## Auxiliary system registers on sun4c and sun4m
2051.1Smrgauxreg0	at mainbus0				# sun4c
2061.1Smrgauxreg0	at obio0				# sun4m
2071.1Smrg
2081.1Smrg## Power status and control register on Sun4m systems
2091.1Smrgpower0	at obio0
2101.1Smrg
2111.1Smrg## Mostek clock found on 4/300, sun4c, and sun4m systems.
2121.1Smrg## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2131.1Smrgclock0	at mainbus0				# sun4c
2141.1Smrgclock0	at obio0				# sun4m
2151.1Smrg#clock0	at obio0 addr 0xf2000000		# sun4/300
2161.1Smrg
2171.1Smrg## Intersil clock found on 4/100 and 4/200 systems.
2181.1Smrg#oclock0	at obio0 addr 0xf3000000		# sun4/200
2191.1Smrg#oclock0	at obio0 addr 0x03000000		# sun4/100
2201.1Smrg
2211.1Smrg## Memory error registers.
2221.1Smrgmemreg0	at mainbus0				# sun4c
2231.1Smrgmemreg0	at obio0				# sun4m
2241.1Smrg#memreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2251.1Smrg#memreg0	at obio0 addr 0x04000000		# sun4/100
2261.1Smrg
2271.1Smrg## Timer chip found on 4/300, sun4c, and sun4m systems.
2281.1Smrgtimer0	at mainbus0				# sun4c
2291.1Smrgtimer0	at obio0				# sun4m
2301.1Smrg#timer0	at obio0 addr 0xef000000		# sun4/300
2311.1Smrg
2321.1Smrg## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2331.1Smrg## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2341.1Smrg## Mostek clock chip on 4/300 systems.
2351.1Smrg#eeprom0	at obio0 addr 0xf2000000		# sun4/200
2361.1Smrg#eeprom0	at obio0 addr 0x02000000		# sun4/100
2371.1Smrg
2381.1Smrg
2391.1Smrg#### Serial port configuration
2401.1Smrg
2411.1Smrg## Zilog 8530 serial chips.  Each has two-channels.
2421.1Smrg## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
2431.1Smrgzs0	at mainbus0					# sun4c
2441.1Smrgzs0	at obio0					# sun4m
2451.1Smrg#zs0	at obio0 addr 0xf1000000 level 12 flags 0x103	# sun4/200 and sun4/300
2461.1Smrg#zs0	at obio0 addr 0x01000000 level 12 flags 0x103	# sun4/100
2471.1Smrgzstty0	at zs0 channel 0	# ttya
2481.1Smrgzstty1	at zs0 channel 1	# ttyb
2491.1Smrg
2501.1Smrgzs1	at mainbus0					# sun4c
2511.1Smrgzs1	at obio0					# sun4m
2521.1Smrg#zs1	at obio0 addr 0xf0000000 level 12 flags 0x103	# sun4/200 and sun4/300
2531.1Smrg#zs1	at obio0 addr 0x00000000 level 12 flags 0x103	# sun4/100
2541.1Smrgkbd0	at zs1 channel 0	# keyboard
2551.1Smrgms0	at zs1 channel 1	# mouse
2561.1Smrg
2571.1Smrg#zs2	at obio0 addr 0xe0000000 level 12 flags 0x103	# sun4/300
2581.1Smrg#zstty2	at zs2 channel 0	# ttyc
2591.1Smrg#zstty3	at zs2 channel 1	# ttyd
2601.1Smrg
2611.1Smrg
2621.1Smrg## Magma Serial/Parallel driver
2631.1Smrg#magma*	at sbus? slot ? offset ?
2641.1Smrg#mtty*	at magma?
2651.1Smrg#mbpp*	at magma?
2661.1Smrg
2671.1Smrg
2681.1Smrg#### Disk controllers and disks
2691.1Smrg
2701.1Smrg#
2711.1Smrg
2721.1Smrg## The following flags may be set for the NCR53c94 based esp driver:
2731.1Smrg##	bits 0-7:  disable disconnect/reselect for the corresponding target
2741.1Smrg##	bits 8-15: disable synchronous negotiation for target [bit-8]
2751.1Smrg
2761.1Smrg## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
2771.1Smrg## Both `dma' and `esp' are needed in all cases.
2781.1Smrg## Two kinds of additional SBus SCSI interfaces are available.  One uses
2791.1Smrg## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
2801.1Smrg
2811.1Smrg## sun4/300 SCSI - an NCR53c94 or equivalent behind
2821.1Smrg## an LSI Logic DMA controller
2831.1Smrg
2841.1Smrg#dma0	at obio0 addr 0xfa001000 level 4		# sun4/300
2851.1Smrg#esp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
2861.1Smrg
2871.1Smrgdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
2881.1Smrgesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
2891.1Smrgesp0	at dma0 flags 0x0000				# sun4m
2901.1Smrg
2911.1Smrg# FSBE/S SCSI
2921.1Smrgdma*	at sbus? slot ? offset ?			# SBus
2931.1Smrgesp*	at sbus? slot ? offset ? flags 0x0000		# SBus (older proms)
2941.1Smrgesp*	at dma? flags 0x0000				# SBus
2951.1Smrg
2961.1Smrgscsibus* at esp?
2971.1Smrg
2981.1Smrg## Qlogic ISP SBus SCSI Card
2991.1Smrgisp*	at sbus? slot ? offset ?
3001.1Smrgscsibus* at isp?
3011.1Smrg
3021.1Smrg## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3031.1Smrg## This driver has several flags which may be enabled by OR'ing
3041.1Smrg## the values and using the "flags" directive.
3051.1Smrg## Valid flags are:
3061.1Smrg##
3071.1Smrg##	0x01		Use DMA (may be polled)
3081.1Smrg##	0x02		Use DMA completion interrupts
3091.1Smrg##	0x04		Allow disconnect/reselect
3101.1Smrg##
3111.1Smrg## E.g. the following would enable DMA, interrupts, and reselect:
3121.1Smrg## si0	at vme0 addr 0x200000 level 3 vect 0x40 flags 0x07
3131.1Smrg##
3141.1Smrg## By default, DMA is enabled in the driver.
3151.1Smrg
3161.1Smrg#si0	at vme0 addr 0x200000 pri 2 vec 0x40
3171.1Smrg#scsibus* at si?
3181.1Smrg
3191.1Smrg## NCR5380-based "SCSI Weird" on-board SCSI interface found
3201.1Smrg## on sun4/100 systems.  The flags are the same as the "si"
3211.1Smrg## controller.  Note, while DMA is enabled by default, only
3221.1Smrg## polled DMA works at this time, and reselects do not work
3231.1Smrg## on this particular controller.
3241.1Smrg
3251.1Smrg#sw0	at obio0 addr 0x0a000000 level 3
3261.1Smrg#scsibus* at sw?
3271.1Smrg
3281.1Smrg## These entries find devices on all SCSI busses and assign
3291.1Smrg## unit numbers dynamically.
3301.1Smrgsd*	at scsibus? target ? lun ?		# SCSI disks
3311.1Smrgst*	at scsibus? target ? lun ?		# SCSI tapes
3321.1Smrgcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
3331.1Smrgch*	at scsibus? target ? lun ?		# SCSI changer devices
3341.1Smrg#ss*	at scsibus? target ? lun ?		# SCSI scanners
3351.1Smrg#uk*	at scsibus? target ? lun ?		# unknown SCSI
3361.1Smrg
3371.1Smrg
3381.1Smrg## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
3391.1Smrg## on sun4 systems.
3401.1Smrg#xdc0	at vme0 addr 0xee80 pri 3 vec 0x44
3411.1Smrg#xdc1	at vme0 addr 0xee90 pri 3 vec 0x45
3421.1Smrg#xdc2	at vme0 addr 0xeea0 pri 3 vec 0x46
3431.1Smrg#xdc3	at vme0 addr 0xeeb0 pri 3 vec 0x47
3441.1Smrg#xd*	at xdc? drive ?
3451.1Smrg
3461.1Smrg## Xylogics 451 or 451 VME SMD disk controllers and disks, found
3471.1Smrg## on sun4 systems.
3481.1Smrg#xyc0	at vme0 addr 0xee40 pri 3 vec 0x48
3491.1Smrg#xyc1	at vme0 addr 0xee48 pri 3 vec 0x49
3501.1Smrg#xy*	at xyc? drive ?
3511.1Smrg
3521.1Smrg
3531.1Smrg## Floppy controller and drive found on SPARCstations.
3541.1Smrg
3551.1Smrgfdc0	at mainbus0				# sun4c controller
3561.1Smrgfdc0	at obio0				# sun4m controller
3571.1Smrgfd*	at fdc0					# the drive itself
3581.1Smrg
3591.1Smrg## A disk-like interface to files.  Can be used to create floppy, CD,
3601.1Smrg## miniroot images, etc.
3611.1Smrg
3621.1Smrg#pseudo-device	vnd	4
3631.1Smrg
3641.1Smrg## Concatenated and striped disks; with this, you can create a software-based
3651.1Smrg## disk array similar to a "RAID 0" setup.  See ccd(4).
3661.1Smrg
3671.1Smrg#pseudo-device	ccd	4
3681.1Smrg
3691.1Smrg## Memory disk device, used on boot floppies with compressed
3701.1Smrg## kernel-plus-root-disk images.
3711.1Smrg
3721.1Smrg#pseudo-device	md	1
3731.1Smrg
3741.1Smrg
3751.1Smrg#### Network interfaces
3761.1Smrg
3771.1Smrg## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
3781.1Smrg## Three flavors of additional SBus ethernets are available.  One attaches
3791.1Smrg## directly like the sun4c on-board, one uses the ledma device like the
3801.1Smrg## sun4m on-board, and one uses the lebuffer device.
3811.1Smrg
3821.1Smrg#le0		at obio0 addr 0xf9000000 level 6	# sun4/300
3831.1Smrgle0		at sbus0 slot ? offset ?		# sun4c on-board
3841.1Smrgledma0		at sbus0 slot ? offset ?		# sun4m on-board
3851.1Smrgle0		at ledma0				# sun4m on-board
3861.1Smrgle*		at sbus? slot ? offset ?		# SBus
3871.1Smrgledma*		at sbus? slot ? offset ?		# SBus
3881.1Smrgle*		at ledma?				# SBus
3891.1Smrglebuffer0	at sbus? slot ? offset ?		# SBus
3901.1Smrgle0		at lebuffer?				# SBus
3911.1Smrglebuffer*	at sbus? slot ? offset ?		# SBus
3921.1Smrgle*		at lebuffer?				# SBus
3931.1Smrg
3941.1Smrg
3951.1Smrg## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
3961.1Smrg## or on a Multibus/VME card.
3971.1Smrg#ie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
3981.1Smrg#ie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
3991.1Smrg#ie1	at vme0 addr 0xe88000 pri 3 vec 0x75		# VME
4001.1Smrg#ie2	at vme0 addr 0x31ff02 pri 3 vec 0x76		# VME
4011.1Smrg#ie3	at vme0 addr 0x35ff02 pri 3 vec 0x77		# VME
4021.1Smrg#ie4	at vme0 addr 0x2dff02 pri 3 vec 0x7c		# VME
4031.1Smrg
4041.1Smrg## Loopback network interface; required
4051.1Smrgpseudo-device	loop
4061.1Smrg
4071.1Smrg## SLIP and CSLIP interfaces, for IP over a serial line.
4081.1Smrgpseudo-device	sl		2
4091.1Smrg
4101.1Smrg## PPP, the successor to SLIP.  See pppd(8).
4111.1Smrg#pseudo-device	ppp		2
4121.1Smrg
4131.1Smrg## Starmode Radio IP, a special hardware network device.
4141.1Smrg#pseudo-device	strip		1
4151.1Smrg
4161.1Smrg## Network "tunnel" device, allowing protocol stacks to run in the userland.
4171.1Smrg## This is used by the third-party user-mode "ppp" program, and others.
4181.1Smrg#pseudo-device	tun		4
4191.1Smrg
4201.1Smrg## Berkeley Packet Filter, required to run RARPD.  A generic C-language
4211.1Smrg## interface that allows selective examining of incoming packets.
4221.1Smrg#pseudo-device	bpfilter	8
4231.1Smrg
4241.1Smrg## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
4251.1Smrg## one example of the use of the IP Filter.
4261.1Smrg#pseudo-device	ipfilter
4271.1Smrg
4281.1Smrg
4291.1Smrg#### Audio and video devices
4301.1Smrg
4311.1Smrg## /dev/audio support (`audioamd' plus `audio')
4321.1Smrg##
4331.1Smrg#audioamd0	at mainbus0				# sun4c
4341.1Smrg#audioamd0	at obio0				# sun4m
4351.1Smrg#audioamd0	at sbus0 slot ? offset ?		# sun4m
4361.1Smrg#audio*		at audioamd0
4371.1Smrg
4381.1Smrg
4391.1Smrg## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
4401.1Smrg## systems.  If your sun4 system has a cgfour installed in the P4 slot,
4411.1Smrg## the P4 entries for "bwtwo" will attach to the overlay plane of the
4421.1Smrg## "cgfour".
4431.1Smrg
4441.1Smrgbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
4451.1Smrgbwtwo*		at sbus? slot ? offset ?		#
4461.1Smrg#bwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
4471.1Smrg#bwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
4481.1Smrg#bwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
4491.1Smrg
4501.1Smrg## Sun "cgtwo" VME color framebuffer
4511.1Smrg#cgtwo0		at vme0 addr 0x400000 pri ? vec 0xa8
4521.1Smrg
4531.1Smrg## Sun "cgthree" Sbus color framebuffer
4541.1Smrgcgthree0	at sbus? slot ? offset ?
4551.1Smrgcgthree*	at sbus? slot ? offset ?
4561.1Smrg#cgthree0	at obio? slot ? offset ?		# sun4m
4571.1Smrg
4581.1Smrg## Sun "cgfour" color framebuffer with overlay plane.  See above comment
4591.1Smrg## regarding overlay plane.
4601.1Smrg#cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
4611.1Smrg#cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
4621.1Smrg
4631.1Smrg## Sun "cgsix" accelerated color framebuffer.
4641.1Smrgcgsix0		at sbus? slot ? offset ?
4651.1Smrgcgsix*		at sbus? slot ? offset ?
4661.1Smrg#cgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
4671.1Smrg#cgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
4681.1Smrg
4691.1Smrg## Sun "cgeight" 24-bit framebuffer
4701.1Smrg#cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
4711.1Smrg#cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
4721.1Smrg
4731.1Smrg## Sun "tcx" accelerated color framebuffer.
4741.1Smrgtcx0		at sbus? slot ? offset ?
4751.1Smrgtcx*		at sbus? slot ? offset ?
4761.1Smrg
4771.1Smrg# Sun "cgfourteen" accelerated 24-bit framebuffer.
4781.1Smrgcgfourteen0	at obio0			# sun4m
4791.1Smrg
4801.1Smrg
4811.1Smrg#### Other device configuration
4821.1Smrg
4831.1Smrg## Pseudo ttys, required for network logins and programs like screen.
4841.1Smrg## 32 is a good number for average systems; you may have as many as you
4851.1Smrg## like, though 256 is more or less the upper limit.  Increasing this
4861.1Smrg## number still requires you to run /dev/MAKEDEV to create the files
4871.1Smrg## for the ptys.
4881.1Smrg
4891.1Smrgpseudo-device	pty		32	# pseudo-ttys (for network, etc.)
4901.1Smrg
4911.1Smrg## Random device, used to implement /dev/random (a source of random noise),
4921.1Smrg## and generate randomness for some kernel formulae.
4931.1Smrg## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
4941.1Smrg
4951.1Smrg#pseudo-device	rnd
496