GENERIC3X revision 1.50
11.50Satatat# $NetBSD: GENERIC3X,v 1.50 2002/04/25 15:06:39 atatat Exp $
21.11Sgwr
31.18Sgwr# GENERIC Sun3X (3/80, 3/470)
41.18Sgwr# Supports root on: ie0, le0, sd*, ...
51.1Sjeremy
61.19Sgwrinclude "arch/sun3/conf/std.sun3x"
71.50Satatat
81.50Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sjeremy
101.19Sgwr# Machines to be supported by this kernel
111.19Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
121.18Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
131.1Sjeremy
141.1Sjeremy# Needs to be set per system.  i.e change these as you see fit
151.1Sjeremymaxusers	4
161.1Sjeremy
171.1Sjeremy# Standard system options
181.10Sgwroptions 	KTRACE		# system call tracing
191.10Sgwroptions 	SYSVMSG		# System V message queues
201.10Sgwroptions 	SYSVSEM		# System V semaphores
211.10Sgwroptions 	SYSVSHM		# System V shared memory
221.10Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
231.21Sfairoptions 	LKM		# loadable kernel modules
241.10Sgwr#options 	INSECURE	# disable kernel security level
251.10Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
261.49Sgmcgarry#options 	USERCONF	# userconf(4) support
271.48Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
281.1Sjeremy
291.10Sgwr# Which kernel debugger?  Uncomment either this:
301.1Sjeremyoptions 	DDB
311.1Sjeremy# ... or these for KGDB (gdb remote target)
321.44Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
331.1Sjeremy#options 	KGDB
341.43Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
351.10Sgwr
361.10Sgwr# Other debugging options
371.14Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
381.10Sgwr#options 	DEBUG		# kernel debugging code
391.10Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
401.10Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
411.10Sgwr#options 	PMAP_DEBUG
421.10Sgwr#options 	SCSIDEBUG
431.9Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
441.1Sjeremy
451.39Swiz# Compatibility options
461.10Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
471.25Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
481.10Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
491.13Sgwroptions 	COMPAT_10	# NetBSD 1.0
501.13Sgwroptions 	COMPAT_11	# NetBSD 1.1
511.10Sgwroptions 	COMPAT_12	# NetBSD 1.2
521.16Skleinkoptions 	COMPAT_13	# NetBSD 1.3
531.26Saugustssoptions 	COMPAT_14	# NetBSD 1.4
541.38Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
551.23Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
561.38Schsoptions 	EXEC_AOUT	# support for a.out executables
571.40Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
581.10Sgwr
591.1Sjeremy# Filesystem options
601.10Sgwrfile-system	FFS		# Berkeley Fast Filesystem
611.10Sgwrfile-system	NFS		# Sun NFS client support
621.7Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
631.5Sjeremyfile-system	MSDOSFS		# MS-DOS FAT file system
641.7Slukemfile-system	FDESC		# /dev/fd/*
651.7Slukemfile-system	KERNFS		# /kern
661.7Slukemfile-system	NULLFS		# loopback file system
671.29Stsutsuifile-system	OVERLAY		# overlay file system
681.7Slukemfile-system	PROCFS		# /proc
691.7Slukemfile-system	UNION		# union file system
701.7Slukemfile-system	MFS		# memory-based filesystem
711.1Sjeremy
721.1Sjeremyoptions 	NFSSERVER	# nfs server support
731.10Sgwroptions 	QUOTA		# FFS quotas
741.20Sbouyer#options 	FFS_EI		# FFS Endian Independant support
751.44Slukemoptions 	SOFTDEP		# FFS soft updates support.
761.28Stsutsui
771.1Sjeremy# Networking options
781.1Sjeremyoptions 	INET		# IP prototol stack support
791.28Stsutsuioptions 	INET6		# IPV6
801.28Stsutsui#options 	IPSEC		# IP security
811.28Stsutsui#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
821.28Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
831.7Slukem#options 	GATEWAY		# IP packet forwarding
841.10Sgwr#options 	ISO,TPIP	# OSI networking
851.10Sgwr#options 	EON		# OSI tunneling over IP
861.10Sgwr#options 	CCITT,LLC,HDLC	# X.25
871.10Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
881.40Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
891.10Sgwr
901.10Sgwr# Work-around for root on slow servers (insurance...)
911.1Sjeremyoptions 	NFS_BOOT_RWSIZE=1024
921.18Sgwroptions 	NFS_BOOT_BOOTPARAM
931.1Sjeremy
941.1Sjeremyconfig		netbsd root on ? type ?
951.1Sjeremy
961.18Sgwr# On-board I/O space (required)
971.18Sgwrinclude "arch/sun3/conf/obio.sun3x"
981.18Sgwr
991.18Sgwr# On-board memory (optional)
1001.18Sgwr# See frame-buffers
1011.18Sgwrobmem0 at mainbus?
1021.18Sgwr
1031.18Sgwr# VME bus support (optional)
1041.18Sgwr# One unit for each address space
1051.18Sgwrvme0 at mainbus? # A16/D16
1061.18Sgwrvme1 at mainbus? # A16/D32
1071.18Sgwrvme2 at mainbus? # A24/D16
1081.18Sgwrvme3 at mainbus? # A24/D32
1091.18Sgwrvme4 at mainbus? # A32/D16
1101.18Sgwrvme5 at mainbus? # A32/D32
1111.18Sgwr
1121.1Sjeremy#
1131.1Sjeremy# Serial ports
1141.1Sjeremy#
1151.11Sgwrzstty0	at zsc1 channel 0	# ttya
1161.11Sgwrzstty1	at zsc1 channel 1	# ttyb
1171.1Sjeremy
1181.11Sgwrkbd0	at zsc0 channel 0	# keyboard
1191.11Sgwrms0	at zsc0 channel 1	# mouse
1201.1Sjeremy
1211.1Sjeremy#
1221.1Sjeremy# Network devices
1231.1Sjeremy#
1241.10Sgwr
1251.18Sgwr# Intel Ethernet (onboard, or VME)
1261.10Sgwrie0 at obio0 addr 0x65000000 ipl 3
1271.44Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1281.1Sjeremy
1291.1Sjeremy# Lance Ethernet (only onboard)
1301.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3
1311.1Sjeremy
1321.1Sjeremy#
1331.1Sjeremy# Disk and tape devices
1341.1Sjeremy#
1351.1Sjeremy
1361.11Sgwr# Emulex SCSI (3/80 only)
1371.24Sgwr# Both `dma' and `esp' are needed.
1381.24Sgwr# The following flags may be set for the NCR53c94 based esp driver:
1391.6Sgwr#	bits 0-7:  disable disconnect/reselect for the corresponding target
1401.24Sgwr#	bits 8-15: disable synchronous negotiation for target [bit-8]
1411.6Sgwr#
1421.24Sgwrdma0 at obio0 addr 0x66001000 ipl 2
1431.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
1441.5Sjeremy
1451.5Sjeremy# Floppy drive
1461.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
1471.44Slukemfd0	at fdc0	# First (and only) floppy drive.
1481.12Sgwr
1491.12Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1501.12Sgwr# This driver has several flags which may be enabled using
1511.12Sgwr# the "flags" directive.  Valid flags are:
1521.12Sgwr#
1531.12Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1541.12Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1551.12Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1561.12Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1571.12Sgwr#
1581.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1591.12Sgwr# and disable disconnect/reselect for targets 0-3
1601.44Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1611.44Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1621.18Sgwr
1631.18Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1641.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1651.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1661.18Sgwrxy* at xyc? drive ?
1671.18Sgwr
1681.18Sgwr# Xylogics 7053 controllers (VME A16/D32)
1691.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1701.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1711.18Sgwrxd* at xdc? drive ?
1721.18Sgwr
1731.18Sgwr# Xylogics 472 tape controllers?
1741.1Sjeremy
1751.1Sjeremy#
1761.1Sjeremy# Frame buffer devices
1771.1Sjeremy#
1781.1Sjeremy
1791.19Sgwr# P4 Monochrome frame buffer.
1801.44Slukembwtwo0	at obmem0 addr 0x50300000
1811.19Sgwr
1821.19Sgwr# P4 8-bit color frame buffer
1831.19Sgwrcgfour0 at obmem0 addr 0x50300000
1841.19Sgwr
1851.19Sgwr# P4 accelerated 8-bit color frame buffer
1861.23Sgwr# cgsix0 at obmem0 addr 0x50000000
1871.19Sgwr
1881.19Sgwr# P4 24-bit color frame buffer
1891.19Sgwr# cgeight0 at obmem0 addr 0x50300000
1901.19Sgwr
1911.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1921.19Sgwr# This driver is going to need work in its mmap function.
1931.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1941.19Sgwr
1951.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1961.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1971.1Sjeremy
1981.1Sjeremy#
1991.1Sjeremy# SCSI infrastructure
2001.1Sjeremy#
2011.1Sjeremyscsibus* at scsi?
2021.1Sjeremy
2031.1Sjeremysd* at scsibus? target ? lun ?		# SCSI disks
2041.1Sjeremyst* at scsibus? target ? lun ?		# SCSI tapes
2051.1Sjeremycd* at scsibus? target ? lun ?		# SCSI CD-ROMs
2061.1Sjeremych* at scsibus? target ? lun ?		# SCSI changer devices
2071.1Sjeremyss* at scsibus? target ? lun ?		# SCSI scanners
2081.1Sjeremyuk* at scsibus? target ? lun ?		# unknown SCSI devices
2091.1Sjeremy
2101.1Sjeremy# Memory-disk drivers
2111.7Slukempseudo-device	md		2
2121.1Sjeremy
2131.1Sjeremy# Misc.
2141.7Slukempseudo-device	loop		1	# network loopback
2151.7Slukempseudo-device	bpfilter	8	# packet filter
2161.7Slukempseudo-device	sl		2	# CSLIP
2171.7Slukempseudo-device	ppp		2	# PPP
2181.46Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2191.7Slukempseudo-device	tun		2	# network tunneling over tty
2201.23Sgwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2211.1Sjeremy#pseudo-device	ipfilter		# ip filter
2221.28Stsutsuipseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2231.28Stsutsui#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2241.31Stsutsui#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2251.36Stsutsuipseudo-device	vlan			# IEEE 802.1q encapsulation
2261.45Satatatpseudo-device	bridge			# simple inter-network bridging
2271.34Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2281.1Sjeremy
2291.33Sjdolecekpseudo-device	pty			# pseudo-terminals
2301.30Stsutsuipseudo-device	vnd		4	# paging to files
2311.7Slukem#pseudo-device	ccd		4	# concatenated disks
2321.23Sgwr#pseudo-device	raid		4	# RAIDframe disk driver
2331.29Stsutsui#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2341.47Soster# Options to enable various other RAIDframe RAID types.
2351.47Soster# options	RF_INCLUDE_EVENODD=1
2361.47Soster# options	RF_INCLUDE_RAID5_RS=1
2371.47Soster# options	RF_INCLUDE_PARITYLOGGING=1
2381.47Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2391.47Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2401.47Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2411.47Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
242