GENERIC revision 1.243.4.1 1 1.243.4.1 martin # $NetBSD: GENERIC,v 1.243.4.1 2014/11/14 15:16:19 martin Exp $
2 1.127 gmcgarry #
3 1.127 gmcgarry # GENERIC machine description file
4 1.127 gmcgarry #
5 1.127 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.127 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.127 gmcgarry # and device drivers, but should be useful for most applications.
8 1.127 gmcgarry #
9 1.127 gmcgarry # The machine description file can be customised for your specific
10 1.127 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.127 gmcgarry #
12 1.127 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.127 gmcgarry # man page.
14 1.127 gmcgarry #
15 1.127 gmcgarry # For further information on hardware support for this architecture, see
16 1.127 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.127 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.127 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.127 gmcgarry # device.
20 1.1 deraadt
21 1.127 gmcgarry include "arch/sparc/conf/std.sparc"
22 1.96 hubertf
23 1.133 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.133 atatat
25 1.243.4.1 martin #ident "GENERIC-$Revision: 1.243.4.1 $"
26 1.45 pk
27 1.45 pk maxusers 32
28 1.32 mrg
29 1.55 pk ## System kernel configuration. See options(4) for more detail.
30 1.55 pk
31 1.55 pk
32 1.24 thorpej # Options for variants of the Sun SPARC architecure.
33 1.55 pk # We currently support three architecture types; at least one is required.
34 1.43 lukem options SUN4 # sun4/100, sun4/200, sun4/300
35 1.43 lukem options SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
36 1.43 lukem options SUN4M # sun4m - SS10, SS20, Classic, etc.
37 1.150 chs options SUN4D # sun4d - SS1000, SC2000
38 1.24 thorpej
39 1.109 pk options SUN4_MMU3L # sun4/400 3-level MMU
40 1.1 deraadt
41 1.55 pk ## System options specific to the sparc machine type
42 1.55 pk
43 1.55 pk # Blink the power LED on some machines to indicate the system load.
44 1.55 pk #options BLINK
45 1.55 pk
46 1.55 pk ## Use a faster console than the PROM's slow drawing routines. Not needed
47 1.55 pk ## for headless (no framebuffer) machines.
48 1.208 macallan ## These is obsolete for wscons kernels
49 1.208 macallan #options RASTERCONSOLE # fast rasterop console
50 1.208 macallan #options RASTERCONSOLE_FGCOL=WSCOL_BLACK
51 1.208 macallan #options RASTERCONSOLE_BGCOL=WSCOL_WHITE
52 1.208 macallan
53 1.208 macallan # wscons stuff
54 1.233 macallan #options WSEMUL_SUN
55 1.233 macallan options WSEMUL_VT100
56 1.211 jdc options WSDISPLAY_COMPAT_RAWKBD
57 1.211 jdc options WSDISPLAY_CUSTOM_OUTPUT
58 1.211 jdc options WS_DEFAULT_FG=WSCOL_BLACK
59 1.211 jdc options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
60 1.211 jdc options WS_KERNEL_FG=WSCOL_GREEN
61 1.211 jdc options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
62 1.211 jdc options WSDISPLAY_COMPAT_PCVT
63 1.208 macallan options WSDISPLAY_COMPAT_SYSCONS
64 1.234 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
65 1.208 macallan
66 1.211 jdc options WSDISPLAY_SCROLLSUPPORT
67 1.208 macallan
68 1.208 macallan # generic options vlid for both wscons and RASTERCONSOLE
69 1.79 ad options FONT_GALLANT12x22 # the console font
70 1.230 macallan options FONT_BOLD8x16 # a somewhat smaller font
71 1.55 pk
72 1.55 pk #### System options that are the same for all ports
73 1.55 pk
74 1.55 pk ## Root device configuration: change the ?'s if you are going to use a
75 1.55 pk ## nonstandard root partition (other than where the kernel is booted from)
76 1.55 pk ## and/or nonstandard root type (not ffs or nfs). Normally this can be
77 1.55 pk ## automagically determined at boot time.
78 1.55 pk
79 1.55 pk config netbsd root on ? type ?
80 1.55 pk
81 1.55 pk ## System call tracing (see ktrace(1)).
82 1.55 pk options KTRACE
83 1.55 pk
84 1.55 pk ## Collect statistics on kernel malloc's and free's. This does have a
85 1.55 pk ## significant performance hit on slower machines, so it is intended for
86 1.55 pk ## diagnostic use only.
87 1.55 pk #options KMEMSTATS
88 1.55 pk
89 1.55 pk ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
90 1.43 lukem options SYSVMSG # System V message queues
91 1.43 lukem options SYSVSEM # System V semaphores
92 1.43 lukem options SYSVSHM # System V shared memory
93 1.24 thorpej
94 1.227 mrg options MODULAR # new style module(7) framework
95 1.130 jdolecek
96 1.137 lukem options USERCONF # userconf(4) support
97 1.160 uwe #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
98 1.161 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
99 1.143 junyoung
100 1.144 wiz # Enable experimental buffer queue strategy for better responsiveness under
101 1.143 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
102 1.170 tsutsui #options BUFQ_READPRIO
103 1.170 tsutsui #options BUFQ_PRIOCSCAN
104 1.55 pk
105 1.134 lukem ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
106 1.59 pk options NFS_BOOT_BOOTPARAM
107 1.59 pk #options NFS_BOOT_BOOTP
108 1.134 lukem options NFS_BOOT_DHCP
109 1.55 pk
110 1.55 pk #### Debugging options
111 1.55 pk
112 1.55 pk ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
113 1.55 pk ## serial console break or keyboard reset, where the PROM would normally
114 1.55 pk ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
115 1.214 tsutsui options DDB # kernel dynamic debugger
116 1.214 tsutsui options DDB_HISTORY_SIZE=100 # enable history editing in DDB
117 1.243 szptvlfn #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
118 1.55 pk
119 1.55 pk ## You may also use gdb, on another computer connected to this machine over
120 1.124 lukem ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
121 1.124 lukem ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
122 1.124 lukem ## the minor device number encodes the PROM enumeration of the serial ports,
123 1.124 lukem ## i.e.:
124 1.124 lukem ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
125 1.124 lukem ## (Note: ttyc and ttyd are available only on some sun4 models)
126 1.124 lukem #options KGDB # support for kernel gdb
127 1.124 lukem #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
128 1.124 lukem #options KGDB_DEVRATE=38400 # baud rate
129 1.24 thorpej
130 1.55 pk
131 1.55 pk ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
132 1.55 pk ## such that gdb(1) can be used on a kernel coredump.
133 1.55 pk
134 1.125 lukem #makeoptions DEBUG="-g"
135 1.55 pk
136 1.55 pk
137 1.55 pk ## Adds code to the kernel that does internal consistency checks, and will
138 1.55 pk ## cause the kernel to panic if corruption of internal data structures
139 1.55 pk ## is detected.
140 1.55 pk #options DIAGNOSTIC # extra kernel sanity checking
141 1.55 pk
142 1.55 pk ## Enable (possibly expensive) debugging code that may also display messages
143 1.55 pk ## on the system console
144 1.55 pk #options DEBUG
145 1.226 jdc #options LOCKDEBUG
146 1.226 jdc #options SYSCALL_DEBUG
147 1.55 pk
148 1.55 pk ## Make SCSI error messages more verbose when explaining their meanings.
149 1.55 pk options SCSIVERBOSE
150 1.105 augustss
151 1.105 augustss options MIIVERBOSE # verbose PHY autoconfig messages
152 1.55 pk
153 1.55 pk ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
154 1.55 pk ## This allows writing to /dev/mem, loading kernel modules while multi-user,
155 1.55 pk ## and other insecurities good only for development work. Do not use this
156 1.55 pk ## option on a production machine.
157 1.55 pk #options INSECURE
158 1.55 pk
159 1.55 pk ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
160 1.55 pk ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
161 1.55 pk ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
162 1.55 pk ## opaque file mechanism. Perl calls this "secure setuid scripts."
163 1.55 pk
164 1.55 pk #options FDSCRIPTS
165 1.55 pk #options SETUIDSCRIPTS
166 1.55 pk
167 1.55 pk ## Options for compatibility with previous releases foreign system binaries.
168 1.55 pk ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
169 1.55 pk ## additional user-level utilities or system configuration files. See
170 1.55 pk ## compat_sunos(8) and compat_svr4(8).
171 1.55 pk
172 1.43 lukem options COMPAT_43 # 4.3BSD system interfaces
173 1.43 lukem options COMPAT_10 # NetBSD 1.0 binary compatibility
174 1.43 lukem options COMPAT_11 # NetBSD 1.1 binary compatibility
175 1.43 lukem options COMPAT_12 # NetBSD 1.2 binary compatibility
176 1.54 mjacob options COMPAT_13 # NetBSD 1.3 binary compatibility
177 1.89 augustss options COMPAT_14 # NetBSD 1.4 binary compatibility
178 1.195 manu options COMPAT_15 # NetBSD 1.5 binary compatibility
179 1.148 tron options COMPAT_16 # NetBSD 1.6 binary compatibility
180 1.160 uwe options COMPAT_20 # NetBSD 2.0 binary compatibility
181 1.198 uwe options COMPAT_30 # NetBSD 3.0 binary compatibility
182 1.198 uwe options COMPAT_40 # NetBSD 4.0 binary compatibility
183 1.210 mrg options COMPAT_50 # NetBSD 5.0 binary compatibility
184 1.235 apb options COMPAT_60 # NetBSD 6.0 compatibility.
185 1.43 lukem options COMPAT_SUNOS # SunOS 4.x binary compatibility
186 1.43 lukem options COMPAT_SVR4 # SunOS 5.x binary compatibility
187 1.211 jdc options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
188 1.1 deraadt
189 1.55 pk ## File systems. You probably need at least one of FFS or NFS.
190 1.43 lukem file-system FFS # Berkeley Fast Filesystem
191 1.43 lukem file-system NFS # Sun NFS-compatible filesystem client
192 1.43 lukem file-system KERNFS # kernel data-structure filesystem
193 1.43 lukem file-system NULLFS # NULL layered filesystem
194 1.95 wrstuden file-system OVERLAY # overlay file system
195 1.43 lukem file-system MFS # memory-based filesystem
196 1.43 lukem file-system FDESC # user file descriptor filesystem
197 1.43 lukem file-system UMAPFS # uid/gid remapping filesystem
198 1.43 lukem file-system LFS # Log-based filesystem (still experimental)
199 1.218 pooka file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
200 1.43 lukem file-system PROCFS # /proc
201 1.43 lukem file-system CD9660 # ISO 9660 + Rock Ridge file system
202 1.43 lukem file-system UNION # union file system
203 1.43 lukem file-system MSDOSFS # MS-DOS FAT filesystem(s).
204 1.91 phil file-system CODA # Coda File System; also needs vcoda (below)
205 1.179 christos file-system PTYFS # /dev/pts/N support
206 1.223 chs file-system TMPFS # Efficient memory file-system
207 1.183 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
208 1.43 lukem
209 1.55 pk ## File system options.
210 1.43 lukem options NFSSERVER # Sun NFS-compatible filesystem server
211 1.43 lukem options QUOTA # FFS quotas
212 1.63 pk #options FFS_EI # FFS Endian Independent support
213 1.229 dholland options WAPBL # File system journaling support
214 1.211 jdc #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
215 1.181 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
216 1.243.4.1 martin options UFS_EXTATTR # Extended attribute support for UFS1
217 1.243.4.1 martin options UFS_EXTATTR_AUTOSTART
218 1.243.4.1 martin options UFS_EXTATTR_AUTOCREATE=1024
219 1.94 itojun
220 1.55 pk ## Network protocol support. In most environments, INET is required.
221 1.57 pk options INET # IP (Internet Protocol) v4
222 1.94 itojun options INET6 # IPV6
223 1.94 itojun #options IPSEC # IP security
224 1.94 itojun #options IPSEC_DEBUG # debug for IP security
225 1.57 pk #options GATEWAY # packet forwarding ("router switch")
226 1.57 pk #options MROUTING # packet forwarding of multicast packets
227 1.163 manu #options PIM # Protocol Independent Multicast
228 1.57 pk #options DIRECTED_BROADCAST # allow broadcasts through routers
229 1.75 pk #options NETATALK # AppleTalk (over Ethernet) protocol
230 1.67 pk options NTP # Network Time Protocol in-kernel support
231 1.57 pk #options PPS_SYNC # Add serial line synchronization for NTP
232 1.86 christos options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
233 1.192 christos options IPFILTER_LOOKUP # ippool(8) support
234 1.224 mrg options IPFILTER_COMPAT # Compat for IP-Filter
235 1.139 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
236 1.86 christos options PPP_BSDCOMP # Add BSD compression to ppp device
237 1.86 christos options PPP_DEFLATE # Add deflate (libz) compression to ppp device
238 1.86 christos options PPP_FILTER # Add active filters for ppp (via bpf)
239 1.1 deraadt
240 1.156 abs #options ALTQ # Manipulate network interfaces' output queues
241 1.156 abs #options ALTQ_BLUE # Stochastic Fair Blue
242 1.156 abs #options ALTQ_CBQ # Class-Based Queueing
243 1.156 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
244 1.156 abs #options ALTQ_FIFOQ # First-In First-Out Queue
245 1.156 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
246 1.156 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
247 1.156 abs #options ALTQ_LOCALQ # Local queueing discipline
248 1.156 abs #options ALTQ_PRIQ # Priority Queueing
249 1.156 abs #options ALTQ_RED # Random Early Detection
250 1.156 abs #options ALTQ_RIO # RED with IN/OUT
251 1.156 abs #options ALTQ_WFQ # Weighted Fair Queueing
252 1.156 abs
253 1.1 deraadt
254 1.55 pk
255 1.57 pk #### Main bus and CPU .. all systems.
256 1.1 deraadt mainbus0 at root
257 1.1 deraadt cpu0 at mainbus0
258 1.150 chs cpuunit0 at mainbus0 # sun4d
259 1.150 chs cpuunit* at mainbus0 # sun4d
260 1.150 chs cpu0 at cpuunit0 # sun4d
261 1.1 deraadt
262 1.236 macallan #### SX rendering engine found in SS20 and SS10SX
263 1.236 macallan sx0 at mainbus0
264 1.236 macallan
265 1.55 pk #### Bus types found on SPARC systems.
266 1.55 pk
267 1.24 thorpej sbus0 at mainbus0 # sun4c
268 1.24 thorpej obio0 at mainbus0 # sun4 and sun4m
269 1.150 chs sparcvme0 at mainbus0 # sun4
270 1.22 pk iommu0 at mainbus0 # sun4m
271 1.22 pk sbus0 at iommu0 # sun4m
272 1.150 chs sparcvme0 at iommu0 # sun4m
273 1.150 chs vme0 at sparcvme0 # MI VME attachment
274 1.150 chs bootbus0 at cpuunit0 # sun4d
275 1.150 chs bootbus* at cpuunit? # sun4d
276 1.64 pk
277 1.64 pk ## SBus expander box
278 1.64 pk xbox* at sbus? slot ? offset ?
279 1.64 pk sbus* at xbox?
280 1.72 pk
281 1.72 pk ## SBus to PCMCIA bridge
282 1.159 pk nell* at sbus? slot ? offset ? # PCMCIA bridge
283 1.159 pk pcmcia* at nell?
284 1.173 macallan tslot* at sbus? slot ? offset ? # PCMCIA bridge (tadpole 3gx)
285 1.173 macallan pcmcia* at tslot?
286 1.1 deraadt
287 1.55 pk #### Standard system devices -- all required for a given architecture
288 1.24 thorpej
289 1.55 pk ## Auxiliary system registers on sun4c and sun4m
290 1.24 thorpej auxreg0 at mainbus0 # sun4c
291 1.22 pk auxreg0 at obio0 # sun4m
292 1.106 matt auxiotwo0 at obio0 # only on Tadpole SPARCbook.
293 1.27 abrown
294 1.55 pk ## Power status and control register on Sun4m systems
295 1.27 abrown power0 at obio0
296 1.24 thorpej
297 1.150 chs ## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
298 1.55 pk ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
299 1.24 thorpej clock0 at mainbus0 # sun4c
300 1.22 pk clock0 at obio0 # sun4m
301 1.24 thorpej clock0 at obio0 addr 0xf2000000 # sun4/300
302 1.150 chs clock0 at bootbus0 # sun4d
303 1.24 thorpej
304 1.55 pk ## Intersil clock found on 4/100 and 4/200 systems.
305 1.24 thorpej oclock0 at obio0 addr 0xf3000000 # sun4/200
306 1.24 thorpej oclock0 at obio0 addr 0x03000000 # sun4/100
307 1.24 thorpej
308 1.55 pk ## Memory error registers.
309 1.24 thorpej memreg0 at mainbus0 # sun4c
310 1.22 pk memreg0 at obio0 # sun4m
311 1.24 thorpej memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
312 1.24 thorpej memreg0 at obio0 addr 0x04000000 # sun4/100
313 1.74 pk
314 1.74 pk ## ECC memory control
315 1.74 pk eccmemctl0 at mainbus0 # sun4m
316 1.24 thorpej
317 1.55 pk ## Timer chip found on 4/300, sun4c, and sun4m systems.
318 1.24 thorpej timer0 at mainbus0 # sun4c
319 1.22 pk timer0 at obio0 # sun4m
320 1.24 thorpej timer0 at obio0 addr 0xef000000 # sun4/300
321 1.24 thorpej
322 1.55 pk ## EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
323 1.55 pk ## doesn't use this driver; the `EEPROM' is in the NVRAM on the
324 1.55 pk ## Mostek clock chip on 4/300 systems.
325 1.24 thorpej eeprom0 at obio0 addr 0xf2000000 # sun4/200
326 1.24 thorpej eeprom0 at obio0 addr 0x02000000 # sun4/100
327 1.24 thorpej
328 1.55 pk
329 1.55 pk #### Serial port configuration
330 1.55 pk
331 1.55 pk ## Zilog 8530 serial chips. Each has two-channels.
332 1.55 pk ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
333 1.24 thorpej zs0 at mainbus0 # sun4c
334 1.24 thorpej zs0 at obio0 # sun4m
335 1.100 pk zs0 at obio0 addr 0xf1000000 level 12 # sun4/200 and sun4/300
336 1.100 pk zs0 at obio0 addr 0x01000000 level 12 # sun4/100
337 1.150 chs zs0 at bootbus0 # sun4d
338 1.212 tsutsui zstty0 at zs0 channel 0 # ttya
339 1.212 tsutsui zstty1 at zs0 channel 1 # ttyb
340 1.50 gwr
341 1.24 thorpej zs1 at mainbus0 # sun4c
342 1.24 thorpej zs1 at obio0 # sun4m
343 1.100 pk zs1 at obio0 addr 0xf0000000 level 12 # sun4/200 and sun4/300
344 1.100 pk zs1 at obio0 addr 0x00000000 level 12 # sun4/100
345 1.150 chs zs1 at bootbus0 # sun4d
346 1.208 macallan
347 1.208 macallan # old kbd and mouse attachments
348 1.208 macallan #kbd0 at zs1 channel 0 # keyboard
349 1.208 macallan #ms0 at zs1 channel 1 # mouse
350 1.208 macallan zstty* at zs?
351 1.208 macallan
352 1.208 macallan # these are for wscons
353 1.208 macallan kbd0 at zstty?
354 1.208 macallan ms0 at zstty?
355 1.208 macallan wskbd* at wskbddev?
356 1.208 macallan wsmouse* at wsmousedev?
357 1.100 pk
358 1.100 pk zs2 at obio0 addr 0xe0000000 level 12 # sun4/300
359 1.100 pk zstty2 at zs2 channel 0 # ttyc
360 1.100 pk zstty3 at zs2 channel 1 # ttyd
361 1.113 matt
362 1.150 chs zs* at bootbus? # sun4d
363 1.150 chs zstty* at zs?
364 1.150 chs
365 1.125 lukem ## NS16x50 serial chips and clones. Present on the
366 1.113 matt ## Sun JavaStation-1 and Tadpole SPARCbook 3
367 1.113 matt com* at obio0 # sun4m
368 1.66 pk
369 1.97 cjs # Parallel port.
370 1.97 cjs bpp* at sbus? slot? offset ?
371 1.66 pk
372 1.66 pk ## Magma Serial/Parallel driver
373 1.66 pk magma* at sbus? slot ? offset ?
374 1.66 pk mtty* at magma?
375 1.66 pk mbpp* at magma?
376 1.66 pk
377 1.162 mrg ## SUNW,spif Serial/Parallel driver
378 1.162 mrg spif* at sbus? slot ? offset ?
379 1.162 mrg stty* at spif?
380 1.162 mrg sbpp* at spif?
381 1.162 mrg
382 1.75 pk ## PCMCIA serial interfaces
383 1.80 abs #com* at pcmcia?
384 1.80 abs #pcmcom* at pcmcia?
385 1.80 abs #com* at pcmcom?
386 1.24 thorpej
387 1.55 pk #### Disk controllers and disks
388 1.55 pk
389 1.26 pk #
390 1.26 pk
391 1.55 pk ## The following flags may be set for the NCR53c94 based esp driver:
392 1.55 pk ## bits 0-7: disable disconnect/reselect for the corresponding target
393 1.55 pk ## bits 8-15: disable synchronous negotiation for target [bit-8]
394 1.55 pk
395 1.55 pk ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
396 1.55 pk ## Both `dma' and `esp' are needed in all cases.
397 1.55 pk ## Two kinds of additional SBus SCSI interfaces are available. One uses
398 1.55 pk ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
399 1.55 pk
400 1.55 pk ## sun4/300 SCSI - an NCR53c94 or equivalent behind
401 1.55 pk ## an LSI Logic DMA controller
402 1.55 pk
403 1.24 thorpej dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
404 1.55 pk esp0 at obio0 addr 0xfa000000 level 4 flags 0x0000 # sun4/300
405 1.1 deraadt
406 1.55 pk dma0 at sbus0 slot ? offset ? # sun4c/sun4m
407 1.51 pk esp0 at sbus0 slot ? offset ? flags 0x0000 # sun4c
408 1.51 pk esp0 at dma0 flags 0x0000 # sun4m
409 1.24 thorpej
410 1.151 fair # FSBE/S SCSI & SunSwift Sbus FAS366
411 1.55 pk dma* at sbus? slot ? offset ? # SBus
412 1.151 fair esp* at sbus? slot ? offset ? flags 0x0000 # SBus
413 1.55 pk esp* at dma? flags 0x0000 # SBus
414 1.24 thorpej
415 1.55 pk scsibus* at esp?
416 1.55 pk
417 1.55 pk ## Qlogic ISP SBus SCSI Card
418 1.42 cgd isp* at sbus? slot ? offset ?
419 1.55 pk scsibus* at isp?
420 1.42 cgd
421 1.55 pk ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
422 1.55 pk ## This driver has several flags which may be enabled by OR'ing
423 1.55 pk ## the values and using the "flags" directive.
424 1.55 pk ## Valid flags are:
425 1.55 pk ##
426 1.55 pk ## 0x01 Use DMA (may be polled)
427 1.55 pk ## 0x02 Use DMA completion interrupts
428 1.55 pk ## 0x04 Allow disconnect/reselect
429 1.55 pk ##
430 1.55 pk ## E.g. the following would enable DMA, interrupts, and reselect:
431 1.88 drochner ## si0 at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
432 1.55 pk ##
433 1.55 pk ## By default, DMA is enabled in the driver.
434 1.25 pk
435 1.88 drochner si0 at vme0 addr 0x200000 irq 2 vect 0x40
436 1.55 pk scsibus* at si?
437 1.24 thorpej
438 1.55 pk ## NCR5380-based "SCSI Weird" on-board SCSI interface found
439 1.55 pk ## on sun4/100 systems. The flags are the same as the "si"
440 1.55 pk ## controller. Note, while DMA is enabled by default, only
441 1.55 pk ## polled DMA works at this time, and reselects do not work
442 1.55 pk ## on this particular controller.
443 1.1 deraadt
444 1.55 pk sw0 at obio0 addr 0x0a000000 level 3
445 1.55 pk scsibus* at sw?
446 1.24 thorpej
447 1.75 pk ## PCMCIA SCSI controllers
448 1.80 abs #aic* at pcmcia?
449 1.189 hubertf #spc* at pcmcia?
450 1.80 abs #scsibus* at aic?
451 1.189 hubertf #scsibus* at spc?
452 1.75 pk
453 1.75 pk
454 1.55 pk ## These entries find devices on all SCSI busses and assign
455 1.55 pk ## unit numbers dynamically.
456 1.55 pk sd* at scsibus? target ? lun ? # SCSI disks
457 1.55 pk st* at scsibus? target ? lun ? # SCSI tapes
458 1.55 pk cd* at scsibus? target ? lun ? # SCSI CD-ROMs
459 1.55 pk ch* at scsibus? target ? lun ? # SCSI changer devices
460 1.55 pk ss* at scsibus? target ? lun ? # SCSI scanners
461 1.118 mjacob ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
462 1.55 pk uk* at scsibus? target ? lun ? # unknown SCSI
463 1.23 pk
464 1.9 pk
465 1.55 pk ## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
466 1.55 pk ## on sun4 systems.
467 1.88 drochner xdc0 at vme0 addr 0xee80 irq 3 vect 0x44
468 1.88 drochner xdc1 at vme0 addr 0xee90 irq 3 vect 0x45
469 1.88 drochner xdc2 at vme0 addr 0xeea0 irq 3 vect 0x46
470 1.88 drochner xdc3 at vme0 addr 0xeeb0 irq 3 vect 0x47
471 1.9 pk xd* at xdc? drive ?
472 1.16 chuck
473 1.55 pk ## Xylogics 451 or 451 VME SMD disk controllers and disks, found
474 1.55 pk ## on sun4 systems.
475 1.88 drochner xyc0 at vme0 addr 0xee40 irq 3 vect 0x48
476 1.88 drochner xyc1 at vme0 addr 0xee48 irq 3 vect 0x49
477 1.16 chuck xy* at xyc? drive ?
478 1.10 pk
479 1.24 thorpej
480 1.55 pk ## Floppy controller and drive found on SPARCstations.
481 1.55 pk
482 1.55 pk fdc0 at mainbus0 # sun4c controller
483 1.55 pk fdc0 at obio0 # sun4m controller
484 1.55 pk fd* at fdc0 # the drive itself
485 1.55 pk
486 1.75 pk ## PCMCIA IDE controllers
487 1.80 abs #wdc* at pcmcia?
488 1.149 martin #atabus* at ata?
489 1.149 martin #wd* at atabus? drive ? flags 0x0000
490 1.149 martin
491 1.55 pk ## A disk-like interface to files. Can be used to create floppy, CD,
492 1.55 pk ## miniroot images, etc.
493 1.55 pk
494 1.185 cube pseudo-device vnd
495 1.175 hubertf #options VND_COMPRESSION # compressed vnd(4)
496 1.55 pk
497 1.55 pk ## Concatenated and striped disks; with this, you can create a software-based
498 1.55 pk ## disk array similar to a "RAID 0" setup. See ccd(4).
499 1.55 pk
500 1.239 christos pseudo-device ccd
501 1.141 elric
502 1.141 elric ## Cryptographic disk devices; See cgd(4)
503 1.141 elric
504 1.239 christos #pseudo-device cgd
505 1.71 oster
506 1.71 oster ## RAIDframe disk driver: software RAID driver. See raid(4).
507 1.71 oster
508 1.240 christos pseudo-device raid
509 1.129 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
510 1.129 oster # Options to enable various other RAIDframe RAID types.
511 1.160 uwe # options RF_INCLUDE_EVENODD=1
512 1.160 uwe # options RF_INCLUDE_RAID5_RS=1
513 1.160 uwe # options RF_INCLUDE_PARITYLOGGING=1
514 1.160 uwe # options RF_INCLUDE_CHAINDECLUSTER=1
515 1.160 uwe # options RF_INCLUDE_INTERDECLUSTER=1
516 1.129 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
517 1.160 uwe # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
518 1.129 oster
519 1.55 pk
520 1.55 pk ## Memory disk device, used on boot floppies with compressed
521 1.55 pk ## kernel-plus-root-disk images.
522 1.55 pk
523 1.225 hannken #pseudo-device md
524 1.55 pk
525 1.55 pk
526 1.55 pk #### Network interfaces
527 1.55 pk
528 1.55 pk ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
529 1.55 pk ## Three flavors of additional SBus ethernets are available. One attaches
530 1.55 pk ## directly like the sun4c on-board, one uses the ledma device like the
531 1.55 pk ## sun4m on-board, and one uses the lebuffer device.
532 1.55 pk
533 1.56 pk le0 at obio0 addr 0xf9000000 level 6 # sun4/300
534 1.56 pk le0 at sbus0 slot ? offset ? # sun4c on-board
535 1.56 pk ledma0 at sbus0 slot ? offset ? # sun4m on-board
536 1.56 pk le0 at ledma0 # sun4m on-board
537 1.56 pk le* at sbus? slot ? offset ? # SBus
538 1.56 pk ledma* at sbus? slot ? offset ? # SBus
539 1.56 pk le* at ledma? # SBus
540 1.56 pk lebuffer0 at sbus? slot ? offset ? # SBus
541 1.56 pk le0 at lebuffer? # SBus
542 1.55 pk lebuffer* at sbus? slot ? offset ? # SBus
543 1.56 pk le* at lebuffer? # SBus
544 1.55 pk
545 1.55 pk
546 1.55 pk ## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
547 1.55 pk ## or on a Multibus/VME card.
548 1.55 pk ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
549 1.55 pk ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
550 1.108 pk ## VME: the first [addr,len] pair specifies the device registers;
551 1.108 pk ## the second pair specifies the on-board memory buffer
552 1.108 pk ie1 at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
553 1.108 pk ie2 at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
554 1.108 pk ie3 at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
555 1.108 pk ie4 at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
556 1.55 pk
557 1.90 hubertf ## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
558 1.90 hubertf ## (qe, 10MBd) attached.
559 1.90 hubertf qec* at sbus? slot ? offset ? # Quad Ethernet Controller
560 1.90 hubertf be* at qec? # BigMac Ethernet (10/100MBd)
561 1.90 hubertf qe* at qec? # Mace Ethernet (10MBd)
562 1.85 pk
563 1.98 pk ## Happy Meal Ethernet
564 1.98 pk hme* at sbus? slot ? offset ?
565 1.70 pk
566 1.70 pk # midway ATM
567 1.70 pk en0 at sbus? slot ? offset ?
568 1.75 pk
569 1.75 pk # PCMCIA ethernet devices
570 1.80 abs #ep* at pcmcia?
571 1.80 abs #mbe* at pcmcia?
572 1.80 abs #ne* at pcmcia?
573 1.80 abs #sm* at pcmcia?
574 1.75 pk
575 1.217 tsutsui ## PCMCIA wavelan card
576 1.217 tsutsui #wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
577 1.217 tsutsui
578 1.75 pk # MII/PHY support
579 1.81 pk exphy* at mii? phy ? # 3Com internal PHYs
580 1.131 wiz icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
581 1.81 pk inphy* at mii? phy ? # Intel 82555 PHYs
582 1.81 pk lxtphy* at mii? phy ? # Level One LXT-970 PHYs
583 1.81 pk nsphy* at mii? phy ? # NS83840 PHYs
584 1.81 pk qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
585 1.81 pk sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
586 1.81 pk tlphy* at mii? phy ? # ThunderLAN PHYs
587 1.81 pk ukphy* at mii? phy ? # generic unknown PHYs
588 1.70 pk
589 1.55 pk ## Loopback network interface; required
590 1.55 pk pseudo-device loop
591 1.55 pk
592 1.55 pk ## SLIP and CSLIP interfaces, for IP over a serial line.
593 1.185 cube pseudo-device sl
594 1.55 pk
595 1.55 pk ## PPP, the successor to SLIP. See pppd(8).
596 1.185 cube pseudo-device ppp
597 1.128 martin
598 1.128 martin ## PPP over Ethernet (RFC 2516)
599 1.128 martin pseudo-device pppoe
600 1.55 pk
601 1.55 pk ## Starmode Radio IP, a special hardware network device.
602 1.185 cube #pseudo-device strip
603 1.55 pk
604 1.55 pk ## Network "tunnel" device, allowing protocol stacks to run in the userland.
605 1.55 pk ## This is used by the third-party user-mode "ppp" program, and others.
606 1.185 cube pseudo-device tun
607 1.165 cube pseudo-device tap # virtual Ethernet
608 1.73 hwr
609 1.73 hwr ## Generic L3 over IP tunnel
610 1.185 cube #pseudo-device gre # generic L3 over IP tunnel
611 1.55 pk
612 1.55 pk ## Berkeley Packet Filter, required to run RARPD. A generic C-language
613 1.55 pk ## interface that allows selective examining of incoming packets.
614 1.184 rpaulo pseudo-device bpfilter
615 1.55 pk
616 1.188 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
617 1.188 liamjfoy
618 1.55 pk ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
619 1.55 pk ## one example of the use of the IP Filter.
620 1.55 pk pseudo-device ipfilter
621 1.55 pk
622 1.94 itojun ## for IPv6
623 1.185 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
624 1.185 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
625 1.187 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
626 1.120 hubertf
627 1.120 hubertf ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
628 1.120 hubertf pseudo-device vlan
629 1.122 atatat
630 1.122 atatat ## Simple inter-network traffic bridging
631 1.126 atatat pseudo-device bridge
632 1.160 uwe #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
633 1.199 martin pseudo-device agr # IEEE 802.3ad link aggregation
634 1.55 pk
635 1.217 tsutsui ## accept filters
636 1.217 tsutsui pseudo-device accf_data # "dataready" accept filter
637 1.217 tsutsui pseudo-device accf_http # "httpready" accept filter
638 1.217 tsutsui
639 1.55 pk #### Audio and video devices
640 1.55 pk
641 1.55 pk ## /dev/audio support (`audioamd' plus `audio')
642 1.55 pk ##
643 1.55 pk audioamd0 at mainbus0 # sun4c
644 1.142 jdc audioamd0 at obio0 # sun4m
645 1.55 pk audioamd0 at sbus0 slot ? offset ? # sun4m
646 1.70 pk
647 1.70 pk audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
648 1.55 pk
649 1.211 jdc #options DBRI_DEBUG # noisy debug output from the dbri driver
650 1.211 jdc #options DBRI_BIG_BUFFER # use bigger DMA buffers, for slow CPUs
651 1.186 macallan dbri* at sbus? slot ? offset ? # SUNW,DBRI[s3|e]
652 1.174 macallan
653 1.174 macallan audio* at audiobus?
654 1.55 pk
655 1.55 pk ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
656 1.55 pk ## systems. If your sun4 system has a cgfour installed in the P4 slot,
657 1.55 pk ## the P4 entries for "bwtwo" will attach to the overlay plane of the
658 1.55 pk ## "cgfour".
659 1.1 deraadt
660 1.55 pk bwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m
661 1.55 pk bwtwo* at sbus? slot ? offset ? #
662 1.55 pk bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
663 1.55 pk bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
664 1.55 pk bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
665 1.21 thorpej
666 1.55 pk ## Sun "cgtwo" VME color framebuffer
667 1.208 macallan # XXX no wsdisplay support
668 1.208 macallan #cgtwo0 at vme0 addr 0x400000 irq ? vect 0xa8
669 1.21 thorpej
670 1.55 pk ## Sun "cgthree" Sbus color framebuffer
671 1.55 pk cgthree0 at sbus? slot ? offset ?
672 1.55 pk cgthree* at sbus? slot ? offset ?
673 1.55 pk
674 1.55 pk ## Sun "cgfour" color framebuffer with overlay plane. See above comment
675 1.55 pk ## regarding overlay plane.
676 1.208 macallan # XXX no wsdisplay support
677 1.208 macallan #cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
678 1.208 macallan #cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
679 1.55 pk
680 1.55 pk ## Sun "cgsix" accelerated color framebuffer.
681 1.55 pk cgsix0 at sbus? slot ? offset ?
682 1.55 pk cgsix* at sbus? slot ? offset ?
683 1.55 pk cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
684 1.55 pk cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
685 1.55 pk
686 1.55 pk ## Sun "cgeight" 24-bit framebuffer
687 1.208 macallan # XXX no wsdisplay support
688 1.208 macallan #cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
689 1.208 macallan #cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
690 1.55 pk
691 1.55 pk ## Sun "tcx" accelerated color framebuffer.
692 1.215 macallan # there can be only one
693 1.215 macallan tcx0 at sbus? slot ? offset ?
694 1.33 abrown
695 1.221 macallan ## Sun CG12 / Matrox SG3 accelerated 24bit framebuffer
696 1.221 macallan ## runs monochrome only for now
697 1.221 macallan cgtwelve* at sbus? slot ? offset ?
698 1.221 macallan
699 1.33 abrown # Sun "cgfourteen" accelerated 24-bit framebuffer.
700 1.208 macallan cgfourteen* at obio0 # sun4m
701 1.1 deraadt
702 1.106 matt # P9100-based display on Tadpole SPARCbook 3.
703 1.106 matt pnozz0 at sbus? slot ? offset ?
704 1.220 macallan # the SPARCbook 3 hardware docs say that accesses to P9100 registers need to be
705 1.220 macallan # 'latched in' but at least my 3GX works happily without
706 1.220 macallan # Enable it by default since we don't know which hardware really needs it.
707 1.220 macallan options PNOZZ_USE_LATCH
708 1.136 ad
709 1.136 ad # Sun ZX/Leo 24-bit framebuffer
710 1.213 macallan zx* at sbus? slot ? offset ?
711 1.208 macallan
712 1.208 macallan # Fujitsu AG-10e accelerated graphics 8/24-bit board
713 1.208 macallan agten* at sbus? slot ? offset ?
714 1.208 macallan
715 1.213 macallan # generic framebuffer console
716 1.213 macallan genfb* at sbus? slot ? offset ?
717 1.213 macallan
718 1.208 macallan # make sure wsdisplay0 is the console
719 1.208 macallan wsdisplay0 at wsemuldisplaydev? console 1
720 1.208 macallan wsdisplay* at wsemuldisplaydev?
721 1.1 deraadt
722 1.55 pk #### Other device configuration
723 1.106 matt
724 1.106 matt # Tadpole microcontroller
725 1.106 matt tctrl0 at obio0
726 1.24 thorpej
727 1.219 bouyer # Aurora Personality Chip (APC) on SPARCstation-4/5
728 1.219 bouyer # Not enabled by default as it may hang some systems
729 1.219 bouyer #apc* at sbus? slot ? offset ?
730 1.219 bouyer
731 1.55 pk ## Pseudo ttys, required for network logins and programs like screen.
732 1.24 thorpej
733 1.117 jdolecek pseudo-device pty # pseudo-terminals
734 1.55 pk
735 1.55 pk ## Random device, used to implement /dev/random (a source of random noise),
736 1.55 pk ## and generate randomness for some kernel formulae.
737 1.55 pk
738 1.91 phil
739 1.91 phil # a pseudo device needed for Coda # also needs CODA (above)
740 1.240 christos pseudo-device vcoda # coda minicache <-> venus comm.
741 1.135 lukem
742 1.135 lukem pseudo-device clockctl # user control of clock subsystem
743 1.147 ragge pseudo-device ksyms # /dev/ksyms
744 1.155 itojun #pseudo-device pf # PF packet filter
745 1.155 itojun #pseudo-device pflog # PF log if
746 1.222 pooka pseudo-device fss # file system snapshot device
747 1.208 macallan pseudo-device wsmux # mouse and keyboard multiplexor
748 1.208 macallan pseudo-device wsfont
749 1.218 pooka pseudo-device putter # for puffs and pud
750 1.182 elad
751 1.211 jdc #options FILEASSOC # fileassoc(9)
752 1.197 elad
753 1.182 elad # Veriexec
754 1.182 elad #
755 1.182 elad # a pseudo device needed for veriexec
756 1.240 christos #pseudo-device veriexec
757 1.182 elad #
758 1.182 elad # Uncomment the fingerprint methods below that are desired. Note that
759 1.182 elad # removing fingerprint methods will have almost no impact on the kernel
760 1.182 elad # code size.
761 1.182 elad #
762 1.182 elad #options VERIFIED_EXEC_FP_RMD160
763 1.182 elad #options VERIFIED_EXEC_FP_SHA256
764 1.182 elad #options VERIFIED_EXEC_FP_SHA384
765 1.182 elad #options VERIFIED_EXEC_FP_SHA512
766 1.182 elad #options VERIFIED_EXEC_FP_SHA1
767 1.182 elad #options VERIFIED_EXEC_FP_MD5
768 1.193 elad
769 1.194 elad #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
770 1.197 elad # (for static binaries only for now)
771