INSTALL revision 1.41
11.41Stron#	$NetBSD: INSTALL,v 1.41 2003/10/07 09:43:58 tron 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.38Slukemoptions 	MEMORY_DISK_ROOT_SIZE=1376	# size of memory disk, in blocks
231.1Smrg
241.1Smrgpseudo-device	md		1	# memory disk device (ramdisk)
251.1Smrg
261.1Smrg## System kernel configuration.  See options(4) for more detail.
271.1Smrg
281.9Smrg
291.1Smrg# Options for variants of the Sun SPARC architecure.
301.1Smrg# We currently support three architecture types; at least one is required.
311.24Spkoptions 	SUN4		# sun4/100, sun4/200, sun4/300
321.1Smrgoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
331.1Smrgoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
341.1Smrg
351.25Spkoptions 	SUN4_MMU3L	# 3-level MMU on sun4/400
361.1Smrg
371.1Smrg## System options specific to the sparc machine type
381.1Smrg
391.1Smrg# Blink the power LED on some machines to indicate the system load.
401.1Smrg#options 	BLINK
411.1Smrg
421.1Smrg## Use a faster console than the PROM's slow drawing routines.  Not needed
431.1Smrg## for headless (no framebuffer) machines.
441.5Sad#options 	RASTERCONSOLE		# fast rasterop console
451.6Sad#options 	FONT_GALLANT12x22	# the console font
461.6Sad#options 	FONT_BOLD8x16		# a somewhat smaller font
471.21Sabs#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
481.21Sabs#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
491.1Smrg
501.1Smrg#### System options that are the same for all ports
511.1Smrg
521.1Smrg## Root device configuration: change the ?'s if you are going to use a
531.1Smrg## nonstandard root partition (other than where the kernel is booted from)
541.1Smrg## and/or nonstandard root type (not ffs or nfs).  Normally this can be
551.1Smrg## automagically determined at boot time.
561.1Smrg
571.1Smrgconfig		netbsd	root on ? type ?
581.1Smrg
591.1Smrg## System call tracing (see ktrace(1)).
601.1Smrg#options 	KTRACE
611.1Smrg
621.1Smrg## Collect statistics on kernel malloc's and free's.  This does have a
631.1Smrg## significant performance hit on slower machines, so it is intended for
641.1Smrg## diagnostic use only.
651.17Sabs#options 	KMEMSTATS
661.1Smrg
671.1Smrg## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
681.1Smrg#options 	SYSVMSG		# System V message queues
691.1Smrg#options 	SYSVSEM		# System V semaphores
701.1Smrg#options 	SYSVSHM		# System V shared memory
711.1Smrg#options 	SHMMAXPGS=1024	# 1024 pages is the default
721.1Smrg
731.1Smrg## Loadable kernel module support; still under development.
741.1Smrg#options 	LKM
751.29Sjdolecek
761.37Slukemoptions 	USERCONF	# userconf(4) support
771.36Sabsoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
781.36Sabsoptions 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
791.1Smrg
801.35Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
811.1Smrgoptions 	NFS_BOOT_BOOTPARAM
821.1Smrg#options 	NFS_BOOT_BOOTP
831.31Slukemoptions 	NFS_BOOT_DHCP
841.1Smrg
851.1Smrg#### Debugging options
861.1Smrg
871.1Smrg## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
881.1Smrg## serial console break or keyboard reset, where the PROM would normally
891.1Smrg## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
901.17Sabs#options 	DDB			# kernel dynamic debugger
911.1Smrg#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
921.8Smrg#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
931.1Smrg
941.1Smrg## You may also use gdb, on another computer connected to this machine over
951.27Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
961.27Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use.
971.1Smrg## (0xc01 = ttya, 0xc02 = ttyb.)
981.27Slukem#options 	KGDB			# support for kernel gdb
991.27Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1001.27Slukem#options 	KGDB_DEVRATE=38400	# baud rate
1011.1Smrg
1021.1Smrg
1031.1Smrg## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1041.1Smrg## such that gdb(1) can be used on a kernel coredump.
1051.1Smrg
1061.28Slukem#makeoptions	DEBUG="-g"
1071.1Smrg
1081.1Smrg
1091.1Smrg## Adds code to the kernel that does internal consistency checks, and will
1101.1Smrg## cause the kernel to panic if corruption of internal data structures
1111.1Smrg## is detected.
1121.1Smrg#options 	DIAGNOSTIC	# extra kernel sanity checking
1131.1Smrg
1141.1Smrg## Enable (possibly expensive) debugging code that may also display messages
1151.1Smrg## on the system console
1161.1Smrg#options 	DEBUG
1171.13Saugustss
1181.13Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1191.1Smrg
1201.1Smrg## Make SCSI error messages more verbose when explaining their meanings.
1211.1Smrg#options 	SCSIVERBOSE
1221.1Smrg
1231.1Smrg## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1241.1Smrg## This allows writing to /dev/mem, loading kernel modules while multi-user,
1251.1Smrg## and other insecurities good only for development work.  Do not use this
1261.1Smrg## option on a production machine.
1271.1Smrgoptions 	INSECURE
1281.1Smrg
1291.1Smrg## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1301.1Smrg## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1311.1Smrg## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1321.1Smrg## opaque file mechanism.  Perl calls this "secure setuid scripts."
1331.1Smrg
1341.1Smrg#options 	FDSCRIPTS
1351.1Smrg#options 	SETUIDSCRIPTS
1361.1Smrg
1371.1Smrg## Options for compatibility with previous releases foreign system binaries.
1381.1Smrg## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1391.1Smrg## additional user-level utilities or system configuration files. See
1401.1Smrg## compat_sunos(8) and compat_svr4(8).
1411.1Smrg
1421.1Smrg#options 	COMPAT_43	# 4.3BSD system interfaces
1431.1Smrg#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
1441.1Smrg#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
1451.1Smrg#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
1461.17Sabs#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
1471.17Sabs#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
1481.41Stron#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
1491.1Smrg#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1501.1Smrg#options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1511.26Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1521.1Smrg
1531.1Smrg## File systems.  You probably need at least one of FFS or NFS.
1541.1Smrgfile-system	FFS		# Berkeley Fast Filesystem
1551.1Smrgfile-system	NFS		# Sun NFS-compatible filesystem client
1561.15Spk#file-system	KERNFS		# kernel data-structure filesystem
1571.1Smrg#file-system	NULLFS		# NULL layered filesystem
1581.23Spkfile-system	MFS		# memory-based filesystem
1591.1Smrg#file-system	FDESC		# user file descriptor filesystem
1601.1Smrg#file-system	UMAPFS		# uid/gid remapping filesystem
1611.1Smrg#file-system	LFS		# Log-based filesystem (still experimental)
1621.1Smrg#file-system	PORTAL		# portal filesystem (still experimental)
1631.1Smrg#file-system	PROCFS		# /proc
1641.1Smrgfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1651.1Smrg#file-system	UNION		# union file system
1661.1Smrg#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1671.1Smrg
1681.21Sabs## File system options
1691.1Smrg#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1701.1Smrg#options 	QUOTA		# FFS quotas
1711.1Smrg#options 	FFS_EI		# FFS Endian Independent support
1721.21Sabs#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
1731.36Sabsoptions 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
1741.1Smrg
1751.1Smrg## Network protocol support.  In most environments, INET is required.
1761.1Smrgoptions 	INET		# IP (Internet Protocol) v4
1771.1Smrg#options 	GATEWAY		# packet forwarding ("router switch")
1781.1Smrg#options 	MROUTING	# packet forwarding of multicast packets
1791.1Smrg#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1801.1Smrg#options 	NS		# Xerox NS networking
1811.1Smrg#options 	NSIP		# Xerox NS tunneling over IP
1821.1Smrg#options 	ISO,TPIP	# OSI networking
1831.1Smrg#options 	EON		# OSI tunneling over IP
1841.1Smrg#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1851.1Smrg#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1861.1Smrg#options 	NTP		# Network Time Protocol in-kernel support
1871.1Smrg#options 	PPS_SYNC	# Add serial line synchronization for NTP
1881.1Smrg#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1891.1Smrg#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1901.1Smrg#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
1911.1Smrg#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1921.1Smrg#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
1931.26Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1941.1Smrg
1951.1Smrg
1961.1Smrg#### Main bus and CPU .. all systems.
1971.1Smrgmainbus0 at root
1981.1Smrgcpu0	at mainbus0
1991.1Smrg
2001.1Smrg#### Bus types found on SPARC systems.
2011.1Smrg
2021.1Smrgsbus0	at mainbus0				# sun4c
2031.1Smrgobio0	at mainbus0				# sun4 and sun4m
2041.24Spksparcvme0	at mainbus0				# sun4
2051.1Smrgiommu0	at mainbus0				# sun4m
2061.1Smrgsbus0	at iommu0				# sun4m
2071.10Sdrochnersparcvme0	at iommu0				# sun4m
2081.24Spkvme0	at sparcvme0			# mi VME attachment
2091.1Smrg
2101.1Smrg## SBus expander box
2111.9Smrgxbox*	at sbus? slot ? offset ?
2121.9Smrgsbus*	at xbox?
2131.1Smrg
2141.8Smrg## SBus to PCMCIA bridge
2151.8Smrg# Currently enabling nell* with audioamd* causes panic at attach
2161.8Smrg#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
2171.8Smrg#pcmcia*	at nell?
2181.8Smrg
2191.1Smrg#### Standard system devices -- all required for a given architecture
2201.1Smrg
2211.1Smrg## Auxiliary system registers on sun4c and sun4m
2221.1Smrgauxreg0	at mainbus0				# sun4c
2231.1Smrgauxreg0	at obio0				# sun4m
2241.1Smrg
2251.1Smrg## Power status and control register on Sun4m systems
2261.1Smrgpower0	at obio0
2271.1Smrg
2281.1Smrg## Mostek clock found on 4/300, sun4c, and sun4m systems.
2291.1Smrg## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2301.1Smrgclock0	at mainbus0				# sun4c
2311.1Smrgclock0	at obio0				# sun4m
2321.24Spkclock0	at obio0 addr 0xf2000000		# sun4/300
2331.1Smrg
2341.1Smrg## Intersil clock found on 4/100 and 4/200 systems.
2351.24Spkoclock0	at obio0 addr 0xf3000000		# sun4/200
2361.24Spkoclock0	at obio0 addr 0x03000000		# sun4/100
2371.1Smrg
2381.1Smrg## Memory error registers.
2391.1Smrgmemreg0	at mainbus0				# sun4c
2401.1Smrgmemreg0	at obio0				# sun4m
2411.24Spkmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2421.24Spkmemreg0	at obio0 addr 0x04000000		# sun4/100
2431.1Smrg
2441.8Smrg## ECC memory control
2451.8Smrgeccmemctl0 at mainbus0				# sun4m
2461.8Smrg
2471.1Smrg## Timer chip found on 4/300, sun4c, and sun4m systems.
2481.1Smrgtimer0	at mainbus0				# sun4c
2491.1Smrgtimer0	at obio0				# sun4m
2501.24Spktimer0	at obio0 addr 0xef000000		# sun4/300
2511.1Smrg
2521.1Smrg## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2531.1Smrg## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2541.1Smrg## Mostek clock chip on 4/300 systems.
2551.24Spkeeprom0	at obio0 addr 0xf2000000		# sun4/200
2561.24Spkeeprom0	at obio0 addr 0x02000000		# sun4/100
2571.1Smrg
2581.1Smrg
2591.1Smrg#### Serial port configuration
2601.1Smrg
2611.1Smrg## Zilog 8530 serial chips.  Each has two-channels.
2621.1Smrg## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
2631.1Smrgzs0	at mainbus0					# sun4c
2641.1Smrgzs0	at obio0					# sun4m
2651.24Spkzs0	at obio0 addr 0xf1000000 level 12 flags 0x103	# sun4/200 and sun4/300
2661.24Spkzs0	at obio0 addr 0x01000000 level 12 flags 0x103	# sun4/100
2671.1Smrgzstty0	at zs0 channel 0	# ttya
2681.1Smrgzstty1	at zs0 channel 1	# ttyb
2691.1Smrg
2701.1Smrgzs1	at mainbus0					# sun4c
2711.1Smrgzs1	at obio0					# sun4m
2721.24Spkzs1	at obio0 addr 0xf0000000 level 12 flags 0x103	# sun4/200 and sun4/300
2731.24Spkzs1	at obio0 addr 0x00000000 level 12 flags 0x103	# sun4/100
2741.1Smrgkbd0	at zs1 channel 0	# keyboard
2751.1Smrgms0	at zs1 channel 1	# mouse
2761.1Smrg
2771.24Spkzs2	at obio0 addr 0xe0000000 level 12 flags 0x103	# sun4/300
2781.24Spkzstty2	at zs2 channel 0	# ttyc
2791.24Spkzstty3	at zs2 channel 1	# ttyd
2801.1Smrg
2811.1Smrg
2821.1Smrg## Magma Serial/Parallel driver
2831.1Smrg#magma*	at sbus? slot ? offset ?
2841.1Smrg#mtty*	at magma?
2851.1Smrg#mbpp*	at magma?
2861.1Smrg
2871.8Smrg## PCMCIA serial interfaces
2881.8Smrg#com*	at pcmcia?
2891.8Smrg#pcmcom*	at pcmcia?
2901.8Smrg#com*	at pcmcom?
2911.1Smrg
2921.1Smrg#### Disk controllers and disks
2931.1Smrg
2941.1Smrg#
2951.1Smrg
2961.1Smrg## The following flags may be set for the NCR53c94 based esp driver:
2971.1Smrg##	bits 0-7:  disable disconnect/reselect for the corresponding target
2981.1Smrg##	bits 8-15: disable synchronous negotiation for target [bit-8]
2991.1Smrg
3001.1Smrg## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3011.1Smrg## Both `dma' and `esp' are needed in all cases.
3021.1Smrg## Two kinds of additional SBus SCSI interfaces are available.  One uses
3031.1Smrg## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3041.1Smrg
3051.1Smrg## sun4/300 SCSI - an NCR53c94 or equivalent behind
3061.1Smrg## an LSI Logic DMA controller
3071.1Smrg
3081.24Spkdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3091.24Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3101.1Smrg
3111.1Smrgdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3121.1Smrgesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3131.1Smrgesp0	at dma0 flags 0x0000				# sun4m
3141.1Smrg
3151.1Smrg# FSBE/S SCSI
3161.1Smrgdma*	at sbus? slot ? offset ?			# SBus
3171.1Smrgesp*	at sbus? slot ? offset ? flags 0x0000		# SBus (older proms)
3181.1Smrgesp*	at dma? flags 0x0000				# SBus
3191.1Smrg
3201.1Smrgscsibus* at esp?
3211.1Smrg
3221.1Smrg## Qlogic ISP SBus SCSI Card
3231.1Smrgisp*	at sbus? slot ? offset ?
3241.1Smrgscsibus* at isp?
3251.1Smrg
3261.1Smrg## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3271.1Smrg## This driver has several flags which may be enabled by OR'ing
3281.1Smrg## the values and using the "flags" directive.
3291.1Smrg## Valid flags are:
3301.1Smrg##
3311.1Smrg##	0x01		Use DMA (may be polled)
3321.1Smrg##	0x02		Use DMA completion interrupts
3331.1Smrg##	0x04		Allow disconnect/reselect
3341.1Smrg##
3351.1Smrg## E.g. the following would enable DMA, interrupts, and reselect:
3361.10Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3371.1Smrg##
3381.1Smrg## By default, DMA is enabled in the driver.
3391.1Smrg
3401.24Spksi0	at vme0 addr 0x200000 irq 2 vect 0x40
3411.24Spkscsibus* at si?
3421.1Smrg
3431.1Smrg## NCR5380-based "SCSI Weird" on-board SCSI interface found
3441.1Smrg## on sun4/100 systems.  The flags are the same as the "si"
3451.1Smrg## controller.  Note, while DMA is enabled by default, only
3461.1Smrg## polled DMA works at this time, and reselects do not work
3471.1Smrg## on this particular controller.
3481.1Smrg
3491.24Spksw0	at obio0 addr 0x0a000000 level 3
3501.24Spkscsibus* at sw?
3511.1Smrg
3521.8Smrg## PCMCIA SCSI controllers
3531.8Smrg#aic*	at pcmcia?
3541.8Smrg#scsibus* at aic?
3551.8Smrg
3561.8Smrg
3571.1Smrg## These entries find devices on all SCSI busses and assign
3581.1Smrg## unit numbers dynamically.
3591.1Smrgsd*	at scsibus? target ? lun ?		# SCSI disks
3601.1Smrgst*	at scsibus? target ? lun ?		# SCSI tapes
3611.1Smrgcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
3621.17Sabs#ch*	at scsibus? target ? lun ?		# SCSI changer devices
3631.1Smrg#ss*	at scsibus? target ? lun ?		# SCSI scanners
3641.1Smrg#uk*	at scsibus? target ? lun ?		# unknown SCSI
3651.1Smrg
3661.1Smrg
3671.1Smrg## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
3681.1Smrg## on sun4 systems.
3691.24Spkxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
3701.24Spkxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
3711.24Spkxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
3721.24Spkxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
3731.24Spkxd*	at xdc? drive ?
3741.1Smrg
3751.1Smrg## Xylogics 451 or 451 VME SMD disk controllers and disks, found
3761.1Smrg## on sun4 systems.
3771.24Spkxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
3781.24Spkxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
3791.24Spkxy*	at xyc? drive ?
3801.1Smrg
3811.1Smrg
3821.1Smrg## Floppy controller and drive found on SPARCstations.
3831.1Smrg
3841.1Smrgfdc0	at mainbus0				# sun4c controller
3851.1Smrgfdc0	at obio0				# sun4m controller
3861.1Smrgfd*	at fdc0					# the drive itself
3871.1Smrg
3881.8Smrg## PCMCIA IDE controllers
3891.8Smrg#wdc*	at pcmcia?
3901.8Smrg#wd*	at wdc?
3911.8Smrg
3921.1Smrg## A disk-like interface to files.  Can be used to create floppy, CD,
3931.1Smrg## miniroot images, etc.
3941.1Smrg
3951.1Smrg#pseudo-device	vnd	4
3961.1Smrg
3971.1Smrg## Concatenated and striped disks; with this, you can create a software-based
3981.1Smrg## disk array similar to a "RAID 0" setup.  See ccd(4).
3991.1Smrg
4001.1Smrg#pseudo-device	ccd	4
4011.1Smrg
4021.8Smrg## RAIDframe disk driver: software RAID driver.  See raid(4).
4031.8Smrg
4041.8Smrg#pseudo-device	raid	4
4051.8Smrg
4061.1Smrg## Memory disk device, used on boot floppies with compressed
4071.1Smrg## kernel-plus-root-disk images.
4081.1Smrg
4091.1Smrg#pseudo-device	md	1
4101.1Smrg
4111.1Smrg
4121.1Smrg#### Network interfaces
4131.1Smrg
4141.1Smrg## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4151.1Smrg## Three flavors of additional SBus ethernets are available.  One attaches
4161.1Smrg## directly like the sun4c on-board, one uses the ledma device like the
4171.1Smrg## sun4m on-board, and one uses the lebuffer device.
4181.1Smrg
4191.24Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
4201.1Smrgle0		at sbus0 slot ? offset ?		# sun4c on-board
4211.1Smrgledma0		at sbus0 slot ? offset ?		# sun4m on-board
4221.1Smrgle0		at ledma0				# sun4m on-board
4231.1Smrgle*		at sbus? slot ? offset ?		# SBus
4241.1Smrgledma*		at sbus? slot ? offset ?		# SBus
4251.1Smrgle*		at ledma?				# SBus
4261.1Smrglebuffer0	at sbus? slot ? offset ?		# SBus
4271.1Smrgle0		at lebuffer?				# SBus
4281.1Smrglebuffer*	at sbus? slot ? offset ?		# SBus
4291.1Smrgle*		at lebuffer?				# SBus
4301.1Smrg
4311.1Smrg
4321.1Smrg## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
4331.1Smrg## or on a Multibus/VME card.
4341.24Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
4351.24Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
4361.24Spkie1	at vme0 addr 0xe88000 irq 3 vect 0x75		# VME
4371.24Spkie2	at vme0 addr 0x31ff02 irq 3 vect 0x76		# VME
4381.24Spkie3	at vme0 addr 0x35ff02 irq 3 vect 0x77		# VME
4391.24Spkie4	at vme0 addr 0x2dff02 irq 3 vect 0x7c		# VME
4401.1Smrg
4411.8Smrg## qec/be, qec/hme
4421.8Smrgqec*		at sbus? slot ? offset ?
4431.8Smrgbe*		at qec?
4441.8Smrgqe*		at qec?
4451.8Smrg
4461.8Smrg# midway ATM
4471.8Smrgen0	at sbus? slot ? offset ?
4481.8Smrg
4491.8Smrg# PCMCIA ethernet devices
4501.8Smrg#ep*	at pcmcia?
4511.8Smrg#mbe*	at pcmcia?
4521.8Smrg#ne*	at pcmcia?
4531.8Smrg#sm*	at pcmcia?
4541.8Smrg
4551.8Smrg# MII/PHY support
4561.8Smrg#exphy*	at mii? phy ?			# 3Com internal PHYs
4571.30Swiz#icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
4581.8Smrg#inphy*	at mii? phy ?			# Intel 82555 PHYs
4591.8Smrg#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
4601.8Smrg#nsphy*	at mii? phy ?			# NS83840 PHYs
4611.8Smrg#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
4621.8Smrg#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
4631.8Smrg#tlphy*	at mii? phy ?			# ThunderLAN PHYs
4641.8Smrg#ukphy*	at mii? phy ?			# generic unknown PHYs
4651.8Smrg
4661.1Smrg## Loopback network interface; required
4671.1Smrgpseudo-device	loop
4681.1Smrg
4691.1Smrg## SLIP and CSLIP interfaces, for IP over a serial line.
4701.24Spk#pseudo-device	sl		2
4711.1Smrg
4721.1Smrg## PPP, the successor to SLIP.  See pppd(8).
4731.17Sabs#pseudo-device	ppp		2
4741.1Smrg
4751.1Smrg## Starmode Radio IP, a special hardware network device.
4761.1Smrg#pseudo-device	strip		1
4771.1Smrg
4781.1Smrg## Network "tunnel" device, allowing protocol stacks to run in the userland.
4791.1Smrg## This is used by the third-party user-mode "ppp" program, and others.
4801.1Smrg#pseudo-device	tun		4
4811.1Smrg
4821.8Smrg## Generic L3 over IP tunnel
4831.8Smrg#pseudo-device	gre		2	# generic L3 over IP tunnel
4841.8Smrg
4851.1Smrg## Berkeley Packet Filter, required to run RARPD.  A generic C-language
4861.1Smrg## interface that allows selective examining of incoming packets.
4871.1Smrg#pseudo-device	bpfilter	8
4881.1Smrg
4891.1Smrg## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
4901.1Smrg## one example of the use of the IP Filter.
4911.1Smrg#pseudo-device	ipfilter
4921.1Smrg
4931.1Smrg
4941.1Smrg#### Audio and video devices
4951.1Smrg
4961.1Smrg## /dev/audio support (`audioamd' plus `audio')
4971.1Smrg##
4981.1Smrg#audioamd0	at mainbus0				# sun4c
4991.1Smrg#audioamd0	at obio0				# sun4m
5001.1Smrg#audioamd0	at sbus0 slot ? offset ?		# sun4m
5011.1Smrg#audio*		at audioamd0
5021.1Smrg
5031.8Smrg#audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
5041.8Smrg#audio*		at audiocs0
5051.8Smrg
5061.1Smrg
5071.1Smrg## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
5081.1Smrg## systems.  If your sun4 system has a cgfour installed in the P4 slot,
5091.1Smrg## the P4 entries for "bwtwo" will attach to the overlay plane of the
5101.1Smrg## "cgfour".
5111.1Smrg
5121.1Smrgbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
5131.1Smrgbwtwo*		at sbus? slot ? offset ?		#
5141.1Smrg#bwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
5151.1Smrg#bwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
5161.1Smrg#bwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
5171.1Smrg
5181.1Smrg## Sun "cgtwo" VME color framebuffer
5191.10Sdrochner#cgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
5201.1Smrg
5211.1Smrg## Sun "cgthree" Sbus color framebuffer
5221.1Smrgcgthree0	at sbus? slot ? offset ?
5231.1Smrgcgthree*	at sbus? slot ? offset ?
5241.1Smrg#cgthree0	at obio? slot ? offset ?		# sun4m
5251.1Smrg
5261.1Smrg## Sun "cgfour" color framebuffer with overlay plane.  See above comment
5271.1Smrg## regarding overlay plane.
5281.1Smrg#cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5291.1Smrg#cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5301.1Smrg
5311.1Smrg## Sun "cgsix" accelerated color framebuffer.
5321.1Smrgcgsix0		at sbus? slot ? offset ?
5331.1Smrgcgsix*		at sbus? slot ? offset ?
5341.1Smrg#cgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
5351.1Smrg#cgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
5361.1Smrg
5371.1Smrg## Sun "cgeight" 24-bit framebuffer
5381.1Smrg#cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5391.1Smrg#cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5401.1Smrg
5411.1Smrg## Sun "tcx" accelerated color framebuffer.
5421.1Smrgtcx0		at sbus? slot ? offset ?
5431.1Smrgtcx*		at sbus? slot ? offset ?
5441.1Smrg
5451.1Smrg# Sun "cgfourteen" accelerated 24-bit framebuffer.
5461.1Smrgcgfourteen0	at obio0			# sun4m
5471.1Smrg
5481.1Smrg
5491.1Smrg#### Other device configuration
5501.1Smrg
5511.1Smrg## Pseudo ttys, required for network logins and programs like screen.
5521.1Smrg
5531.22Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
5541.1Smrg
5551.1Smrg## Random device, used to implement /dev/random (a source of random noise),
5561.1Smrg## and generate randomness for some kernel formulae.
5571.1Smrg
5581.40Sitojunpseudo-device	rnd
559