GENERIC revision 1.51
11.51Spk# 	$NetBSD: GENERIC,v 1.51 1997/10/20 18:05:21 pk Exp $
21.1Sderaadt
31.32Smrginclude "arch/sparc/conf/std.sparc"
41.45Spk
51.45Spkmaxusers	32
61.32Smrg
71.24Sthorpej# Options for variants of the Sun SPARC architecure.
81.24Sthorpej# At least one is required.
91.43Slukemoptions 	SUN4		# sun4/100, sun4/200, sun4/300
101.43Slukemoptions 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
111.43Slukemoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
121.24Sthorpej
131.43Slukem#options 	MMU_3L		# 3-level MMU on sun4/400; (incomplete)
141.1Sderaadt
151.1Sderaadt# Standard system options
161.43Slukemoptions 	KTRACE		# system call tracing
171.43Slukemoptions 	SYSVMSG		# System V message queues
181.43Slukemoptions 	SYSVSEM		# System V semaphores
191.43Slukemoptions 	SYSVSHM		# System V shared memory
201.43Slukem#options 	SHMMAXPGS=1024	# 1024 pages is the default
211.43Slukemoptions 	LKM		# loadable kernel modules
221.43Slukem#options 	INSECURE	# disable kernel security level
231.43Slukem#options 	UCONSOLE	# allow anyone to steal the virtual console
241.24Sthorpej
251.24Sthorpej# Debugging options
261.37Smrg#options 	DDB		# kernel dynamic debugger
271.37Smrg#options 	DEBUG		# kernel debugging code
281.37Smrg#options 	DIAGNOSTIC	# extra kernel sanity checking
291.37Smrg#options 	KGDB		# support for kernel gdb
301.37Smrg#options 	KGDBDEV=0xc01	# kgdb device number (dev_t)
311.37Smrg#options 	KGDBRATE=38400	# baud rate
321.48Smjacob#options 	SCSIVERBOSE	# Verbose SCSI errors
331.24Sthorpej
341.24Sthorpej# Compatibility options
351.43Slukemoptions 	COMPAT_43	# 4.3BSD system interfaces
361.43Slukemoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
371.43Slukemoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
381.43Slukemoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
391.43Slukemoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
401.43Slukemoptions 	COMPAT_SVR4	# SunOS 5.x binary compatibility
411.43Slukemoptions 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.
421.1Sderaadt
431.1Sderaadt# Filesystem options
441.43Slukemfile-system	FFS		# Berkeley Fast Filesystem
451.43Slukemfile-system	NFS		# Sun NFS-compatible filesystem client
461.43Slukemfile-system	KERNFS		# kernel data-structure filesystem
471.43Slukemfile-system	NULLFS		# NULL layered filesystem
481.43Slukemfile-system	MFS		# memory-based filesystem
491.43Slukemfile-system	FDESC		# user file descriptor filesystem
501.43Slukemfile-system	UMAPFS		# uid/gid remapping filesystem
511.43Slukemfile-system	LFS		# Log-based filesystem (still experimental)
521.43Slukemfile-system	PORTAL		# portal filesystem (still experimental)
531.43Slukemfile-system	PROCFS		# /proc
541.43Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
551.43Slukemfile-system	UNION		# union file system
561.43Slukemfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
571.43Slukem
581.43Slukemoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
591.43Slukemoptions 	QUOTA		# FFS quotas
601.43Slukemoptions 	FIFO		# POSIX fifo support (in all filesystems)
611.1Sderaadt
621.1Sderaadt# Networking options
631.43Slukemoptions 	INET		# IP stack
641.43Slukemoptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
651.43Slukem#options 	GATEWAY		# IP packet forwarding
661.43Slukem#options 	ISO,TPIP	# OSI networking
671.43Slukem#options 	EON		# OSI tunneling over IP
681.43Slukem#options 	CCITT,LLC,HDLC	# X.25
691.37Smrg#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
701.1Sderaadt
711.1Sderaadt# Options for SPARCstation hardware
721.43Slukemoptions 	RASTERCONSOLE	# fast rasterop console
731.49Smrg#options 	BLINK		# blink the led on supported machines
741.1Sderaadt
751.24Sthorpej# Generic swap; second partition of root disk or network.
761.40Sthorpejconfig		netbsd	root on ? type ?
771.1Sderaadt
781.24Sthorpej# Main bus and CPU .. all systems.
791.1Sderaadtmainbus0 at root
801.1Sderaadtcpu0	at mainbus0
811.1Sderaadt
821.24Sthorpej# Bus types found on SPARC systems.
831.24Sthorpejsbus0	at mainbus0				# sun4c
841.24Sthorpejobio0	at mainbus0				# sun4 and sun4m
851.24Sthorpejvmes0	at mainbus0				# sun4
861.24Sthorpejvmel0	at mainbus0				# sun4
871.22Spkiommu0	at mainbus0				# sun4m
881.22Spksbus0	at iommu0				# sun4m
891.1Sderaadt
901.46Saugustssaudioamd0	at mainbus0				# sun4c
911.46Saugustssaudio*	at audioamd0
921.46Saugustssaudioamd0	at obio0				# sun4m
931.46Saugustssaudio*	at audioamd0
941.46Saugustssaudioamd0	at sbus0 slot ? offset ?		# sun4m
951.46Saugustssaudio*	at audioamd0
961.24Sthorpej
971.24Sthorpejauxreg0	at mainbus0				# sun4c
981.22Spkauxreg0	at obio0				# sun4m
991.27Sabrown
1001.27Sabrown# Power status and control register found on Sun4m systems
1011.27Sabrownpower0	at obio0
1021.24Sthorpej
1031.24Sthorpej# Mostek clock found on 4/300, sun4c, and sun4m systems.
1041.24Sthorpej# The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
1051.24Sthorpejclock0	at mainbus0				# sun4c
1061.22Spkclock0	at obio0				# sun4m
1071.24Sthorpejclock0	at obio0 addr 0xf2000000		# sun4/300
1081.24Sthorpej
1091.24Sthorpej# Intersil clock found on 4/100 and 4/200 systems.
1101.24Sthorpejoclock0	at obio0 addr 0xf3000000		# sun4/200
1111.24Sthorpejoclock0	at obio0 addr 0x03000000		# sun4/100
1121.24Sthorpej
1131.24Sthorpej# Memory error registers.
1141.24Sthorpejmemreg0	at mainbus0				# sun4c
1151.22Spkmemreg0	at obio0				# sun4m
1161.24Sthorpejmemreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
1171.24Sthorpejmemreg0	at obio0 addr 0x04000000		# sun4/100
1181.24Sthorpej
1191.24Sthorpej# Timer chip found on 4/300, sun4c, and sun4m systems.
1201.24Sthorpejtimer0	at mainbus0				# sun4c
1211.22Spktimer0	at obio0				# sun4m
1221.24Sthorpejtimer0	at obio0 addr 0xef000000		# sun4/300
1231.24Sthorpej
1241.24Sthorpej# EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
1251.24Sthorpej# doesn't use this driver; the `EEPROM' is in the NVRAM on the
1261.24Sthorpej# Mostek clock chip on 4/300 systems.
1271.24Sthorpejeeprom0	at obio0 addr 0xf2000000		# sun4/200
1281.24Sthorpejeeprom0	at obio0 addr 0x02000000		# sun4/100
1291.24Sthorpej
1301.24Sthorpej# Zilog 8530 serial chips.  Each has two-channels.
1311.24Sthorpej# zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
1321.24Sthorpejzs0	at mainbus0					# sun4c
1331.24Sthorpejzs0	at obio0					# sun4m
1341.24Sthorpejzs0	at obio0 addr 0xf1000000 level 12 flags 0x103	# sun4/200 and sun4/300
1351.24Sthorpejzs0	at obio0 addr 0x01000000 level 12 flags 0x103	# sun4/100
1361.50Sgwrzstty0	at zs0 channel 0	# ttya
1371.50Sgwrzstty1	at zs0 channel 1	# ttyb
1381.50Sgwr
1391.24Sthorpejzs1	at mainbus0					# sun4c
1401.24Sthorpejzs1	at obio0					# sun4m
1411.24Sthorpejzs1	at obio0 addr 0xf0000000 level 12 flags 0x103	# sun4/200 and sun4/300
1421.24Sthorpejzs1	at obio0 addr 0x00000000 level 12 flags 0x103	# sun4/100
1431.50Sgwrkbd0	at zs1 channel 0	# keyboard
1441.50Sgwrms0	at zs1 channel 1	# mouse
1451.50Sgwr
1461.24Sthorpejzs2	at obio0 addr 0xe0000000 level 12 flags 0x103	# sun4/300
1471.50Sgwrzstty2	at zs2 channel 0	# ttyc
1481.50Sgwrzstty3	at zs2 channel 1	# ttyd
1491.24Sthorpej
1501.26Spk#
1511.26Spk# Note the flags on the esp entries below, that work around
1521.26Spk# deficiencies in the current driver:
1531.26Spk#	bits 0-7:  disable disconnect/reselect for the corresponding target
1541.28Spk#	bits 8-15: disable synch negotiation for target [bit-8]
1551.30Spk#	Note: targets 4-7 have disconnect/reselect enabled on the premise
1561.30Spk#	      that tape devices normally have one of these targets. Tape
1571.30Spk#	      devices should be allowed to disconnect for the SCSI bus
1581.30Spk#	      to operate acceptably.
1591.26Spk#
1601.26Spk
1611.25Spk# sun4/300 SCSI - an NCR53c94 or equivalent behind
1621.24Sthorpej# an LSI Logic DMA controller
1631.24Sthorpejdma0	at obio0 addr 0xfa001000 level 4		# sun4/300
1641.51Spkesp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	#
1651.1Sderaadt
1661.28Spk# sun4c or sun4m SCSI - an NCR53c94 or equivalent behind
1671.28Spk# specialized DMA glue
1681.28Spkdma0	at sbus0 slot ? offset ?			# on-board SCSI
1691.51Spkesp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
1701.51Spkesp0	at dma0 flags 0x0000				# sun4m
1711.24Sthorpej
1721.28Spk# FSBE/S SCSI - an NCR53c94 or equivalent behind
1731.25Spkdma*	at sbus? slot ? offset ?			# SBus SCSI
1741.51Spkesp*	at sbus? slot ? offset ? flags 0x0000		# two flavours
1751.51Spkesp*	at dma? flags 0x0000				# depending on model
1761.24Sthorpej
1771.42Scgd# Qlogic ISP SBus SCSI Card
1781.42Scgdisp*	at sbus? slot ? offset ?
1791.42Scgd
1801.24Sthorpej# sun4m Ethernet - an AMD 7990 LANCE behind
1811.24Sthorpej# specialized DMA glue
1821.24Sthorpejledma0	at sbus0 slot ? offset ?			# sun4m on-board
1831.25Spkle0	at ledma0					#
1841.25Spk
1851.36Spk# Additional SBus LANCE devices - glued on by lebuffer
1861.36Spklebuffer0	at sbus0 slot ? offset ?		# sun4m SBus
1871.36Spklebuffer*	at sbus? slot ? offset ?		# sun4m SBus
1881.36Spkle0	at lebuffer0					#
1891.36Spkle*	at lebuffer?					#
1901.24Sthorpej
1911.24Sthorpej# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE
1921.24Sthorpejle0	at sbus0 slot ? offset ?			# sun4c on-board
1931.1Sderaadtle*	at sbus? slot ? offset ?
1941.1Sderaadt
1951.24Sthorpejle0	at obio0 addr 0xf9000000 level 6		# sun4/300
1961.24Sthorpej
1971.24Sthorpej# sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
1981.24Sthorpej# or on a Multibus/VME card.
1991.24Sthorpejie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
2001.24Sthorpejie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
2011.23Spk
2021.3Sderaadtie1	at vmes0 addr 0xffe88000 level 5 vect 0x75
2031.44Spkie2	at vmel0 addr 0xff31ff02 level 5 vect 0x76
2041.44Spkie3	at vmel0 addr 0xff35ff02 level 5 vect 0x77
2051.44Spkie4	at vmel0 addr 0xff2dff02 level 5 vect 0x7c
2061.9Spk
2071.24Sthorpej# Xylogics 753 or 7053 VME SMD disk controllers and disks, found
2081.24Sthorpej# on sun4 systems.
2091.9Spkxdc0	at vmel0 addr 0xffffee80 level 3 vect 0x44
2101.9Spkxdc1	at vmel0 addr 0xffffee90 level 3 vect 0x45
2111.9Spkxdc2	at vmel0 addr 0xffffeea0 level 3 vect 0x46
2121.9Spkxdc3	at vmel0 addr 0xffffeeb0 level 3 vect 0x47
2131.9Spkxd*	at xdc? drive ?
2141.16Schuck
2151.24Sthorpej# Xylogics 451 or 451 VME SMD disk controllers and disks, found
2161.24Sthorpej# on sun4 systems.
2171.16Schuckxyc0	at vmes0 addr 0xffffee40 level 3 vect 0x48
2181.16Schuckxyc1	at vmes0 addr 0xffffee48 level 3 vect 0x49
2191.16Schuckxy*	at xyc? drive ?
2201.10Spk
2211.24Sthorpej# NCR5380-based "Sun SCSI 3" VME SCSI controller.
2221.24Sthorpej# This driver has several flags which may be enabled by OR'ing
2231.24Sthorpej# the values and using the "flags" directive.
2241.24Sthorpej# Valid flags are:
2251.24Sthorpej#
2261.24Sthorpej#	0x01		Use DMA (may be polled)
2271.24Sthorpej#	0x02		Use DMA completion interrupts
2281.24Sthorpej#	0x04		Allow disconnect/reselect
2291.24Sthorpej#
2301.24Sthorpej# E.g. the following would enable DMA, interrupts, and reselect:
2311.24Sthorpej# si0	at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x07
2321.24Sthorpej#
2331.24Sthorpej# By default, DMA is enabled in the driver.
2341.20Sthorpejsi0	at vmes0 addr 0xff200000 level 3 vect 0x40
2351.24Sthorpej
2361.24Sthorpej# NCR5380-based "SCSI Weird" on-board SCSI interface found
2371.24Sthorpej# on sun4/100 systems.  The flags are the same as the "si"
2381.24Sthorpej# controller.  Note, while DMA is enabled by default, only
2391.24Sthorpej# polled DMA works at this time, and reselects do not work
2401.24Sthorpej# on this particular controller.
2411.20Sthorpejsw0	at obio0 addr 0x0a000000 level 3
2421.1Sderaadt
2431.24Sthorpej# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
2441.24Sthorpej# systems.  If your sun4 system has a cgfour installed in the P4 slot,
2451.24Sthorpej# the P4 entries for "bwtwo" will attach to the overlay plane of the
2461.24Sthorpej# "cgfour".
2471.24Sthorpejbwtwo0	at sbus0 slot ? offset ?		# sun4c on-board
2481.24Sthorpejbwtwo*	at sbus? slot ? offset ?		# sun4c and sun4m
2491.24Sthorpejbwtwo0	at obio0 addr 0xfd000000 level 4	# sun4/200
2501.24Sthorpejbwtwo0	at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
2511.24Sthorpejbwtwo0	at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
2521.21Sthorpej
2531.24Sthorpej# Sun "cgtwo" VME color framebuffer
2541.17Spkcgtwo0	at vmes0 addr 0xff400000 level 4 vect 0xa8
2551.21Sthorpej
2561.24Sthorpej# Sun "cgthree" Sbus color framebuffer
2571.1Sderaadtcgthree0 at sbus? slot ? offset ?
2581.1Sderaadtcgthree* at sbus? slot ? offset ?
2591.22Spk#cgthree0 at obio? slot ? offset ?		# sun4m
2601.22Spk#cgthree* at obio? slot ? offset ?		# sun4m
2611.21Sthorpej
2621.24Sthorpej# Sun "cgfour" color framebuffer with overlay plane.  See above comment
2631.24Sthorpej# regarding overlay plane.
2641.24Sthorpejcgfour0	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
2651.24Sthorpejcgfour0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
2661.21Sthorpej
2671.24Sthorpej# Sun "cgsix" accelerated color framebuffer.
2681.21Sthorpejcgsix0	at sbus? slot ? offset ?
2691.21Sthorpejcgsix*	at sbus? slot ? offset ?
2701.24Sthorpejcgsix0	at obio0 addr 0xfb000000 level 4	# sun4/300 P4
2711.24Sthorpejcgsix0	at obio0 addr 0x0b000000 level 4	# sun4/100 P4
2721.21Sthorpej
2731.24Sthorpej# Sun "cgeight" 24-bit framebuffer
2741.24Sthorpejcgeight0 at obio0 addr 0xfb300000 level 4	# sun4/300 P4
2751.24Sthorpejcgeight0 at obio0 addr 0x0b300000 level 4	# sun4/100 P4
2761.29Spk
2771.29Spk# Sun "tcx" accelerated color framebuffer.
2781.29Spktcx0	at sbus? slot ? offset ?
2791.29Spktcx*	at sbus? slot ? offset ?
2801.33Sabrown
2811.33Sabrown# Sun "cgfourteen" accelerated 24-bit framebuffer.
2821.33Sabrowncgfourteen0	at obio0			# sun4m
2831.1Sderaadt
2841.24Sthorpej# SCSI bus layer.  SCSI devices attach to the SCSI bus, which attaches
2851.24Sthorpej# to the underlying hardware controller.
2861.1Sderaadtscsibus* at esp?
2871.42Scgdscsibus* at isp?
2881.13Spkscsibus* at si?
2891.13Spkscsibus* at sw?
2901.1Sderaadt
2911.24Sthorpej# These entries find devices on all SCSI busses and assign
2921.34Spk# unit numbers dynamically.
2931.24Sthorpejsd*	at scsibus? target ? lun ?		# SCSI disks
2941.24Sthorpejst*	at scsibus? target ? lun ?		# SCSI tapes
2951.24Sthorpejcd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
2961.24Sthorpejch*	at scsibus? target ? lun ?		# SCSI changer devices
2971.24Sthorpej
2981.24Sthorpej# Floppy controller and drive found on SPARCstations.
2991.24Sthorpejfdc0	at mainbus0				# sun4c controller
3001.24Sthorpejfdc0	at obio0				# sun4m controller
3011.24Sthorpejfd*	at fdc0					# the drive itself
3021.24Sthorpej
3031.43Slukempseudo-device	loop			# loopback interface; required
3041.43Slukempseudo-device	pty		32	# pseudo-ttys (for network, etc.)
3051.43Slukempseudo-device	sl		2	# SLIP interfaces
3061.43Slukempseudo-device	ppp		2	# PPP interfaces
3071.43Slukempseudo-device	tun		4	# Network "tunnel" device
3081.43Slukempseudo-device	bpfilter	16	# Berkeley Packet Filter
3091.43Slukempseudo-device	vnd		4	# disk-like interface to files
3101.43Slukempseudo-device	ccd		4	# concatenated and striped disks
3111.43Slukem#pseudo-device	strip		1	# radio clock
3121.43Slukem#pseudo-device	ipfilter		# ip filter
313