GENERIC3X revision 1.15
1# $NetBSD: GENERIC3X,v 1.15 1997/11/20 08:11:23 fair Exp $
2
3# GENERIC Sun3x (3/80, 3/470)
4# Supports root on: le0, sd*
5
6include "arch/sun3x/conf/std.sun3x"
7
8# Machines to be supported by this kernel
9# options 	FPU_EMULATE	# XXX - Ever needed?
10
11# Needs to be set per system.  i.e change these as you see fit
12maxusers	4
13
14# Standard system options
15options 	KTRACE		# system call tracing
16options 	SYSVMSG		# System V message queues
17options 	SYSVSEM		# System V semaphores
18options 	SYSVSHM		# System V shared memory
19#options 	SHMMAXPGS=1024	# 1024 pages is the default
20#options 	LKM		# loadable kernel modules
21#options 	INSECURE	# disable kernel security level
22#options 	UCONSOLE	# Allow non-root TIOCCONS
23
24# Which kernel debugger?  Uncomment either this:
25options 	DDB
26# ... or these for KGDB (gdb remote target)
27#makeoptions DEBUG="-g"		# debugging symbols for gdb
28#options 	KGDB
29#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
30
31# Other debugging options
32#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
33#options 	DEBUG		# kernel debugging code
34#options 	DIAGNOSTIC	# extra kernel sanity checking
35#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
36#options 	PMAP_DEBUG
37#options 	SCSIDEBUG
38#options 	SCSIVERBOSE		# Verbose SCSI errors
39
40# Compatability options
41options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
42options 	COMPAT_43	# and 4.3BSD and ...
43options 	COMPAT_10	# NetBSD 1.0
44options 	COMPAT_11	# NetBSD 1.1
45options 	COMPAT_12	# NetBSD 1.2
46
47# Filesystem options
48file-system	FFS		# Berkeley Fast Filesystem
49file-system	NFS		# Sun NFS client support
50file-system	CD9660		# ISO 9660 + Rock Ridge file system
51file-system	MSDOSFS		# MS-DOS FAT file system
52file-system	FDESC		# /dev/fd/*
53file-system	KERNFS		# /kern
54file-system	NULLFS		# loopback file system
55file-system	PROCFS		# /proc
56file-system	UNION		# union file system
57file-system	MFS		# memory-based filesystem
58
59options 	FIFO		# FIFOs; RECOMMENDED
60options 	NFSSERVER	# nfs server support
61options 	QUOTA		# FFS quotas
62
63# Networking options
64options 	INET		# IP prototol stack support
65options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
66#options 	GATEWAY		# IP packet forwarding
67#options 	ISO,TPIP	# OSI networking
68#options 	EON		# OSI tunneling over IP
69#options 	CCITT,LLC,HDLC	# X.25
70#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
71
72# Work-around for root on slow servers (insurance...)
73options 	NFS_BOOT_RWSIZE=1024
74
75config		netbsd root on ? type ?
76
77#
78# Serial ports
79#
80zstty0	at zsc1 channel 0	# ttya
81zstty1	at zsc1 channel 1	# ttyb
82
83kbd0	at zsc0 channel 0	# keyboard
84ms0	at zsc0 channel 1	# mouse
85
86#
87# Network devices
88#
89
90# Intel Ethernet
91ie0 at obio0 addr 0x65000000 ipl 3
92ie1 at vme2  addr   0xe88000 ipl 3 vect 0x75
93
94# Lance Ethernet (only onboard)
95le0 at obio0 addr 0x65002000 ipl 3
96
97#
98# Disk and tape devices
99#
100
101# Emulex SCSI (3/80 only)
102# Note the flags on the esp entries below, that work around
103# deficiencies in the current driver:
104#	bits 0-7:  disable disconnect/reselect for the corresponding target
105#	bits 8-15: disable synch negotiation for target [bit-8]
106#	Note: targets 4-7 have disconnect/reselect enabled on the premise
107#	      that tape devices normally have one of these targets. Tape
108#	      devices should be allowed to disconnect for the SCSI bus
109#	      to operate acceptably.
110#
111esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
112
113# Floppy drive
114fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
115fd0  at fdc0	# First (and only) floppy drive.
116
117# Sun3 "si" SCSI controller (NCR 5380)
118# This driver has several flags which may be enabled using
119# the "flags" directive.  Valid flags are:
120#
121# 0x000ff	Set (1<<target) to disable disconnect/reselect
122# 0x0ff00	Set (1<<(target+8)) to disable parity checking
123# 0x10000	Set this bit to disable DMA interrupts (poll)
124# 0x20000	Set this bit to disable DMA entirely (use PIO)
125#
126# For example: "flags 0x1000f" would disable DMA interrupts,
127# and disable disconnect/reselect for targets 0-3
128# XXX: Disable DMA entirely until it is debugged.
129si0 at vme2 addr 0x200000 ipl 2 vect 0x40 flags 0x300ff
130si1 at vme2 addr 0x204000 ipl 2 vect 0x41 flags 0x300ff
131
132#
133# Frame buffer devices
134#
135
136# bwtwo - Monochrome frame buffer.
137bwtwo0 at obmem0 addr 0x50400000 ipl 4
138
139#
140# SCSI infrastructure
141#
142scsibus* at scsi?
143
144sd* at scsibus? target ? lun ?		# SCSI disks
145st* at scsibus? target ? lun ?		# SCSI tapes
146cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
147ch* at scsibus? target ? lun ?		# SCSI changer devices
148ss* at scsibus? target ? lun ?		# SCSI scanners
149uk* at scsibus? target ? lun ?		# unknown SCSI devices
150
151# Memory-disk drivers
152pseudo-device	md		2
153
154# Misc.
155pseudo-device	loop		1	# network loopback
156pseudo-device	bpfilter	8	# packet filter
157pseudo-device	sl		2	# CSLIP
158pseudo-device	ppp		2	# PPP
159pseudo-device	tun		2	# network tunneling over tty
160#pseudo-device	ipfilter		# ip filter
161# rnd is EXPERIMENTAL
162#pseudo-device	rnd			# /dev/random and in-kernel generator
163
164pseudo-device	pty		64	# pseudo-terminals
165#pseudo-device	vnd		4	# paging to files
166#pseudo-device	ccd		4	# concatenated disks
167