INSTALL revision 1.83
11.83Sabs#	$NetBSD: INSTALL,v 1.83 2012/08/17 20:11:41 abs Exp $
21.1Smrg#
31.8Smrg# from: NetBSD: GENERIC,v 1.84 1999/06/06 13:00:03 mrg 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.34Satatat
101.34Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
111.20Sabs
121.28Slukemmakeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
131.1Smrg
141.1Smrgmaxusers	32
151.1Smrg
161.1Smrg# Enable the hooks used for initializing the root memory-disk.
171.1Smrgoptions 	MEMORY_DISK_HOOKS
181.1Smrgoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
191.1Smrgoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
201.23Spk## The miniroot size must be kept in sync manually with the size of
211.23Spk## the `ramdisk' image (which is built in distrib/sparc/ramdisk).
221.69Sheoptions 	MEMORY_DISK_ROOT_SIZE=1800	# size of memory disk, in blocks
231.65Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
241.1Smrg
251.77Shannkenpseudo-device	md			# memory disk device (ramdisk)
261.1Smrg
271.1Smrg## System kernel configuration.  See options(4) for more detail.
281.1Smrg
291.9Smrg
301.1Smrg# Options for variants of the Sun SPARC architecure.
311.1Smrg# We currently support three architecture types; at least one is required.
321.24Spkoptions 	SUN4		# sun4/100, sun4/200, sun4/300
331.1Smrgoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
341.1Smrgoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
351.1Smrg
361.25Spkoptions 	SUN4_MMU3L	# 3-level MMU on sun4/400
371.1Smrg
381.1Smrg## System options specific to the sparc machine type
391.1Smrg
401.1Smrg# Blink the power LED on some machines to indicate the system load.
411.1Smrg#options 	BLINK
421.1Smrg
431.1Smrg## Use a faster console than the PROM's slow drawing routines.  Not needed
441.1Smrg## for headless (no framebuffer) machines.
451.5Sad#options 	RASTERCONSOLE		# fast rasterop console
461.76Smacallanoptions 	FONT_GALLANT12x22	# the console font
471.76Smacallanoptions 	FONT_BOLD8x16		# a somewhat smaller font
481.21Sabs#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
491.21Sabs#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
501.1Smrg
511.64Smacallan# wscons stuff
521.82Smacallan#options 	WSEMUL_SUN
531.82Smacallanoptions 	WSEMUL_VT100
541.83Sabsoptions 	WSDISPLAY_DEFAULTSCREENS=1
551.83Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
561.66Sjdcoptions 	WSDISPLAY_COMPAT_RAWKBD
571.66Sjdcoptions 	WSDISPLAY_CUSTOM_OUTPUT
581.66Sjdcoptions 	WS_DEFAULT_FG=WSCOL_BLACK
591.66Sjdcoptions 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
601.66Sjdcoptions 	WS_KERNEL_FG=WSCOL_GREEN
611.66Sjdcoptions 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
621.64Smacallan
631.1Smrg#### System options that are the same for all ports
641.1Smrg
651.1Smrg## Root device configuration: change the ?'s if you are going to use a
661.1Smrg## nonstandard root partition (other than where the kernel is booted from)
671.1Smrg## and/or nonstandard root type (not ffs or nfs).  Normally this can be
681.1Smrg## automagically determined at boot time.
691.1Smrg
701.1Smrgconfig		netbsd	root on ? type ?
711.1Smrg
721.1Smrg## System call tracing (see ktrace(1)).
731.1Smrg#options 	KTRACE
741.1Smrg
751.1Smrg## Collect statistics on kernel malloc's and free's.  This does have a
761.1Smrg## significant performance hit on slower machines, so it is intended for
771.1Smrg## diagnostic use only.
781.17Sabs#options 	KMEMSTATS
791.1Smrg
801.1Smrg## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
811.1Smrg#options 	SYSVMSG		# System V message queues
821.1Smrg#options 	SYSVSEM		# System V semaphores
831.1Smrg#options 	SYSVSHM		# System V shared memory
841.1Smrg
851.37Slukemoptions 	USERCONF	# userconf(4) support
861.66Sjdcoptions 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
871.42Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
881.1Smrg
891.35Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
901.1Smrgoptions 	NFS_BOOT_BOOTPARAM
911.1Smrg#options 	NFS_BOOT_BOOTP
921.31Slukemoptions 	NFS_BOOT_DHCP
931.1Smrg
941.1Smrg#### Debugging options
951.1Smrg
961.1Smrg## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
971.1Smrg## serial console break or keyboard reset, where the PROM would normally
981.1Smrg## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
991.17Sabs#options 	DDB			# kernel dynamic debugger
1001.1Smrg#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
1011.8Smrg#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
1021.1Smrg
1031.1Smrg## You may also use gdb, on another computer connected to this machine over
1041.27Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1051.27Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use.
1061.1Smrg## (0xc01 = ttya, 0xc02 = ttyb.)
1071.27Slukem#options 	KGDB			# support for kernel gdb
1081.27Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1091.27Slukem#options 	KGDB_DEVRATE=38400	# baud rate
1101.1Smrg
1111.1Smrg
1121.1Smrg## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1131.1Smrg## such that gdb(1) can be used on a kernel coredump.
1141.1Smrg
1151.28Slukem#makeoptions	DEBUG="-g"
1161.1Smrg
1171.1Smrg
1181.1Smrg## Adds code to the kernel that does internal consistency checks, and will
1191.1Smrg## cause the kernel to panic if corruption of internal data structures
1201.1Smrg## is detected.
1211.1Smrg#options 	DIAGNOSTIC	# extra kernel sanity checking
1221.1Smrg
1231.1Smrg## Enable (possibly expensive) debugging code that may also display messages
1241.1Smrg## on the system console
1251.1Smrg#options 	DEBUG
1261.13Saugustss
1271.13Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1281.1Smrg
1291.1Smrg## Make SCSI error messages more verbose when explaining their meanings.
1301.1Smrg#options 	SCSIVERBOSE
1311.1Smrg
1321.1Smrg## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1331.1Smrg## This allows writing to /dev/mem, loading kernel modules while multi-user,
1341.1Smrg## and other insecurities good only for development work.  Do not use this
1351.1Smrg## option on a production machine.
1361.1Smrgoptions 	INSECURE
1371.1Smrg
1381.1Smrg## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1391.1Smrg## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1401.1Smrg## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1411.1Smrg## opaque file mechanism.  Perl calls this "secure setuid scripts."
1421.1Smrg
1431.1Smrg#options 	FDSCRIPTS
1441.1Smrg#options 	SETUIDSCRIPTS
1451.1Smrg
1461.1Smrg## Options for compatibility with previous releases foreign system binaries.
1471.1Smrg## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1481.1Smrg## additional user-level utilities or system configuration files. See
1491.1Smrg## compat_sunos(8) and compat_svr4(8).
1501.1Smrg
1511.1Smrg#options 	COMPAT_43	# 4.3BSD system interfaces
1521.1Smrg#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
1531.1Smrg#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
1541.1Smrg#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
1551.17Sabs#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
1561.17Sabs#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
1571.56Smanu#options 	COMPAT_15	# NetBSD 1.5 binary compatibility
1581.41Stron#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
1591.48Ssimonb#options 	COMPAT_20	# NetBSD 2.0 binary compatibility
1601.59Suwe#options 	COMPAT_30	# NetBSD 3.0 binary compatibility
1611.59Suwe#options 	COMPAT_40	# NetBSD 4.0 binary compatibility
1621.1Smrg#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1631.1Smrg#options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1641.26Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1651.66Sjdcoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1661.1Smrg
1671.1Smrg## File systems.  You probably need at least one of FFS or NFS.
1681.1Smrgfile-system	FFS		# Berkeley Fast Filesystem
1691.1Smrgfile-system	NFS		# Sun NFS-compatible filesystem client
1701.15Spk#file-system	KERNFS		# kernel data-structure filesystem
1711.1Smrg#file-system	NULLFS		# NULL layered filesystem
1721.23Spkfile-system	MFS		# memory-based filesystem
1731.1Smrg#file-system	FDESC		# user file descriptor filesystem
1741.1Smrg#file-system	UMAPFS		# uid/gid remapping filesystem
1751.1Smrg#file-system	LFS		# Log-based filesystem (still experimental)
1761.1Smrg#file-system	PROCFS		# /proc
1771.1Smrgfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1781.1Smrg#file-system	UNION		# union file system
1791.1Smrg#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1801.50Schristos#file-system	PTYFS		# /dev/pts/N support
1811.1Smrg
1821.21Sabs## File system options
1831.1Smrg#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1841.78Sbouyer#options 	QUOTA		# legacy UFS quotas
1851.78Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
1861.1Smrg#options 	FFS_EI		# FFS Endian Independent support
1871.58Syamt#options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
1881.51Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1891.80Sdhollandoptions 	WAPBL		# File system journaling support
1901.1Smrg
1911.1Smrg## Network protocol support.  In most environments, INET is required.
1921.1Smrgoptions 	INET		# IP (Internet Protocol) v4
1931.1Smrg#options 	GATEWAY		# packet forwarding ("router switch")
1941.1Smrg#options 	MROUTING	# packet forwarding of multicast packets
1951.43Smanu#options 	PIM		# Protocol Independent Multicast
1961.1Smrg#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1971.1Smrg#options 	ISO,TPIP	# OSI networking
1981.1Smrg#options 	EON		# OSI tunneling over IP
1991.1Smrg#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2001.1Smrg#options 	NTP		# Network Time Protocol in-kernel support
2011.1Smrg#options 	PPS_SYNC	# Add serial line synchronization for NTP
2021.81Snakayama#options 	PFIL_HOOKS	# Add pfil(9) packet filter hooks
2031.1Smrg#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
2041.55Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
2051.1Smrg#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
2061.1Smrg#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2071.1Smrg#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
2081.26Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
2091.1Smrg
2101.1Smrg
2111.1Smrg#### Main bus and CPU .. all systems.
2121.1Smrgmainbus0 at root
2131.1Smrgcpu0	at mainbus0
2141.1Smrg
2151.1Smrg#### Bus types found on SPARC systems.
2161.1Smrg
2171.1Smrgsbus0	at mainbus0				# sun4c
2181.1Smrgobio0	at mainbus0				# sun4 and sun4m
2191.24Spksparcvme0	at mainbus0				# sun4
2201.1Smrgiommu0	at mainbus0				# sun4m
2211.1Smrgsbus0	at iommu0				# sun4m
2221.10Sdrochnersparcvme0	at iommu0				# sun4m
2231.24Spkvme0	at sparcvme0			# mi VME attachment
2241.1Smrg
2251.1Smrg## SBus expander box
2261.9Smrgxbox*	at sbus? slot ? offset ?
2271.9Smrgsbus*	at xbox?
2281.1Smrg
2291.8Smrg## SBus to PCMCIA bridge
2301.8Smrg# Currently enabling nell* with audioamd* causes panic at attach
2311.8Smrg#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
2321.8Smrg#pcmcia*	at nell?
2331.8Smrg
2341.1Smrg#### Standard system devices -- all required for a given architecture
2351.1Smrg
2361.1Smrg## Auxiliary system registers on sun4c and sun4m
2371.1Smrgauxreg0	at mainbus0				# sun4c
2381.1Smrgauxreg0	at obio0				# sun4m
2391.1Smrg
2401.1Smrg## Power status and control register on Sun4m systems
2411.1Smrgpower0	at obio0
2421.1Smrg
2431.1Smrg## Mostek clock found on 4/300, sun4c, and sun4m systems.
2441.1Smrg## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2451.1Smrgclock0	at mainbus0				# sun4c
2461.1Smrgclock0	at obio0				# sun4m
2471.24Spkclock0	at obio0 addr 0xf2000000		# sun4/300
2481.1Smrg
2491.1Smrg## Intersil clock found on 4/100 and 4/200 systems.
2501.24Spkoclock0	at obio0 addr 0xf3000000		# sun4/200
2511.24Spkoclock0	at obio0 addr 0x03000000		# sun4/100
2521.1Smrg
2531.1Smrg## Memory error registers.
2541.1Smrgmemreg0	at mainbus0				# sun4c
2551.1Smrgmemreg0	at obio0				# sun4m
2561.24Spkmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2571.24Spkmemreg0	at obio0 addr 0x04000000		# sun4/100
2581.1Smrg
2591.8Smrg## ECC memory control
2601.8Smrgeccmemctl0 at mainbus0				# sun4m
2611.8Smrg
2621.1Smrg## Timer chip found on 4/300, sun4c, and sun4m systems.
2631.1Smrgtimer0	at mainbus0				# sun4c
2641.1Smrgtimer0	at obio0				# sun4m
2651.24Spktimer0	at obio0 addr 0xef000000		# sun4/300
2661.1Smrg
2671.1Smrg## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2681.1Smrg## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2691.1Smrg## Mostek clock chip on 4/300 systems.
2701.24Spkeeprom0	at obio0 addr 0xf2000000		# sun4/200
2711.24Spkeeprom0	at obio0 addr 0x02000000		# sun4/100
2721.1Smrg
2731.1Smrg
2741.1Smrg#### Serial port configuration
2751.1Smrg
2761.1Smrg## Zilog 8530 serial chips.  Each has two-channels.
2771.1Smrg## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
2781.1Smrgzs0	at mainbus0					# sun4c
2791.1Smrgzs0	at obio0					# sun4m
2801.24Spkzs0	at obio0 addr 0xf1000000 level 12 flags 0x103	# sun4/200 and sun4/300
2811.24Spkzs0	at obio0 addr 0x01000000 level 12 flags 0x103	# sun4/100
2821.1Smrg
2831.1Smrgzs1	at mainbus0					# sun4c
2841.1Smrgzs1	at obio0					# sun4m
2851.24Spkzs1	at obio0 addr 0xf0000000 level 12 flags 0x103	# sun4/200 and sun4/300
2861.24Spkzs1	at obio0 addr 0x00000000 level 12 flags 0x103	# sun4/100
2871.1Smrg
2881.64Smacallanzs2	at obio0 addr 0xe0000000 level 12		# sun4/300
2891.64Smacallan
2901.64Smacallanzstty*	at zs?
2911.1Smrg
2921.64Smacallan# these are for wscons
2931.64Smacallankbd0	at zstty?
2941.64Smacallanms0	at zstty?
2951.64Smacallanwskbd*	at wskbddev?
2961.64Smacallanwsmouse* 	at wsmousedev?
2971.1Smrg
2981.1Smrg## Magma Serial/Parallel driver
2991.1Smrg#magma*	at sbus? slot ? offset ?
3001.1Smrg#mtty*	at magma?
3011.1Smrg#mbpp*	at magma?
3021.1Smrg
3031.8Smrg## PCMCIA serial interfaces
3041.8Smrg#com*	at pcmcia?
3051.8Smrg#pcmcom*	at pcmcia?
3061.8Smrg#com*	at pcmcom?
3071.1Smrg
3081.1Smrg#### Disk controllers and disks
3091.1Smrg
3101.1Smrg#
3111.1Smrg
3121.1Smrg## The following flags may be set for the NCR53c94 based esp driver:
3131.1Smrg##	bits 0-7:  disable disconnect/reselect for the corresponding target
3141.1Smrg##	bits 8-15: disable synchronous negotiation for target [bit-8]
3151.1Smrg
3161.1Smrg## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3171.1Smrg## Both `dma' and `esp' are needed in all cases.
3181.1Smrg## Two kinds of additional SBus SCSI interfaces are available.  One uses
3191.1Smrg## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3201.1Smrg
3211.1Smrg## sun4/300 SCSI - an NCR53c94 or equivalent behind
3221.1Smrg## an LSI Logic DMA controller
3231.1Smrg
3241.24Spkdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3251.24Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3261.1Smrg
3271.1Smrgdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3281.1Smrgesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3291.1Smrgesp0	at dma0 flags 0x0000				# sun4m
3301.1Smrg
3311.1Smrg# FSBE/S SCSI
3321.1Smrgdma*	at sbus? slot ? offset ?			# SBus
3331.1Smrgesp*	at sbus? slot ? offset ? flags 0x0000		# SBus (older proms)
3341.1Smrgesp*	at dma? flags 0x0000				# SBus
3351.1Smrg
3361.1Smrgscsibus* at esp?
3371.1Smrg
3381.1Smrg## Qlogic ISP SBus SCSI Card
3391.1Smrgisp*	at sbus? slot ? offset ?
3401.1Smrgscsibus* at isp?
3411.1Smrg
3421.1Smrg## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3431.1Smrg## This driver has several flags which may be enabled by OR'ing
3441.1Smrg## the values and using the "flags" directive.
3451.1Smrg## Valid flags are:
3461.1Smrg##
3471.1Smrg##	0x01		Use DMA (may be polled)
3481.1Smrg##	0x02		Use DMA completion interrupts
3491.1Smrg##	0x04		Allow disconnect/reselect
3501.1Smrg##
3511.1Smrg## E.g. the following would enable DMA, interrupts, and reselect:
3521.10Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3531.1Smrg##
3541.1Smrg## By default, DMA is enabled in the driver.
3551.1Smrg
3561.24Spksi0	at vme0 addr 0x200000 irq 2 vect 0x40
3571.24Spkscsibus* at si?
3581.1Smrg
3591.1Smrg## NCR5380-based "SCSI Weird" on-board SCSI interface found
3601.1Smrg## on sun4/100 systems.  The flags are the same as the "si"
3611.1Smrg## controller.  Note, while DMA is enabled by default, only
3621.1Smrg## polled DMA works at this time, and reselects do not work
3631.1Smrg## on this particular controller.
3641.1Smrg
3651.24Spksw0	at obio0 addr 0x0a000000 level 3
3661.24Spkscsibus* at sw?
3671.1Smrg
3681.8Smrg## PCMCIA SCSI controllers
3691.8Smrg#aic*	at pcmcia?
3701.8Smrg#scsibus* at aic?
3711.8Smrg
3721.8Smrg
3731.1Smrg## These entries find devices on all SCSI busses and assign
3741.1Smrg## unit numbers dynamically.
3751.1Smrgsd*	at scsibus? target ? lun ?		# SCSI disks
3761.1Smrgst*	at scsibus? target ? lun ?		# SCSI tapes
3771.1Smrgcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
3781.17Sabs#ch*	at scsibus? target ? lun ?		# SCSI changer devices
3791.1Smrg#ss*	at scsibus? target ? lun ?		# SCSI scanners
3801.1Smrg#uk*	at scsibus? target ? lun ?		# unknown SCSI
3811.1Smrg
3821.1Smrg
3831.1Smrg## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
3841.1Smrg## on sun4 systems.
3851.24Spkxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
3861.24Spkxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
3871.24Spkxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
3881.24Spkxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
3891.24Spkxd*	at xdc? drive ?
3901.1Smrg
3911.1Smrg## Xylogics 451 or 451 VME SMD disk controllers and disks, found
3921.1Smrg## on sun4 systems.
3931.24Spkxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
3941.24Spkxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
3951.24Spkxy*	at xyc? drive ?
3961.1Smrg
3971.1Smrg
3981.1Smrg## Floppy controller and drive found on SPARCstations.
3991.1Smrg
4001.1Smrgfdc0	at mainbus0				# sun4c controller
4011.1Smrgfdc0	at obio0				# sun4m controller
4021.1Smrgfd*	at fdc0					# the drive itself
4031.1Smrg
4041.8Smrg## PCMCIA IDE controllers
4051.8Smrg#wdc*	at pcmcia?
4061.8Smrg#wd*	at wdc?
4071.8Smrg
4081.1Smrg## A disk-like interface to files.  Can be used to create floppy, CD,
4091.1Smrg## miniroot images, etc.
4101.1Smrg
4111.54Scube#pseudo-device	vnd	
4121.1Smrg
4131.1Smrg## Concatenated and striped disks; with this, you can create a software-based
4141.1Smrg## disk array similar to a "RAID 0" setup.  See ccd(4).
4151.1Smrg
4161.1Smrg#pseudo-device	ccd	4
4171.1Smrg
4181.8Smrg## RAIDframe disk driver: software RAID driver.  See raid(4).
4191.8Smrg
4201.8Smrg#pseudo-device	raid	4
4211.8Smrg
4221.1Smrg## Memory disk device, used on boot floppies with compressed
4231.1Smrg## kernel-plus-root-disk images.
4241.1Smrg
4251.77Shannken#pseudo-device	md	
4261.1Smrg
4271.1Smrg
4281.1Smrg#### Network interfaces
4291.1Smrg
4301.1Smrg## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4311.1Smrg## Three flavors of additional SBus ethernets are available.  One attaches
4321.1Smrg## directly like the sun4c on-board, one uses the ledma device like the
4331.1Smrg## sun4m on-board, and one uses the lebuffer device.
4341.1Smrg
4351.24Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
4361.1Smrgle0		at sbus0 slot ? offset ?		# sun4c on-board
4371.1Smrgledma0		at sbus0 slot ? offset ?		# sun4m on-board
4381.1Smrgle0		at ledma0				# sun4m on-board
4391.1Smrgle*		at sbus? slot ? offset ?		# SBus
4401.1Smrgledma*		at sbus? slot ? offset ?		# SBus
4411.1Smrgle*		at ledma?				# SBus
4421.1Smrglebuffer0	at sbus? slot ? offset ?		# SBus
4431.1Smrgle0		at lebuffer?				# SBus
4441.1Smrglebuffer*	at sbus? slot ? offset ?		# SBus
4451.1Smrgle*		at lebuffer?				# SBus
4461.1Smrg
4471.1Smrg
4481.1Smrg## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
4491.1Smrg## or on a Multibus/VME card.
4501.24Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
4511.24Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
4521.24Spkie1	at vme0 addr 0xe88000 irq 3 vect 0x75		# VME
4531.24Spkie2	at vme0 addr 0x31ff02 irq 3 vect 0x76		# VME
4541.24Spkie3	at vme0 addr 0x35ff02 irq 3 vect 0x77		# VME
4551.24Spkie4	at vme0 addr 0x2dff02 irq 3 vect 0x7c		# VME
4561.1Smrg
4571.8Smrg## qec/be, qec/hme
4581.8Smrgqec*		at sbus? slot ? offset ?
4591.8Smrgbe*		at qec?
4601.8Smrgqe*		at qec?
4611.8Smrg
4621.8Smrg# midway ATM
4631.8Smrgen0	at sbus? slot ? offset ?
4641.8Smrg
4651.8Smrg# PCMCIA ethernet devices
4661.8Smrg#ep*	at pcmcia?
4671.8Smrg#mbe*	at pcmcia?
4681.8Smrg#ne*	at pcmcia?
4691.8Smrg#sm*	at pcmcia?
4701.8Smrg
4711.8Smrg# MII/PHY support
4721.8Smrg#exphy*	at mii? phy ?			# 3Com internal PHYs
4731.30Swiz#icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
4741.8Smrg#inphy*	at mii? phy ?			# Intel 82555 PHYs
4751.8Smrg#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
4761.8Smrg#nsphy*	at mii? phy ?			# NS83840 PHYs
4771.8Smrg#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
4781.8Smrg#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
4791.8Smrg#tlphy*	at mii? phy ?			# ThunderLAN PHYs
4801.8Smrg#ukphy*	at mii? phy ?			# generic unknown PHYs
4811.8Smrg
4821.1Smrg## Loopback network interface; required
4831.1Smrgpseudo-device	loop
4841.1Smrg
4851.1Smrg## SLIP and CSLIP interfaces, for IP over a serial line.
4861.54Scube#pseudo-device	sl		
4871.1Smrg
4881.1Smrg## PPP, the successor to SLIP.  See pppd(8).
4891.54Scube#pseudo-device	ppp		
4901.1Smrg
4911.1Smrg## Starmode Radio IP, a special hardware network device.
4921.54Scube#pseudo-device	strip		
4931.1Smrg
4941.1Smrg## Network "tunnel" device, allowing protocol stacks to run in the userland.
4951.1Smrg## This is used by the third-party user-mode "ppp" program, and others.
4961.54Scube#pseudo-device	tun		
4971.1Smrg
4981.8Smrg## Generic L3 over IP tunnel
4991.54Scube#pseudo-device	gre			# generic L3 over IP tunnel
5001.8Smrg
5011.1Smrg## Berkeley Packet Filter, required to run RARPD.  A generic C-language
5021.1Smrg## interface that allows selective examining of incoming packets.
5031.53Srpaulo#pseudo-device	bpfilter
5041.1Smrg
5051.1Smrg## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
5061.1Smrg## one example of the use of the IP Filter.
5071.1Smrg#pseudo-device	ipfilter
5081.1Smrg
5091.1Smrg
5101.1Smrg#### Audio and video devices
5111.1Smrg
5121.1Smrg## /dev/audio support (`audioamd' plus `audio')
5131.1Smrg##
5141.1Smrg#audioamd0	at mainbus0				# sun4c
5151.1Smrg#audioamd0	at obio0				# sun4m
5161.1Smrg#audioamd0	at sbus0 slot ? offset ?		# sun4m
5171.1Smrg#audio*		at audioamd0
5181.1Smrg
5191.8Smrg#audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
5201.8Smrg#audio*		at audiocs0
5211.8Smrg
5221.1Smrg
5231.1Smrg## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
5241.1Smrg## systems.  If your sun4 system has a cgfour installed in the P4 slot,
5251.1Smrg## the P4 entries for "bwtwo" will attach to the overlay plane of the
5261.1Smrg## "cgfour".
5271.1Smrg
5281.1Smrgbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
5291.1Smrgbwtwo*		at sbus? slot ? offset ?		#
5301.1Smrg#bwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
5311.1Smrg#bwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
5321.1Smrg#bwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
5331.1Smrg
5341.1Smrg## Sun "cgtwo" VME color framebuffer
5351.10Sdrochner#cgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
5361.1Smrg
5371.1Smrg## Sun "cgthree" Sbus color framebuffer
5381.1Smrgcgthree0	at sbus? slot ? offset ?
5391.1Smrgcgthree*	at sbus? slot ? offset ?
5401.1Smrg
5411.1Smrg## Sun "cgfour" color framebuffer with overlay plane.  See above comment
5421.1Smrg## regarding overlay plane.
5431.1Smrg#cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5441.1Smrg#cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5451.1Smrg
5461.1Smrg## Sun "cgsix" accelerated color framebuffer.
5471.1Smrgcgsix0		at sbus? slot ? offset ?
5481.1Smrgcgsix*		at sbus? slot ? offset ?
5491.1Smrg#cgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
5501.1Smrg#cgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
5511.1Smrg
5521.1Smrg## Sun "cgeight" 24-bit framebuffer
5531.1Smrg#cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5541.1Smrg#cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5551.1Smrg
5561.1Smrg## Sun "tcx" accelerated color framebuffer.
5571.70Smacallan# there can be only one
5581.70Smacallantcx0		at sbus? slot ? offset ?
5591.1Smrg
5601.74Smacallan## Sun CG12 / Matrox SG3 accelerated 24bit framebuffer
5611.74Smacallan## runs monochrome only for now
5621.74Smacallan## since it occupies 3 SBus slots there's no way to use more than one
5631.74Smacallancgtwelve0	at sbus? slot ? offset ?
5641.74Smacallan
5651.1Smrg# Sun "cgfourteen" accelerated 24-bit framebuffer.
5661.64Smacallancgfourteen*	at obio0			# sun4m
5671.64Smacallan
5681.64Smacallan# P9100-based display on Tadpole SPARCbook 3.
5691.64Smacallanpnozz0		at sbus? slot ? offset ?
5701.73Smacallan# the SPARCbook 3 hardware docs say that accesses to P9100 registers need to be
5711.73Smacallan# 'latched in' but at least my 3GX works happily without
5721.73Smacallan# Enable it by default since we don't know which hardware really needs it.
5731.73Smacallanoptions PNOZZ_USE_LATCH
5741.64Smacallan
5751.64Smacallan# Sun ZX/Leo 24-bit framebuffer
5761.68Smacallanzx*		at sbus? slot ? offset ?
5771.1Smrg
5781.64Smacallan# Fujitsu AG-10e accelerated graphics 8/24-bit board
5791.64Smacallanagten*	at sbus? slot ? offset ?
5801.64Smacallan
5811.64Smacallan# generic framebuffer console
5821.64Smacallangenfb*	at sbus? slot ? offset ?
5831.64Smacallan
5841.64Smacallan# make sure wsdisplay0 is the console
5851.64Smacallanwsdisplay0	at wsemuldisplaydev? console 1
5861.64Smacallanwsdisplay*	at wsemuldisplaydev?
5871.1Smrg
5881.1Smrg#### Other device configuration
5891.1Smrg
5901.1Smrg## Pseudo ttys, required for network logins and programs like screen.
5911.1Smrg
5921.22Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
5931.1Smrg
5941.1Smrg## Random device, used to implement /dev/random (a source of random noise),
5951.1Smrg## and generate randomness for some kernel formulae.
5961.1Smrg
5971.75Spooka#pseudo-device	fss			# file system snapshot device
5981.64Smacallan
5991.64Smacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
6001.64Smacallanpseudo-device	wsfont
601