GENERIC revision 1.79 1 # $NetBSD: GENERIC,v 1.79 2001/06/30 11:00:37 darcy 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.79 $"
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
60 # Filesystem options
61 file-system FFS # Berkeley Fast Filesystem
62 file-system NFS # Sun NFS client support
63 file-system CD9660 # ISO 9660 + Rock Ridge file system
64 file-system FDESC # /dev/fd/*
65 file-system KERNFS # /kern
66 file-system NULLFS # loopback file system
67 file-system OVERLAY # overlay file system
68 file-system PROCFS # /proc
69 file-system UNION # union file system
70 file-system MFS # memory-based filesystem
71
72 options NFSSERVER # nfs server support
73 options QUOTA # FFS quotas
74 #options FFS_EI # FFS Endian Independant support
75 options SOFTDEP # FFS soft updates support.
76
77 # Networking options
78 options INET # IP prototol stack support
79 options INET6 # IPV6
80 #options IPSEC # IP security
81 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
82 #options IPSEC_DEBUG # debug for IP security
83 options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
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
90 # Work-around for root on slow servers (insurance...)
91 options NFS_BOOT_RWSIZE=1024
92 options NFS_BOOT_BOOTPARAM
93
94 config netbsd root on ? type ?
95
96 # On-board I/O space (required)
97 include "arch/sun3/conf/obio.sun3"
98
99 # On-board memory (optional)
100 # See frame-buffers
101 obmem0 at mainbus?
102
103 # VME bus support (optional)
104 # One unit for each address space
105 vme0 at mainbus? # A16/D16
106 vme1 at mainbus? # A16/D32
107 vme2 at mainbus? # A24/D16
108 vme3 at mainbus? # A24/D32
109 vme4 at mainbus? # A32/D16
110 vme5 at mainbus? # A32/D32
111
112 #
113 # Serial ports
114 #
115 zstty0 at zsc1 channel 0 # ttya
116 zstty1 at zsc1 channel 1 # ttyb
117
118 kbd0 at zsc0 channel 0 # keyboard
119 ms0 at zsc0 channel 1 # mouse
120
121 #
122 # Network devices
123 #
124
125 # Intel Ethernet (onboard, or VME)
126 ie0 at obio0 addr 0x0C0000 ipl 3
127 ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
128
129 # Lance Ethernet (only onboard)
130 le0 at obio0 addr 0x120000 ipl 3
131
132 # All Sun3 machines with an "le" (3/50, 3/60) should be
133 # presumed to have the old, buggy LANCE chip. (Rev. C)
134 options LANCE_REVC_BUG
135
136 #
137 # Disk and tape devices
138 #
139
140 # Sun3 "si" SCSI controller (NCR 5380)
141 # This driver has several flags which may be enabled using
142 # the "flags" directive. Valid flags are:
143 #
144 # 0x000ff Set (1<<target) to disable disconnect/reselect
145 # 0x0ff00 Set (1<<(target+8)) to disable parity checking
146 # 0x10000 Set this bit to disable DMA interrupts (poll)
147 # 0x20000 Set this bit to disable DMA entirely (use PIO)
148 #
149 # For example: "flags 0x1000f" would disable DMA interrupts,
150 # and disable disconnect/reselect for targets 0-3
151 si0 at obio0 addr 0x140000 ipl 2
152 si0 at vme2 addr 0x200000 ipl 2 vect 0x40
153 si1 at vme2 addr 0x204000 ipl 2 vect 0x41
154
155 # Xylogics 450/451 controllers (VME A16/D16)
156 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
157 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
158 xy* at xyc? drive ?
159
160 # Xylogics 7053 controllers (VME A16/D32)
161 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
162 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
163 xd* at xdc? drive ?
164
165 # Xylogics 472 tape controllers?
166
167 # Sun3/E SCSI+Ethernet board (VME A24/D16)
168 # Note: the board uses vect and vect+1
169 sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
170 sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
171 si* at sebuf?
172 ie* at sebuf?
173
174 #
175 # Frame buffer devices
176 #
177
178 include "arch/sun3/conf/bw2.sun3"
179 include "arch/sun3/conf/cg4.sun3"
180
181 # 3/60 P4 accelerated 8-bit color frame buffer
182 # cgsix0 at obmem0 addr 0xff000000
183
184 # 3/60 P4 24-bit color frame buffer
185 # cgeight0 at obmem0 addr 0xff300000
186
187 # Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
188 cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
189
190 # Support for the CG9 24-bit frame buffer (VME A32/D32).
191 # cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
192
193 #
194 # SCSI infrastructure
195 #
196 scsibus* at scsi?
197
198 sd* at scsibus? target ? lun ? # SCSI disks
199 st* at scsibus? target ? lun ? # SCSI tapes
200 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
201 ch* at scsibus? target ? lun ? # SCSI changer devices
202 ss* at scsibus? target ? lun ? # SCSI scanners
203 uk* at scsibus? target ? lun ? # unknown SCSI devices
204
205 # Memory-disk drivers
206 pseudo-device md 2
207
208 # Misc.
209 pseudo-device loop 1 # network loopback
210 pseudo-device bpfilter 8 # packet filter
211 pseudo-device sl 2 # CSLIP
212 pseudo-device ppp 2 # PPP
213 pseudo-device tun 2 # network tunneling over tty
214 #pseudo-device gre 2 # generic L3 over IP tunnel
215 #pseudo-device ipfilter # ip filter
216 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
217 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
218 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
219 pseudo-device vlan # IEEE 802.1q encapsulation
220 pseudo-device rnd # /dev/random and in-kernel generator
221
222 pseudo-device pty # pseudo-terminals
223 pseudo-device vnd 4 # paging to files
224 #pseudo-device ccd 4 # concatenated disks
225 #pseudo-device raid 4 # RAIDframe disk driver
226 #options RAID_AUTOCONFIG # auto-configuration of RAID components
227