GENERIC revision 1.80 1 # $NetBSD: GENERIC,v 1.80 2001/07/08 16:32:25 abs Exp $
2
3 # GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
4 # Supports root on: ie0, le0, sd*, ...
5
6 include "arch/sun3/conf/std.sun3"
7
8 #ident "GENERIC-$Revision: 1.80 $"
9
10 # Machines to be supported by this kernel
11 options FPU_EMULATE
12 options HAVECACHE # Sun3/260 VAC
13
14 # Needs to be set per system. i.e change these as you see fit
15 maxusers 4
16
17 # Standard system options
18 options KTRACE # system call tracing
19 options SYSVMSG # System V message queues
20 options SYSVSEM # System V semaphores
21 #options SEMMNI=10 # number of semaphore identifiers
22 #options SEMMNS=60 # number of semaphores in system
23 #options SEMUME=10 # max number of undo entries per process
24 #options SEMMNU=30 # number of undo structures in system
25 options SYSVSHM # System V shared memory
26 #options SHMMAXPGS=1024 # 1024 pages is the default
27 options LKM # loadable kernel modules
28 #options INSECURE # disable kernel security level
29 #options UCONSOLE # Allow non-root TIOCCONS
30
31 # Which kernel debugger? Uncomment either this:
32 options DDB
33 # ... or these for KGDB (gdb remote target)
34 #makeoptions DEBUG="-g" # debugging symbols for gdb
35 #options KGDB
36 #options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01
37
38 # Other debugging options
39 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
40 #options DEBUG # kernel debugging code
41 #options DIAGNOSTIC # extra kernel sanity checking
42 #options KMEMSTATS # kernel memory statistics (vmstat -m)
43 #options PMAP_DEBUG
44 #options SCSIDEBUG
45 #options SCSIVERBOSE # Verbose SCSI errors
46
47 # Compatibility options
48 options COMPAT_SUNOS # can run SunOS 4.1.1 executables
49 #options COMPAT_SVR4 # can run SVR4 executables
50 options COMPAT_43 # and 4.3BSD and ...
51 options COMPAT_10 # NetBSD 1.0
52 options COMPAT_11 # NetBSD 1.1
53 options COMPAT_12 # NetBSD 1.2
54 options COMPAT_13 # NetBSD 1.3
55 options COMPAT_14 # NetBSD 1.4
56 options COMPAT_AOUT_M68K # support for NetBSD a.out executables
57 #options COMPAT_LINUX # can run Linux/m68k executables
58 options EXEC_AOUT # support for a.out executables
59 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
60
61 # Filesystem options
62 file-system FFS # Berkeley Fast Filesystem
63 file-system NFS # Sun NFS client support
64 file-system CD9660 # ISO 9660 + Rock Ridge file system
65 file-system FDESC # /dev/fd/*
66 file-system KERNFS # /kern
67 file-system NULLFS # loopback file system
68 file-system OVERLAY # overlay file system
69 file-system PROCFS # /proc
70 file-system UNION # union file system
71 file-system MFS # memory-based filesystem
72
73 options NFSSERVER # nfs server support
74 options QUOTA # FFS quotas
75 #options FFS_EI # FFS Endian Independant support
76 options SOFTDEP # FFS soft updates support.
77
78 # Networking options
79 options INET # IP prototol stack support
80 options INET6 # IPV6
81 #options IPSEC # IP security
82 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
83 #options IPSEC_DEBUG # debug for IP security
84 #options GATEWAY # IP packet forwarding
85 #options ISO,TPIP # OSI networking
86 #options EON # OSI tunneling over IP
87 #options CCITT,LLC,HDLC # X.25
88 options PFIL_HOOKS # pfil(9) packet filter hooks.
89 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
90
91 # Work-around for root on slow servers (insurance...)
92 options NFS_BOOT_RWSIZE=1024
93 options NFS_BOOT_BOOTPARAM
94
95 config netbsd root on ? type ?
96
97 # On-board I/O space (required)
98 include "arch/sun3/conf/obio.sun3"
99
100 # On-board memory (optional)
101 # See frame-buffers
102 obmem0 at mainbus?
103
104 # VME bus support (optional)
105 # One unit for each address space
106 vme0 at mainbus? # A16/D16
107 vme1 at mainbus? # A16/D32
108 vme2 at mainbus? # A24/D16
109 vme3 at mainbus? # A24/D32
110 vme4 at mainbus? # A32/D16
111 vme5 at mainbus? # A32/D32
112
113 #
114 # Serial ports
115 #
116 zstty0 at zsc1 channel 0 # ttya
117 zstty1 at zsc1 channel 1 # ttyb
118
119 kbd0 at zsc0 channel 0 # keyboard
120 ms0 at zsc0 channel 1 # mouse
121
122 #
123 # Network devices
124 #
125
126 # Intel Ethernet (onboard, or VME)
127 ie0 at obio0 addr 0x0C0000 ipl 3
128 ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
129
130 # Lance Ethernet (only onboard)
131 le0 at obio0 addr 0x120000 ipl 3
132
133 # All Sun3 machines with an "le" (3/50, 3/60) should be
134 # presumed to have the old, buggy LANCE chip. (Rev. C)
135 options LANCE_REVC_BUG
136
137 #
138 # Disk and tape devices
139 #
140
141 # Sun3 "si" SCSI controller (NCR 5380)
142 # This driver has several flags which may be enabled using
143 # the "flags" directive. Valid flags are:
144 #
145 # 0x000ff Set (1<<target) to disable disconnect/reselect
146 # 0x0ff00 Set (1<<(target+8)) to disable parity checking
147 # 0x10000 Set this bit to disable DMA interrupts (poll)
148 # 0x20000 Set this bit to disable DMA entirely (use PIO)
149 #
150 # For example: "flags 0x1000f" would disable DMA interrupts,
151 # and disable disconnect/reselect for targets 0-3
152 si0 at obio0 addr 0x140000 ipl 2
153 si0 at vme2 addr 0x200000 ipl 2 vect 0x40
154 si1 at vme2 addr 0x204000 ipl 2 vect 0x41
155
156 # Xylogics 450/451 controllers (VME A16/D16)
157 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
158 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
159 xy* at xyc? drive ?
160
161 # Xylogics 7053 controllers (VME A16/D32)
162 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
163 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
164 xd* at xdc? drive ?
165
166 # Xylogics 472 tape controllers?
167
168 # Sun3/E SCSI+Ethernet board (VME A24/D16)
169 # Note: the board uses vect and vect+1
170 sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
171 sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
172 si* at sebuf?
173 ie* at sebuf?
174
175 #
176 # Frame buffer devices
177 #
178
179 include "arch/sun3/conf/bw2.sun3"
180 include "arch/sun3/conf/cg4.sun3"
181
182 # 3/60 P4 accelerated 8-bit color frame buffer
183 # cgsix0 at obmem0 addr 0xff000000
184
185 # 3/60 P4 24-bit color frame buffer
186 # cgeight0 at obmem0 addr 0xff300000
187
188 # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
189 cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
190
191 # Support for the CG9 24-bit frame buffer (VME A32/D32).
192 # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
193
194 #
195 # SCSI infrastructure
196 #
197 scsibus* at scsi?
198
199 sd* at scsibus? target ? lun ? # SCSI disks
200 st* at scsibus? target ? lun ? # SCSI tapes
201 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
202 ch* at scsibus? target ? lun ? # SCSI changer devices
203 ss* at scsibus? target ? lun ? # SCSI scanners
204 uk* at scsibus? target ? lun ? # unknown SCSI devices
205
206 # Memory-disk drivers
207 pseudo-device md 2
208
209 # Misc.
210 pseudo-device loop 1 # network loopback
211 pseudo-device bpfilter 8 # packet filter
212 pseudo-device sl 2 # CSLIP
213 pseudo-device ppp 2 # PPP
214 pseudo-device tun 2 # network tunneling over tty
215 #pseudo-device gre 2 # generic L3 over IP tunnel
216 #pseudo-device ipfilter # ip filter
217 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
218 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
219 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
220 pseudo-device vlan # IEEE 802.1q encapsulation
221 pseudo-device rnd # /dev/random and in-kernel generator
222
223 pseudo-device pty # pseudo-terminals
224 pseudo-device vnd 4 # paging to files
225 #pseudo-device ccd 4 # concatenated disks
226 #pseudo-device raid 4 # RAIDframe disk driver
227 #options RAID_AUTOCONFIG # auto-configuration of RAID components
228