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