INSTALL revision 1.34
11.34Satatat#	$NetBSD: INSTALL,v 1.34 2002/04/25 15:06:37 atatat 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.32Slukemoptions 	MEMORY_DISK_ROOT_SIZE=1360	# 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.33Sgmcgarry#options 	USERCONF	# userconf(4) support
771.29Sjdolecekoptions		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
781.1Smrg
791.1Smrg## NFS boot options; default on sparc is the bootparam protocol
801.1Smrgoptions 	NFS_BOOT_BOOTPARAM
811.1Smrg#options 	NFS_BOOT_BOOTP
821.31Slukemoptions 	NFS_BOOT_DHCP
831.1Smrg
841.1Smrg#### Debugging options
851.1Smrg
861.1Smrg## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
871.1Smrg## serial console break or keyboard reset, where the PROM would normally
881.1Smrg## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
891.17Sabs#options 	DDB			# kernel dynamic debugger
901.1Smrg#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
911.8Smrg#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
921.1Smrg
931.1Smrg## You may also use gdb, on another computer connected to this machine over
941.27Slukem## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
951.27Slukem## KGDB_DEV is a dev_t encoded device number of the serial port to use.
961.1Smrg## (0xc01 = ttya, 0xc02 = ttyb.)
971.27Slukem#options 	KGDB			# support for kernel gdb
981.27Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
991.27Slukem#options 	KGDB_DEVRATE=38400	# baud rate
1001.1Smrg
1011.1Smrg
1021.1Smrg## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1031.1Smrg## such that gdb(1) can be used on a kernel coredump.
1041.1Smrg
1051.28Slukem#makeoptions	DEBUG="-g"
1061.1Smrg
1071.1Smrg
1081.1Smrg## Adds code to the kernel that does internal consistency checks, and will
1091.1Smrg## cause the kernel to panic if corruption of internal data structures
1101.1Smrg## is detected.
1111.1Smrg#options 	DIAGNOSTIC	# extra kernel sanity checking
1121.1Smrg
1131.1Smrg## Enable (possibly expensive) debugging code that may also display messages
1141.1Smrg## on the system console
1151.1Smrg#options 	DEBUG
1161.13Saugustss
1171.13Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1181.1Smrg
1191.1Smrg## Make SCSI error messages more verbose when explaining their meanings.
1201.1Smrg#options 	SCSIVERBOSE
1211.1Smrg
1221.1Smrg## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1231.1Smrg## This allows writing to /dev/mem, loading kernel modules while multi-user,
1241.1Smrg## and other insecurities good only for development work.  Do not use this
1251.1Smrg## option on a production machine.
1261.1Smrgoptions 	INSECURE
1271.1Smrg
1281.1Smrg## Allow non-root users to grab /dev/console with programs such as xconsole.
1291.1Smrg## `xconsole' therefore does not need setuid root with this option enabled.
1301.1Smrg#options 	UCONSOLE
1311.1Smrg
1321.1Smrg## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1331.1Smrg## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1341.1Smrg## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1351.1Smrg## opaque file mechanism.  Perl calls this "secure setuid scripts."
1361.1Smrg
1371.1Smrg#options 	FDSCRIPTS
1381.1Smrg#options 	SETUIDSCRIPTS
1391.1Smrg
1401.1Smrg## Options for compatibility with previous releases foreign system binaries.
1411.1Smrg## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1421.1Smrg## additional user-level utilities or system configuration files. See
1431.1Smrg## compat_sunos(8) and compat_svr4(8).
1441.1Smrg
1451.1Smrg#options 	COMPAT_43	# 4.3BSD system interfaces
1461.1Smrg#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
1471.1Smrg#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
1481.1Smrg#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
1491.17Sabs#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
1501.17Sabs#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
1511.1Smrg#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1521.1Smrg#options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1531.26Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1541.1Smrg
1551.1Smrg## File systems.  You probably need at least one of FFS or NFS.
1561.1Smrgfile-system	FFS		# Berkeley Fast Filesystem
1571.1Smrgfile-system	NFS		# Sun NFS-compatible filesystem client
1581.15Spk#file-system	KERNFS		# kernel data-structure filesystem
1591.1Smrg#file-system	NULLFS		# NULL layered filesystem
1601.23Spkfile-system	MFS		# memory-based filesystem
1611.1Smrg#file-system	FDESC		# user file descriptor filesystem
1621.1Smrg#file-system	UMAPFS		# uid/gid remapping filesystem
1631.1Smrg#file-system	LFS		# Log-based filesystem (still experimental)
1641.1Smrg#file-system	PORTAL		# portal filesystem (still experimental)
1651.1Smrg#file-system	PROCFS		# /proc
1661.1Smrgfile-system	CD9660		# ISO 9660 + Rock Ridge file system
1671.1Smrg#file-system	UNION		# union file system
1681.1Smrg#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1691.1Smrg
1701.21Sabs## File system options
1711.1Smrg#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1721.1Smrg#options 	QUOTA		# FFS quotas
1731.1Smrg#options 	FFS_EI		# FFS Endian Independent support
1741.21Sabs#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
1751.21Sabs#options 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
1761.1Smrg
1771.1Smrg## Network protocol support.  In most environments, INET is required.
1781.1Smrgoptions 	INET		# IP (Internet Protocol) v4
1791.1Smrg#options 	GATEWAY		# packet forwarding ("router switch")
1801.1Smrg#options 	MROUTING	# packet forwarding of multicast packets
1811.1Smrg#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1821.1Smrg#options 	NS		# Xerox NS networking
1831.1Smrg#options 	NSIP		# Xerox NS tunneling over IP
1841.1Smrg#options 	ISO,TPIP	# OSI networking
1851.1Smrg#options 	EON		# OSI tunneling over IP
1861.1Smrg#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1871.1Smrg#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1881.1Smrg#options 	NTP		# Network Time Protocol in-kernel support
1891.1Smrg#options 	PPS_SYNC	# Add serial line synchronization for NTP
1901.1Smrg#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1911.1Smrg#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1921.1Smrg#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
1931.1Smrg#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1941.1Smrg#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
1951.26Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1961.1Smrg
1971.1Smrg
1981.1Smrg#### Main bus and CPU .. all systems.
1991.1Smrgmainbus0 at root
2001.1Smrgcpu0	at mainbus0
2011.1Smrg
2021.1Smrg#### Bus types found on SPARC systems.
2031.1Smrg
2041.1Smrgsbus0	at mainbus0				# sun4c
2051.1Smrgobio0	at mainbus0				# sun4 and sun4m
2061.24Spksparcvme0	at mainbus0				# sun4
2071.1Smrgiommu0	at mainbus0				# sun4m
2081.1Smrgsbus0	at iommu0				# sun4m
2091.10Sdrochnersparcvme0	at iommu0				# sun4m
2101.24Spkvme0	at sparcvme0			# mi VME attachment
2111.1Smrg
2121.1Smrg## SBus expander box
2131.9Smrgxbox*	at sbus? slot ? offset ?
2141.9Smrgsbus*	at xbox?
2151.1Smrg
2161.8Smrg## SBus to PCMCIA bridge
2171.8Smrg# Currently enabling nell* with audioamd* causes panic at attach
2181.8Smrg#nell*	at sbus? slot ? offset ?		# PCMCIA bridge
2191.8Smrg#pcmcia*	at nell?
2201.8Smrg
2211.1Smrg#### Standard system devices -- all required for a given architecture
2221.1Smrg
2231.1Smrg## Auxiliary system registers on sun4c and sun4m
2241.1Smrgauxreg0	at mainbus0				# sun4c
2251.1Smrgauxreg0	at obio0				# sun4m
2261.1Smrg
2271.1Smrg## Power status and control register on Sun4m systems
2281.1Smrgpower0	at obio0
2291.1Smrg
2301.1Smrg## Mostek clock found on 4/300, sun4c, and sun4m systems.
2311.1Smrg## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
2321.1Smrgclock0	at mainbus0				# sun4c
2331.1Smrgclock0	at obio0				# sun4m
2341.24Spkclock0	at obio0 addr 0xf2000000		# sun4/300
2351.1Smrg
2361.1Smrg## Intersil clock found on 4/100 and 4/200 systems.
2371.24Spkoclock0	at obio0 addr 0xf3000000		# sun4/200
2381.24Spkoclock0	at obio0 addr 0x03000000		# sun4/100
2391.1Smrg
2401.1Smrg## Memory error registers.
2411.1Smrgmemreg0	at mainbus0				# sun4c
2421.1Smrgmemreg0	at obio0				# sun4m
2431.24Spkmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
2441.24Spkmemreg0	at obio0 addr 0x04000000		# sun4/100
2451.1Smrg
2461.8Smrg## ECC memory control
2471.8Smrgeccmemctl0 at mainbus0				# sun4m
2481.8Smrg
2491.1Smrg## Timer chip found on 4/300, sun4c, and sun4m systems.
2501.1Smrgtimer0	at mainbus0				# sun4c
2511.1Smrgtimer0	at obio0				# sun4m
2521.24Spktimer0	at obio0 addr 0xef000000		# sun4/300
2531.1Smrg
2541.1Smrg## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
2551.1Smrg## doesn't use this driver; the `EEPROM' is in the NVRAM on the
2561.1Smrg## Mostek clock chip on 4/300 systems.
2571.24Spkeeprom0	at obio0 addr 0xf2000000		# sun4/200
2581.24Spkeeprom0	at obio0 addr 0x02000000		# sun4/100
2591.1Smrg
2601.1Smrg
2611.1Smrg#### Serial port configuration
2621.1Smrg
2631.1Smrg## Zilog 8530 serial chips.  Each has two-channels.
2641.1Smrg## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
2651.1Smrgzs0	at mainbus0					# sun4c
2661.1Smrgzs0	at obio0					# sun4m
2671.24Spkzs0	at obio0 addr 0xf1000000 level 12 flags 0x103	# sun4/200 and sun4/300
2681.24Spkzs0	at obio0 addr 0x01000000 level 12 flags 0x103	# sun4/100
2691.1Smrgzstty0	at zs0 channel 0	# ttya
2701.1Smrgzstty1	at zs0 channel 1	# ttyb
2711.1Smrg
2721.1Smrgzs1	at mainbus0					# sun4c
2731.1Smrgzs1	at obio0					# sun4m
2741.24Spkzs1	at obio0 addr 0xf0000000 level 12 flags 0x103	# sun4/200 and sun4/300
2751.24Spkzs1	at obio0 addr 0x00000000 level 12 flags 0x103	# sun4/100
2761.1Smrgkbd0	at zs1 channel 0	# keyboard
2771.1Smrgms0	at zs1 channel 1	# mouse
2781.1Smrg
2791.24Spkzs2	at obio0 addr 0xe0000000 level 12 flags 0x103	# sun4/300
2801.24Spkzstty2	at zs2 channel 0	# ttyc
2811.24Spkzstty3	at zs2 channel 1	# ttyd
2821.1Smrg
2831.1Smrg
2841.1Smrg## Magma Serial/Parallel driver
2851.1Smrg#magma*	at sbus? slot ? offset ?
2861.1Smrg#mtty*	at magma?
2871.1Smrg#mbpp*	at magma?
2881.1Smrg
2891.8Smrg## PCMCIA serial interfaces
2901.8Smrg#com*	at pcmcia?
2911.8Smrg#pcmcom*	at pcmcia?
2921.8Smrg#com*	at pcmcom?
2931.1Smrg
2941.1Smrg#### Disk controllers and disks
2951.1Smrg
2961.1Smrg#
2971.1Smrg
2981.1Smrg## The following flags may be set for the NCR53c94 based esp driver:
2991.1Smrg##	bits 0-7:  disable disconnect/reselect for the corresponding target
3001.1Smrg##	bits 8-15: disable synchronous negotiation for target [bit-8]
3011.1Smrg
3021.1Smrg## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
3031.1Smrg## Both `dma' and `esp' are needed in all cases.
3041.1Smrg## Two kinds of additional SBus SCSI interfaces are available.  One uses
3051.1Smrg## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
3061.1Smrg
3071.1Smrg## sun4/300 SCSI - an NCR53c94 or equivalent behind
3081.1Smrg## an LSI Logic DMA controller
3091.1Smrg
3101.24Spkdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
3111.24Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
3121.1Smrg
3131.1Smrgdma0	at sbus0 slot ? offset ?			# sun4c/sun4m
3141.1Smrgesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
3151.1Smrgesp0	at dma0 flags 0x0000				# sun4m
3161.1Smrg
3171.1Smrg# FSBE/S SCSI
3181.1Smrgdma*	at sbus? slot ? offset ?			# SBus
3191.1Smrgesp*	at sbus? slot ? offset ? flags 0x0000		# SBus (older proms)
3201.1Smrgesp*	at dma? flags 0x0000				# SBus
3211.1Smrg
3221.1Smrgscsibus* at esp?
3231.1Smrg
3241.1Smrg## Qlogic ISP SBus SCSI Card
3251.1Smrgisp*	at sbus? slot ? offset ?
3261.1Smrgscsibus* at isp?
3271.1Smrg
3281.1Smrg## NCR5380-based "Sun SCSI 3" VME SCSI controller.
3291.1Smrg## This driver has several flags which may be enabled by OR'ing
3301.1Smrg## the values and using the "flags" directive.
3311.1Smrg## Valid flags are:
3321.1Smrg##
3331.1Smrg##	0x01		Use DMA (may be polled)
3341.1Smrg##	0x02		Use DMA completion interrupts
3351.1Smrg##	0x04		Allow disconnect/reselect
3361.1Smrg##
3371.1Smrg## E.g. the following would enable DMA, interrupts, and reselect:
3381.10Sdrochner## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
3391.1Smrg##
3401.1Smrg## By default, DMA is enabled in the driver.
3411.1Smrg
3421.24Spksi0	at vme0 addr 0x200000 irq 2 vect 0x40
3431.24Spkscsibus* at si?
3441.1Smrg
3451.1Smrg## NCR5380-based "SCSI Weird" on-board SCSI interface found
3461.1Smrg## on sun4/100 systems.  The flags are the same as the "si"
3471.1Smrg## controller.  Note, while DMA is enabled by default, only
3481.1Smrg## polled DMA works at this time, and reselects do not work
3491.1Smrg## on this particular controller.
3501.1Smrg
3511.24Spksw0	at obio0 addr 0x0a000000 level 3
3521.24Spkscsibus* at sw?
3531.1Smrg
3541.8Smrg## PCMCIA SCSI controllers
3551.8Smrg#aic*	at pcmcia?
3561.8Smrg#scsibus* at aic?
3571.8Smrg
3581.8Smrg
3591.1Smrg## These entries find devices on all SCSI busses and assign
3601.1Smrg## unit numbers dynamically.
3611.1Smrgsd*	at scsibus? target ? lun ?		# SCSI disks
3621.1Smrgst*	at scsibus? target ? lun ?		# SCSI tapes
3631.1Smrgcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
3641.17Sabs#ch*	at scsibus? target ? lun ?		# SCSI changer devices
3651.1Smrg#ss*	at scsibus? target ? lun ?		# SCSI scanners
3661.1Smrg#uk*	at scsibus? target ? lun ?		# unknown SCSI
3671.1Smrg
3681.1Smrg
3691.1Smrg## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
3701.1Smrg## on sun4 systems.
3711.24Spkxdc0	at vme0 addr 0xee80 irq 3 vect 0x44
3721.24Spkxdc1	at vme0 addr 0xee90 irq 3 vect 0x45
3731.24Spkxdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
3741.24Spkxdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
3751.24Spkxd*	at xdc? drive ?
3761.1Smrg
3771.1Smrg## Xylogics 451 or 451 VME SMD disk controllers and disks, found
3781.1Smrg## on sun4 systems.
3791.24Spkxyc0	at vme0 addr 0xee40 irq 3 vect 0x48
3801.24Spkxyc1	at vme0 addr 0xee48 irq 3 vect 0x49
3811.24Spkxy*	at xyc? drive ?
3821.1Smrg
3831.1Smrg
3841.1Smrg## Floppy controller and drive found on SPARCstations.
3851.1Smrg
3861.1Smrgfdc0	at mainbus0				# sun4c controller
3871.1Smrgfdc0	at obio0				# sun4m controller
3881.1Smrgfd*	at fdc0					# the drive itself
3891.1Smrg
3901.8Smrg## PCMCIA IDE controllers
3911.8Smrg#wdc*	at pcmcia?
3921.8Smrg#wd*	at wdc?
3931.8Smrg
3941.1Smrg## A disk-like interface to files.  Can be used to create floppy, CD,
3951.1Smrg## miniroot images, etc.
3961.1Smrg
3971.1Smrg#pseudo-device	vnd	4
3981.1Smrg
3991.1Smrg## Concatenated and striped disks; with this, you can create a software-based
4001.1Smrg## disk array similar to a "RAID 0" setup.  See ccd(4).
4011.1Smrg
4021.1Smrg#pseudo-device	ccd	4
4031.1Smrg
4041.8Smrg## RAIDframe disk driver: software RAID driver.  See raid(4).
4051.8Smrg
4061.8Smrg#pseudo-device	raid	4
4071.8Smrg
4081.1Smrg## Memory disk device, used on boot floppies with compressed
4091.1Smrg## kernel-plus-root-disk images.
4101.1Smrg
4111.1Smrg#pseudo-device	md	1
4121.1Smrg
4131.1Smrg
4141.1Smrg#### Network interfaces
4151.1Smrg
4161.1Smrg## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
4171.1Smrg## Three flavors of additional SBus ethernets are available.  One attaches
4181.1Smrg## directly like the sun4c on-board, one uses the ledma device like the
4191.1Smrg## sun4m on-board, and one uses the lebuffer device.
4201.1Smrg
4211.24Spkle0		at obio0 addr 0xf9000000 level 6	# sun4/300
4221.1Smrgle0		at sbus0 slot ? offset ?		# sun4c on-board
4231.1Smrgledma0		at sbus0 slot ? offset ?		# sun4m on-board
4241.1Smrgle0		at ledma0				# sun4m on-board
4251.1Smrgle*		at sbus? slot ? offset ?		# SBus
4261.1Smrgledma*		at sbus? slot ? offset ?		# SBus
4271.1Smrgle*		at ledma?				# SBus
4281.1Smrglebuffer0	at sbus? slot ? offset ?		# SBus
4291.1Smrgle0		at lebuffer?				# SBus
4301.1Smrglebuffer*	at sbus? slot ? offset ?		# SBus
4311.1Smrgle*		at lebuffer?				# SBus
4321.1Smrg
4331.1Smrg
4341.1Smrg## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
4351.1Smrg## or on a Multibus/VME card.
4361.24Spkie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
4371.24Spkie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
4381.24Spkie1	at vme0 addr 0xe88000 irq 3 vect 0x75		# VME
4391.24Spkie2	at vme0 addr 0x31ff02 irq 3 vect 0x76		# VME
4401.24Spkie3	at vme0 addr 0x35ff02 irq 3 vect 0x77		# VME
4411.24Spkie4	at vme0 addr 0x2dff02 irq 3 vect 0x7c		# VME
4421.1Smrg
4431.8Smrg## qec/be, qec/hme
4441.8Smrgqec*		at sbus? slot ? offset ?
4451.8Smrgbe*		at qec?
4461.8Smrgqe*		at qec?
4471.8Smrg
4481.8Smrg# midway ATM
4491.8Smrgen0	at sbus? slot ? offset ?
4501.8Smrg
4511.8Smrg# PCMCIA ethernet devices
4521.8Smrg#ep*	at pcmcia?
4531.8Smrg#mbe*	at pcmcia?
4541.8Smrg#ne*	at pcmcia?
4551.8Smrg#sm*	at pcmcia?
4561.8Smrg
4571.8Smrg# MII/PHY support
4581.8Smrg#exphy*	at mii? phy ?			# 3Com internal PHYs
4591.30Swiz#icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
4601.8Smrg#inphy*	at mii? phy ?			# Intel 82555 PHYs
4611.8Smrg#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
4621.8Smrg#nsphy*	at mii? phy ?			# NS83840 PHYs
4631.8Smrg#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
4641.8Smrg#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
4651.8Smrg#tlphy*	at mii? phy ?			# ThunderLAN PHYs
4661.8Smrg#ukphy*	at mii? phy ?			# generic unknown PHYs
4671.8Smrg
4681.1Smrg## Loopback network interface; required
4691.1Smrgpseudo-device	loop
4701.1Smrg
4711.1Smrg## SLIP and CSLIP interfaces, for IP over a serial line.
4721.24Spk#pseudo-device	sl		2
4731.1Smrg
4741.1Smrg## PPP, the successor to SLIP.  See pppd(8).
4751.17Sabs#pseudo-device	ppp		2
4761.1Smrg
4771.1Smrg## Starmode Radio IP, a special hardware network device.
4781.1Smrg#pseudo-device	strip		1
4791.1Smrg
4801.1Smrg## Network "tunnel" device, allowing protocol stacks to run in the userland.
4811.1Smrg## This is used by the third-party user-mode "ppp" program, and others.
4821.1Smrg#pseudo-device	tun		4
4831.1Smrg
4841.8Smrg## Generic L3 over IP tunnel
4851.8Smrg#pseudo-device	gre		2	# generic L3 over IP tunnel
4861.8Smrg
4871.1Smrg## Berkeley Packet Filter, required to run RARPD.  A generic C-language
4881.1Smrg## interface that allows selective examining of incoming packets.
4891.1Smrg#pseudo-device	bpfilter	8
4901.1Smrg
4911.1Smrg## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
4921.1Smrg## one example of the use of the IP Filter.
4931.1Smrg#pseudo-device	ipfilter
4941.1Smrg
4951.1Smrg
4961.1Smrg#### Audio and video devices
4971.1Smrg
4981.1Smrg## /dev/audio support (`audioamd' plus `audio')
4991.1Smrg##
5001.1Smrg#audioamd0	at mainbus0				# sun4c
5011.1Smrg#audioamd0	at obio0				# sun4m
5021.1Smrg#audioamd0	at sbus0 slot ? offset ?		# sun4m
5031.1Smrg#audio*		at audioamd0
5041.1Smrg
5051.8Smrg#audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
5061.8Smrg#audio*		at audiocs0
5071.8Smrg
5081.1Smrg
5091.1Smrg## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
5101.1Smrg## systems.  If your sun4 system has a cgfour installed in the P4 slot,
5111.1Smrg## the P4 entries for "bwtwo" will attach to the overlay plane of the
5121.1Smrg## "cgfour".
5131.1Smrg
5141.1Smrgbwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
5151.1Smrgbwtwo*		at sbus? slot ? offset ?		#
5161.1Smrg#bwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
5171.1Smrg#bwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
5181.1Smrg#bwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
5191.1Smrg
5201.1Smrg## Sun "cgtwo" VME color framebuffer
5211.10Sdrochner#cgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
5221.1Smrg
5231.1Smrg## Sun "cgthree" Sbus color framebuffer
5241.1Smrgcgthree0	at sbus? slot ? offset ?
5251.1Smrgcgthree*	at sbus? slot ? offset ?
5261.1Smrg#cgthree0	at obio? slot ? offset ?		# sun4m
5271.1Smrg
5281.1Smrg## Sun "cgfour" color framebuffer with overlay plane.  See above comment
5291.1Smrg## regarding overlay plane.
5301.1Smrg#cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5311.1Smrg#cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5321.1Smrg
5331.1Smrg## Sun "cgsix" accelerated color framebuffer.
5341.1Smrgcgsix0		at sbus? slot ? offset ?
5351.1Smrgcgsix*		at sbus? slot ? offset ?
5361.1Smrg#cgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
5371.1Smrg#cgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
5381.1Smrg
5391.1Smrg## Sun "cgeight" 24-bit framebuffer
5401.1Smrg#cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
5411.1Smrg#cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
5421.1Smrg
5431.1Smrg## Sun "tcx" accelerated color framebuffer.
5441.1Smrgtcx0		at sbus? slot ? offset ?
5451.1Smrgtcx*		at sbus? slot ? offset ?
5461.1Smrg
5471.1Smrg# Sun "cgfourteen" accelerated 24-bit framebuffer.
5481.1Smrgcgfourteen0	at obio0			# sun4m
5491.1Smrg
5501.1Smrg
5511.1Smrg#### Other device configuration
5521.1Smrg
5531.1Smrg## Pseudo ttys, required for network logins and programs like screen.
5541.1Smrg
5551.22Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
5561.1Smrg
5571.1Smrg## Random device, used to implement /dev/random (a source of random noise),
5581.1Smrg## and generate randomness for some kernel formulae.
5591.1Smrg
5601.17Sabs#pseudo-device	rnd
561