# $NetBSD: GENERIC,v 1.13.2.1 1997/11/20 08:49:20 mellon Exp $

# GENERIC Sun3x (3/80, 3/470)
# Supports root on: le0, sd*

include "arch/sun3x/conf/std.sun3x"

# Machines to be supported by this kernel
# options 	FPU_EMULATE	# XXX - Ever needed?

# Needs to be set per system.  i.e change these as you see fit
maxusers	4

# Standard system options
options 	KTRACE		# system call tracing
options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
options 	SYSVSHM		# System V shared memory
#options 	SHMMAXPGS=1024	# 1024 pages is the default
#options 	LKM		# loadable kernel modules
#options 	INSECURE	# disable kernel security level
#options 	UCONSOLE	# Allow non-root TIOCCONS

# Which kernel debugger?  Uncomment either this:
options 	DDB
# ... or these for KGDB (gdb remote target)
#makeoptions DEBUG="-g"		# debugging symbols for gdb
#options 	KGDB
#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01

# Other debugging options
#options 	DEBUG		# kernel debugging code
#options 	DIAGNOSTIC	# extra kernel sanity checking
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
#options 	PMAP_DEBUG
#options 	SCSIDEBUG
#options 	SCSIVERBOSE		# Verbose SCSI errors

# Compatability options
options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
options 	COMPAT_43	# and 4.3BSD and ...
options 	COMPAT_10	# NetBSD 1.0
options 	COMPAT_11	# NetBSD 1.1
options 	COMPAT_12	# NetBSD 1.2

# Filesystem options
file-system	FFS		# Berkeley Fast Filesystem
file-system	NFS		# Sun NFS client support
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS FAT file system
file-system	FDESC		# /dev/fd/*
file-system	KERNFS		# /kern
file-system	NULLFS		# loopback file system
file-system	PROCFS		# /proc
file-system	UNION		# union file system
file-system	MFS		# memory-based filesystem

options 	FIFO		# FIFOs; RECOMMENDED
options 	NFSSERVER	# nfs server support
options 	QUOTA		# FFS quotas

# Networking options
options 	INET		# IP prototol stack support
options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
#options 	GATEWAY		# IP packet forwarding
#options 	ISO,TPIP	# OSI networking
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.

# Work-around for root on slow servers (insurance...)
options 	NFS_BOOT_RWSIZE=1024

config		netbsd root on ? type ?

#
# Serial ports
#
zstty0	at zsc1 channel 0	# ttya
zstty1	at zsc1 channel 1	# ttyb

kbd0	at zsc0 channel 0	# keyboard
ms0	at zsc0 channel 1	# mouse

#
# Network devices
#

# Intel Ethernet
ie0 at obio0 addr 0x65000000 ipl 3
ie1 at vme2  addr   0xe88000 ipl 3 vect 0x75

# Lance Ethernet (only onboard)
le0 at obio0 addr 0x65002000 ipl 3

#
# Disk and tape devices
#

# Emulex SCSI (3/80 only)
# Note the flags on the esp entries below, that work around
# deficiencies in the current driver:
#	bits 0-7:  disable disconnect/reselect for the corresponding target
#	bits 8-15: disable synch negotiation for target [bit-8]
#	Note: targets 4-7 have disconnect/reselect enabled on the premise
#	      that tape devices normally have one of these targets. Tape
#	      devices should be allowed to disconnect for the SCSI bus
#	      to operate acceptably.
#
esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f

# Floppy drive
fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
fd0  at fdc0	# First (and only) floppy drive.

# Sun3 "si" SCSI controller (NCR 5380)
# This driver has several flags which may be enabled using
# the "flags" directive.  Valid flags are:
#
# 0x000ff	Set (1<<target) to disable disconnect/reselect
# 0x0ff00	Set (1<<(target+8)) to disable parity checking
# 0x10000	Set this bit to disable DMA interrupts (poll)
# 0x20000	Set this bit to disable DMA entirely (use PIO)
#
# For example: "flags 0x1000f" would disable DMA interrupts,
# and disable disconnect/reselect for targets 0-3
# XXX: Disable DMA entirely until it is debugged.
si0 at vme2 addr 0x200000 ipl 2 vect 0x40 flags 0x300ff
si1 at vme2 addr 0x204000 ipl 2 vect 0x41 flags 0x300ff

#
# Frame buffer devices
#

# bwtwo - Monochrome frame buffer.
bwtwo0 at obmem0 addr 0x50400000 ipl 4

#
# SCSI infrastructure
#
scsibus* at scsi?

sd* at scsibus? target ? lun ?		# SCSI disks
st* at scsibus? target ? lun ?		# SCSI tapes
cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
ch* at scsibus? target ? lun ?		# SCSI changer devices
ss* at scsibus? target ? lun ?		# SCSI scanners
uk* at scsibus? target ? lun ?		# unknown SCSI devices

# Memory-disk drivers
pseudo-device	md		2

# Misc.
pseudo-device	loop		1	# network loopback
pseudo-device	bpfilter	8	# packet filter
pseudo-device	sl		2	# CSLIP
pseudo-device	ppp		2	# PPP
pseudo-device	tun		2	# network tunneling over tty
#pseudo-device	ipfilter		# ip filter
# rnd is EXPERIMENTAL
#pseudo-device	rnd			# /dev/random and in-kernel generator

pseudo-device	pty		64	# pseudo-terminals
#pseudo-device	vnd		4	# paging to files
#pseudo-device	ccd		4	# concatenated disks
