GENERIC3X revision 1.62
11.62Sabs# $NetBSD: GENERIC3X,v 1.62 2004/06/26 07:32:09 abs 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.53Stsutsuioptions 	SYSTRACE	# system call vetting via systrace(1)
201.10Sgwroptions 	SYSVMSG		# System V message queues
211.10Sgwroptions 	SYSVSEM		# System V semaphores
221.53Stsutsui#options 	SEMMNI=10	# number of semaphore identifiers
231.53Stsutsui#options 	SEMMNS=60	# number of semaphores in system
241.53Stsutsui#options 	SEMUME=10	# max number of undo entries per process
251.53Stsutsui#options 	SEMMNU=30	# number of undo structures in system
261.10Sgwroptions 	SYSVSHM		# System V shared memory
271.10Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
281.21Sfairoptions 	LKM		# loadable kernel modules
291.10Sgwr#options 	INSECURE	# disable kernel security level
301.52Slukemoptions 	USERCONF	# userconf(4) support
311.48Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
321.1Sjeremy
331.55Swiz# Enable experimental buffer queue strategy for better responsiveness under 
341.54Stsutsui# high disk I/O load. Use it with caution - it's not proven to be stable yet.
351.54Stsutsui#options 	NEW_BUFQ_STRATEGY
361.54Stsutsui
371.10Sgwr# Which kernel debugger?  Uncomment either this:
381.1Sjeremyoptions 	DDB
391.1Sjeremy# ... or these for KGDB (gdb remote target)
401.44Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
411.1Sjeremy#options 	KGDB
421.43Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
431.10Sgwr
441.10Sgwr# Other debugging options
451.14Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
461.10Sgwr#options 	DEBUG		# kernel debugging code
471.10Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
481.10Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
491.10Sgwr#options 	PMAP_DEBUG
501.10Sgwr#options 	SCSIDEBUG
511.9Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
521.1Sjeremy
531.39Swiz# Compatibility options
541.10Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
551.25Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
561.10Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
571.13Sgwroptions 	COMPAT_10	# NetBSD 1.0
581.13Sgwroptions 	COMPAT_11	# NetBSD 1.1
591.10Sgwroptions 	COMPAT_12	# NetBSD 1.2
601.16Skleinkoptions 	COMPAT_13	# NetBSD 1.3
611.26Saugustssoptions 	COMPAT_14	# NetBSD 1.4
621.58Scloptions 	COMPAT_15	# NetBSD 1.5
631.58Scloptions 	COMPAT_16	# NetBSD 1.6
641.38Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
651.23Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
661.38Schsoptions 	EXEC_AOUT	# support for a.out executables
671.40Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
681.10Sgwr
691.1Sjeremy# Filesystem options
701.10Sgwrfile-system	FFS		# Berkeley Fast Filesystem
711.10Sgwrfile-system	NFS		# Sun NFS client support
721.7Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
731.5Sjeremyfile-system	MSDOSFS		# MS-DOS FAT file system
741.7Slukemfile-system	FDESC		# /dev/fd/*
751.7Slukemfile-system	KERNFS		# /kern
761.7Slukemfile-system	NULLFS		# loopback file system
771.29Stsutsuifile-system	OVERLAY		# overlay file system
781.7Slukemfile-system	PROCFS		# /proc
791.7Slukemfile-system	UNION		# union file system
801.7Slukemfile-system	MFS		# memory-based filesystem
811.1Sjeremy
821.1Sjeremyoptions 	NFSSERVER	# nfs server support
831.10Sgwroptions 	QUOTA		# FFS quotas
841.20Sbouyer#options 	FFS_EI		# FFS Endian Independant support
851.44Slukemoptions 	SOFTDEP		# FFS soft updates support.
861.28Stsutsui
871.1Sjeremy# Networking options
881.1Sjeremyoptions 	INET		# IP prototol stack support
891.28Stsutsuioptions 	INET6		# IPV6
901.28Stsutsui#options 	IPSEC		# IP security
911.28Stsutsui#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
921.28Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
931.7Slukem#options 	GATEWAY		# IP packet forwarding
941.10Sgwr#options 	ISO,TPIP	# OSI networking
951.10Sgwr#options 	EON		# OSI tunneling over IP
961.10Sgwr#options 	CCITT,LLC,HDLC	# X.25
971.10Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
981.40Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
991.10Sgwr
1001.62Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1011.62Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1021.62Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1031.62Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1041.62Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1051.62Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1061.62Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1071.62Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1081.62Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1091.62Sabs#options 	ALTQ_RED	# Random Early Detection
1101.62Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1111.62Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1121.62Sabs
1131.10Sgwr# Work-around for root on slow servers (insurance...)
1141.1Sjeremyoptions 	NFS_BOOT_RWSIZE=1024
1151.18Sgwroptions 	NFS_BOOT_BOOTPARAM
1161.1Sjeremy
1171.1Sjeremyconfig		netbsd root on ? type ?
1181.1Sjeremy
1191.18Sgwr# On-board I/O space (required)
1201.18Sgwrinclude "arch/sun3/conf/obio.sun3x"
1211.18Sgwr
1221.18Sgwr# On-board memory (optional)
1231.18Sgwr# See frame-buffers
1241.18Sgwrobmem0 at mainbus?
1251.18Sgwr
1261.18Sgwr# VME bus support (optional)
1271.18Sgwr# One unit for each address space
1281.18Sgwrvme0 at mainbus? # A16/D16
1291.18Sgwrvme1 at mainbus? # A16/D32
1301.18Sgwrvme2 at mainbus? # A24/D16
1311.18Sgwrvme3 at mainbus? # A24/D32
1321.18Sgwrvme4 at mainbus? # A32/D16
1331.18Sgwrvme5 at mainbus? # A32/D32
1341.18Sgwr
1351.1Sjeremy#
1361.1Sjeremy# Serial ports
1371.1Sjeremy#
1381.11Sgwrzstty0	at zsc1 channel 0	# ttya
1391.11Sgwrzstty1	at zsc1 channel 1	# ttyb
1401.1Sjeremy
1411.11Sgwrkbd0	at zsc0 channel 0	# keyboard
1421.11Sgwrms0	at zsc0 channel 1	# mouse
1431.1Sjeremy
1441.1Sjeremy#
1451.1Sjeremy# Network devices
1461.1Sjeremy#
1471.10Sgwr
1481.18Sgwr# Intel Ethernet (onboard, or VME)
1491.10Sgwrie0 at obio0 addr 0x65000000 ipl 3
1501.44Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1511.1Sjeremy
1521.1Sjeremy# Lance Ethernet (only onboard)
1531.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3
1541.1Sjeremy
1551.1Sjeremy#
1561.1Sjeremy# Disk and tape devices
1571.1Sjeremy#
1581.1Sjeremy
1591.11Sgwr# Emulex SCSI (3/80 only)
1601.24Sgwr# Both `dma' and `esp' are needed.
1611.24Sgwr# The following flags may be set for the NCR53c94 based esp driver:
1621.6Sgwr#	bits 0-7:  disable disconnect/reselect for the corresponding target
1631.24Sgwr#	bits 8-15: disable synchronous negotiation for target [bit-8]
1641.6Sgwr#
1651.24Sgwrdma0 at obio0 addr 0x66001000 ipl 2
1661.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
1671.5Sjeremy
1681.5Sjeremy# Floppy drive
1691.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
1701.44Slukemfd0	at fdc0	# First (and only) floppy drive.
1711.12Sgwr
1721.12Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1731.12Sgwr# This driver has several flags which may be enabled using
1741.12Sgwr# the "flags" directive.  Valid flags are:
1751.12Sgwr#
1761.12Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1771.12Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1781.12Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1791.12Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1801.12Sgwr#
1811.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1821.12Sgwr# and disable disconnect/reselect for targets 0-3
1831.44Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1841.44Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1851.18Sgwr
1861.18Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1871.18Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1881.18Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1891.18Sgwrxy* at xyc? drive ?
1901.18Sgwr
1911.18Sgwr# Xylogics 7053 controllers (VME A16/D32)
1921.18Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1931.18Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1941.18Sgwrxd* at xdc? drive ?
1951.18Sgwr
1961.18Sgwr# Xylogics 472 tape controllers?
1971.1Sjeremy
1981.1Sjeremy#
1991.1Sjeremy# Frame buffer devices
2001.1Sjeremy#
2011.1Sjeremy
2021.19Sgwr# P4 Monochrome frame buffer.
2031.44Slukembwtwo0	at obmem0 addr 0x50300000
2041.19Sgwr
2051.19Sgwr# P4 8-bit color frame buffer
2061.19Sgwrcgfour0 at obmem0 addr 0x50300000
2071.19Sgwr
2081.19Sgwr# P4 accelerated 8-bit color frame buffer
2091.23Sgwr# cgsix0 at obmem0 addr 0x50000000
2101.19Sgwr
2111.19Sgwr# P4 24-bit color frame buffer
2121.19Sgwr# cgeight0 at obmem0 addr 0x50300000
2131.19Sgwr
2141.19Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
2151.19Sgwr# This driver is going to need work in its mmap function.
2161.19Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
2171.19Sgwr
2181.19Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
2191.19Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
2201.1Sjeremy
2211.1Sjeremy#
2221.1Sjeremy# SCSI infrastructure
2231.1Sjeremy#
2241.1Sjeremyscsibus* at scsi?
2251.1Sjeremy
2261.1Sjeremysd* at scsibus? target ? lun ?		# SCSI disks
2271.1Sjeremyst* at scsibus? target ? lun ?		# SCSI tapes
2281.1Sjeremycd* at scsibus? target ? lun ?		# SCSI CD-ROMs
2291.1Sjeremych* at scsibus? target ? lun ?		# SCSI changer devices
2301.1Sjeremyss* at scsibus? target ? lun ?		# SCSI scanners
2311.1Sjeremyuk* at scsibus? target ? lun ?		# unknown SCSI devices
2321.1Sjeremy
2331.1Sjeremy# Memory-disk drivers
2341.7Slukempseudo-device	md		2
2351.1Sjeremy
2361.1Sjeremy# Misc.
2371.7Slukempseudo-device	loop		1	# network loopback
2381.7Slukempseudo-device	bpfilter	8	# packet filter
2391.7Slukempseudo-device	sl		2	# CSLIP
2401.7Slukempseudo-device	ppp		2	# PPP
2411.46Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2421.7Slukempseudo-device	tun		2	# network tunneling over tty
2431.23Sgwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2441.1Sjeremy#pseudo-device	ipfilter		# ip filter
2451.28Stsutsuipseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2461.28Stsutsui#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2471.31Stsutsui#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2481.36Stsutsuipseudo-device	vlan			# IEEE 802.1q encapsulation
2491.45Satatatpseudo-device	bridge			# simple inter-network bridging
2501.57Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2511.34Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2521.1Sjeremy
2531.33Sjdolecekpseudo-device	pty			# pseudo-terminals
2541.30Stsutsuipseudo-device	vnd		4	# paging to files
2551.7Slukem#pseudo-device	ccd		4	# concatenated disks
2561.54Stsutsui#pseudo-device	cgd		4	# cryptographic disk devices
2571.23Sgwr#pseudo-device	raid		4	# RAIDframe disk driver
2581.29Stsutsui#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2591.47Soster# Options to enable various other RAIDframe RAID types.
2601.47Soster# options	RF_INCLUDE_EVENODD=1
2611.47Soster# options	RF_INCLUDE_RAID5_RS=1
2621.47Soster# options	RF_INCLUDE_PARITYLOGGING=1
2631.47Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2641.47Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2651.47Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2661.47Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2671.51Slukempseudo-device	clockctl		# user control of clock subsystem
2681.57Stsutsuipseudo-device	ksyms			# /dev/ksyms
2691.61Sitojun#pseudo-device	pf			# PF packet filter
2701.61Sitojun#pseudo-device	pflog			# PF log if
271