GENERIC3X revision 1.12
11.12Sgwr# $NetBSD: GENERIC3X,v 1.12 1997/10/16 17:20:41 gwr Exp $
21.11Sgwr
31.1Sjeremy# GENERIC Sun3x (3/80, 3/470)
41.1Sjeremy# Supports root on: le0, sd*
51.1Sjeremy
61.1Sjeremyinclude "arch/sun3x/conf/std.sun3x"
71.1Sjeremy
81.1Sjeremy# Machines to be supported by this kernel
91.11Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
101.1Sjeremy
111.1Sjeremy# Needs to be set per system.  i.e change these as you see fit
121.1Sjeremymaxusers	4
131.1Sjeremy
141.1Sjeremy# Standard system options
151.10Sgwroptions 	KTRACE		# system call tracing
161.10Sgwroptions 	SYSVMSG		# System V message queues
171.10Sgwroptions 	SYSVSEM		# System V semaphores
181.10Sgwroptions 	SYSVSHM		# System V shared memory
191.10Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
201.10Sgwr#options 	LKM		# loadable kernel modules
211.10Sgwr#options 	INSECURE	# disable kernel security level
221.10Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
231.1Sjeremy
241.10Sgwr# Which kernel debugger?  Uncomment either this:
251.1Sjeremyoptions 	DDB
261.1Sjeremy# ... or these for KGDB (gdb remote target)
271.1Sjeremy#makeoptions DEBUG="-g"		# debugging symbols for gdb
281.1Sjeremy#options 	KGDB
291.1Sjeremy#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
301.10Sgwr
311.10Sgwr# Other debugging options
321.10Sgwr#options 	DEBUG		# kernel debugging code
331.10Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
341.10Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
351.10Sgwr#options 	PMAP_DEBUG
361.10Sgwr#options 	SCSIDEBUG
371.9Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
381.1Sjeremy
391.10Sgwr# Compatability options
401.10Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
411.10Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
421.10Sgwroptions 	COMPAT_12	# NetBSD 1.2
431.10Sgwr
441.1Sjeremy# Filesystem options
451.10Sgwrfile-system	FFS		# Berkeley Fast Filesystem
461.10Sgwrfile-system	NFS		# Sun NFS client support
471.7Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
481.5Sjeremyfile-system	MSDOSFS		# MS-DOS FAT file system
491.7Slukemfile-system	FDESC		# /dev/fd/*
501.7Slukemfile-system	KERNFS		# /kern
511.7Slukemfile-system	NULLFS		# loopback file system
521.7Slukemfile-system	PROCFS		# /proc
531.7Slukemfile-system	UNION		# union file system
541.7Slukemfile-system	MFS		# memory-based filesystem
551.1Sjeremy
561.10Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
571.1Sjeremyoptions 	NFSSERVER	# nfs server support
581.10Sgwroptions 	QUOTA		# FFS quotas
591.1Sjeremy
601.1Sjeremy# Networking options
611.1Sjeremyoptions 	INET		# IP prototol stack support
621.10Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
631.7Slukem#options 	GATEWAY		# IP packet forwarding
641.10Sgwr#options 	ISO,TPIP	# OSI networking
651.10Sgwr#options 	EON		# OSI tunneling over IP
661.10Sgwr#options 	CCITT,LLC,HDLC	# X.25
671.10Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
681.10Sgwr
691.10Sgwr# Work-around for root on slow servers (insurance...)
701.1Sjeremyoptions 	NFS_BOOT_RWSIZE=1024
711.1Sjeremy
721.1Sjeremyconfig		netbsd root on ? type ?
731.1Sjeremy
741.1Sjeremy#
751.1Sjeremy# Serial ports
761.1Sjeremy#
771.11Sgwrzstty0	at zsc1 channel 0	# ttya
781.11Sgwrzstty1	at zsc1 channel 1	# ttyb
791.1Sjeremy
801.11Sgwrkbd0	at zsc0 channel 0	# keyboard
811.11Sgwrms0	at zsc0 channel 1	# mouse
821.1Sjeremy
831.1Sjeremy#
841.1Sjeremy# Network devices
851.1Sjeremy#
861.10Sgwr
871.10Sgwr# Intel Ethernet
881.10Sgwrie0 at obio0 addr 0x65000000 ipl 3
891.12Sgwrie1 at vme2  addr   0xe88000 ipl 3 vect 0x75
901.1Sjeremy
911.1Sjeremy# Lance Ethernet (only onboard)
921.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3
931.1Sjeremy
941.1Sjeremy#
951.1Sjeremy# Disk and tape devices
961.1Sjeremy#
971.1Sjeremy
981.11Sgwr# Emulex SCSI (3/80 only)
991.6Sgwr# Note the flags on the esp entries below, that work around
1001.6Sgwr# deficiencies in the current driver:
1011.6Sgwr#	bits 0-7:  disable disconnect/reselect for the corresponding target
1021.6Sgwr#	bits 8-15: disable synch negotiation for target [bit-8]
1031.6Sgwr#	Note: targets 4-7 have disconnect/reselect enabled on the premise
1041.6Sgwr#	      that tape devices normally have one of these targets. Tape
1051.6Sgwr#	      devices should be allowed to disconnect for the SCSI bus
1061.6Sgwr#	      to operate acceptably.
1071.6Sgwr#
1081.6Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
1091.5Sjeremy
1101.5Sjeremy# Floppy drive
1111.5Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
1121.5Sjeremyfd0  at fdc0	# First (and only) floppy drive.
1131.12Sgwr
1141.12Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1151.12Sgwr# This driver has several flags which may be enabled using
1161.12Sgwr# the "flags" directive.  Valid flags are:
1171.12Sgwr#
1181.12Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1191.12Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1201.12Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1211.12Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1221.12Sgwr#
1231.12Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1241.12Sgwr# and disable disconnect/reselect for targets 0-3
1251.12Sgwr# XXX: Disable DMA entirely until it is debugged.
1261.12Sgwrsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 flags 0x300ff
1271.12Sgwrsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 flags 0x300ff
1281.1Sjeremy
1291.1Sjeremy#
1301.1Sjeremy# Frame buffer devices
1311.1Sjeremy#
1321.1Sjeremy
1331.1Sjeremy# bwtwo - Monochrome frame buffer.
1341.3Sjeremybwtwo0 at obmem0 addr 0x50400000 ipl 4
1351.1Sjeremy
1361.1Sjeremy#
1371.1Sjeremy# SCSI infrastructure
1381.1Sjeremy#
1391.1Sjeremyscsibus* at scsi?
1401.1Sjeremy
1411.1Sjeremysd* at scsibus? target ? lun ?		# SCSI disks
1421.1Sjeremyst* at scsibus? target ? lun ?		# SCSI tapes
1431.1Sjeremycd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1441.1Sjeremych* at scsibus? target ? lun ?		# SCSI changer devices
1451.1Sjeremyss* at scsibus? target ? lun ?		# SCSI scanners
1461.1Sjeremyuk* at scsibus? target ? lun ?		# unknown SCSI devices
1471.1Sjeremy
1481.1Sjeremy# Memory-disk drivers
1491.7Slukempseudo-device	md		2
1501.1Sjeremy
1511.1Sjeremy# Misc.
1521.7Slukempseudo-device	loop		1	# network loopback
1531.7Slukempseudo-device	bpfilter	8	# packet filter
1541.7Slukempseudo-device	sl		2	# CSLIP
1551.7Slukempseudo-device	ppp		2	# PPP
1561.7Slukempseudo-device	tun		2	# network tunneling over tty
1571.1Sjeremy#pseudo-device	ipfilter		# ip filter
1581.1Sjeremy
1591.7Slukempseudo-device	pty		64	# pseudo-terminals
1601.7Slukem#pseudo-device	vnd		4	# paging to files
1611.7Slukem#pseudo-device	ccd		4	# concatenated disks
162