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