GENERIC revision 1.123.6.5 1 1.123.6.5 nathanw # $NetBSD: GENERIC,v 1.123.6.5 2002/06/20 03:41:01 nathanw Exp $
2 1.123.6.2 nathanw #
3 1.123.6.2 nathanw # GENERIC machine description file
4 1.123.6.2 nathanw #
5 1.123.6.2 nathanw # This machine description file is used to generate the default NetBSD
6 1.123.6.2 nathanw # kernel. The generic kernel does not include all options, subsystems
7 1.123.6.2 nathanw # and device drivers, but should be useful for most applications.
8 1.123.6.2 nathanw #
9 1.123.6.2 nathanw # The machine description file can be customised for your specific
10 1.123.6.2 nathanw # machine to reduce the kernel size and improve its performance.
11 1.123.6.2 nathanw #
12 1.123.6.2 nathanw # For further information on compiling NetBSD kernels, see the config(8)
13 1.123.6.2 nathanw # man page.
14 1.123.6.2 nathanw #
15 1.123.6.2 nathanw # For further information on hardware support for this architecture, see
16 1.123.6.2 nathanw # the intro(4) man page. For further information about kernel options
17 1.123.6.2 nathanw # for this architecture, see the options(4) man page. For an explanation
18 1.123.6.2 nathanw # of each device driver in this file see the section 4 man page for the
19 1.123.6.2 nathanw # device.
20 1.123.6.2 nathanw
21 1.123.6.2 nathanw include "arch/sparc/conf/std.sparc"
22 1.123.6.2 nathanw
23 1.123.6.5 nathanw options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.123.6.5 nathanw
25 1.123.6.5 nathanw #ident "GENERIC-$Revision: 1.123.6.5 $"
26 1.123.6.2 nathanw
27 1.123.6.2 nathanw maxusers 32
28 1.123.6.2 nathanw
29 1.123.6.2 nathanw ## System kernel configuration. See options(4) for more detail.
30 1.123.6.2 nathanw
31 1.123.6.2 nathanw
32 1.123.6.2 nathanw # Options for variants of the Sun SPARC architecure.
33 1.123.6.2 nathanw # We currently support three architecture types; at least one is required.
34 1.123.6.2 nathanw options SUN4 # sun4/100, sun4/200, sun4/300
35 1.123.6.2 nathanw options SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
36 1.123.6.2 nathanw options SUN4M # sun4m - SS10, SS20, Classic, etc.
37 1.123.6.2 nathanw
38 1.123.6.2 nathanw options SUN4_MMU3L # sun4/400 3-level MMU
39 1.123.6.2 nathanw
40 1.123.6.2 nathanw ## System options specific to the sparc machine type
41 1.123.6.2 nathanw
42 1.123.6.2 nathanw # Blink the power LED on some machines to indicate the system load.
43 1.123.6.2 nathanw #options BLINK
44 1.123.6.2 nathanw
45 1.123.6.2 nathanw ## Use a faster console than the PROM's slow drawing routines. Not needed
46 1.123.6.2 nathanw ## for headless (no framebuffer) machines.
47 1.123.6.2 nathanw options RASTERCONSOLE # fast rasterop console
48 1.123.6.2 nathanw options FONT_GALLANT12x22 # the console font
49 1.123.6.2 nathanw #options FONT_BOLD8x16 # a somewhat smaller font
50 1.123.6.2 nathanw ## default console colors: black-on-white; this can be changed
51 1.123.6.2 nathanw ## using the following two options.
52 1.123.6.2 nathanw #options RASTERCONSOLE_FGCOL=WSCOL_BLACK
53 1.123.6.2 nathanw #options RASTERCONSOLE_BGCOL=WSCOL_WHITE
54 1.123.6.2 nathanw
55 1.123.6.2 nathanw #### System options that are the same for all ports
56 1.123.6.2 nathanw
57 1.123.6.2 nathanw ## Root device configuration: change the ?'s if you are going to use a
58 1.123.6.2 nathanw ## nonstandard root partition (other than where the kernel is booted from)
59 1.123.6.2 nathanw ## and/or nonstandard root type (not ffs or nfs). Normally this can be
60 1.123.6.2 nathanw ## automagically determined at boot time.
61 1.123.6.2 nathanw
62 1.123.6.2 nathanw config netbsd root on ? type ?
63 1.123.6.2 nathanw
64 1.123.6.2 nathanw ## System call tracing (see ktrace(1)).
65 1.123.6.2 nathanw options KTRACE
66 1.123.6.2 nathanw
67 1.123.6.2 nathanw ## Collect statistics on kernel malloc's and free's. This does have a
68 1.123.6.2 nathanw ## significant performance hit on slower machines, so it is intended for
69 1.123.6.2 nathanw ## diagnostic use only.
70 1.123.6.2 nathanw #options KMEMSTATS
71 1.123.6.2 nathanw
72 1.123.6.2 nathanw ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
73 1.123.6.2 nathanw options SYSVMSG # System V message queues
74 1.123.6.2 nathanw options SYSVSEM # System V semaphores
75 1.123.6.2 nathanw #options SEMMNI=10 # number of semaphore identifiers
76 1.123.6.2 nathanw #options SEMMNS=60 # number of semaphores in system
77 1.123.6.2 nathanw #options SEMUME=10 # max number of undo entries per process
78 1.123.6.2 nathanw #options SEMMNU=30 # number of undo structures in system
79 1.123.6.2 nathanw options SYSVSHM # System V shared memory
80 1.123.6.2 nathanw #options SHMMAXPGS=1024 # 1024 pages is the default
81 1.123.6.2 nathanw
82 1.123.6.2 nathanw ## Loadable kernel module support; still under development.
83 1.123.6.2 nathanw options LKM
84 1.123.6.2 nathanw
85 1.123.6.4 nathanw #options USERCONF # userconf(4) support
86 1.123.6.3 nathanw #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
87 1.123.6.3 nathanw
88 1.123.6.5 nathanw ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
89 1.123.6.2 nathanw options NFS_BOOT_BOOTPARAM
90 1.123.6.2 nathanw #options NFS_BOOT_BOOTP
91 1.123.6.5 nathanw options NFS_BOOT_DHCP
92 1.123.6.2 nathanw
93 1.123.6.2 nathanw #### Debugging options
94 1.123.6.2 nathanw
95 1.123.6.2 nathanw ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
96 1.123.6.2 nathanw ## serial console break or keyboard reset, where the PROM would normally
97 1.123.6.2 nathanw ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
98 1.123.6.2 nathanw #options DDB # kernel dynamic debugger
99 1.123.6.2 nathanw #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
100 1.123.6.2 nathanw #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
101 1.123.6.2 nathanw
102 1.123.6.2 nathanw ## You may also use gdb, on another computer connected to this machine over
103 1.123.6.2 nathanw ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
104 1.123.6.2 nathanw ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
105 1.123.6.2 nathanw ## the minor device number encodes the PROM enumeration of the serial ports,
106 1.123.6.2 nathanw ## i.e.:
107 1.123.6.2 nathanw ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
108 1.123.6.2 nathanw ## (Note: ttyc and ttyd are available only on some sun4 models)
109 1.123.6.2 nathanw #options KGDB # support for kernel gdb
110 1.123.6.2 nathanw #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
111 1.123.6.2 nathanw #options KGDB_DEVRATE=38400 # baud rate
112 1.123.6.2 nathanw
113 1.123.6.2 nathanw
114 1.123.6.2 nathanw ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
115 1.123.6.2 nathanw ## such that gdb(1) can be used on a kernel coredump.
116 1.123.6.2 nathanw
117 1.123.6.2 nathanw #makeoptions DEBUG="-g"
118 1.123.6.2 nathanw
119 1.123.6.2 nathanw
120 1.123.6.2 nathanw ## Adds code to the kernel that does internal consistency checks, and will
121 1.123.6.2 nathanw ## cause the kernel to panic if corruption of internal data structures
122 1.123.6.2 nathanw ## is detected.
123 1.123.6.2 nathanw #options DIAGNOSTIC # extra kernel sanity checking
124 1.123.6.2 nathanw
125 1.123.6.2 nathanw ## Enable (possibly expensive) debugging code that may also display messages
126 1.123.6.2 nathanw ## on the system console
127 1.123.6.2 nathanw #options DEBUG
128 1.123.6.2 nathanw
129 1.123.6.2 nathanw ## Make SCSI error messages more verbose when explaining their meanings.
130 1.123.6.2 nathanw options SCSIVERBOSE
131 1.123.6.2 nathanw
132 1.123.6.2 nathanw options MIIVERBOSE # verbose PHY autoconfig messages
133 1.123.6.2 nathanw
134 1.123.6.2 nathanw ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
135 1.123.6.2 nathanw ## This allows writing to /dev/mem, loading kernel modules while multi-user,
136 1.123.6.2 nathanw ## and other insecurities good only for development work. Do not use this
137 1.123.6.2 nathanw ## option on a production machine.
138 1.123.6.2 nathanw #options INSECURE
139 1.123.6.2 nathanw
140 1.123.6.2 nathanw ## Allow non-root users to grab /dev/console with programs such as xconsole.
141 1.123.6.2 nathanw ## `xconsole' therefore does not need setuid root with this option enabled.
142 1.123.6.2 nathanw #options UCONSOLE
143 1.123.6.2 nathanw
144 1.123.6.2 nathanw ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
145 1.123.6.2 nathanw ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
146 1.123.6.2 nathanw ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
147 1.123.6.2 nathanw ## opaque file mechanism. Perl calls this "secure setuid scripts."
148 1.123.6.2 nathanw
149 1.123.6.2 nathanw #options FDSCRIPTS
150 1.123.6.2 nathanw #options SETUIDSCRIPTS
151 1.123.6.2 nathanw
152 1.123.6.2 nathanw ## Options for compatibility with previous releases foreign system binaries.
153 1.123.6.2 nathanw ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
154 1.123.6.2 nathanw ## additional user-level utilities or system configuration files. See
155 1.123.6.2 nathanw ## compat_sunos(8) and compat_svr4(8).
156 1.123.6.2 nathanw
157 1.123.6.2 nathanw options COMPAT_43 # 4.3BSD system interfaces
158 1.123.6.2 nathanw options COMPAT_10 # NetBSD 1.0 binary compatibility
159 1.123.6.2 nathanw options COMPAT_11 # NetBSD 1.1 binary compatibility
160 1.123.6.2 nathanw options COMPAT_12 # NetBSD 1.2 binary compatibility
161 1.123.6.2 nathanw options COMPAT_13 # NetBSD 1.3 binary compatibility
162 1.123.6.2 nathanw options COMPAT_14 # NetBSD 1.4 binary compatibility
163 1.123.6.2 nathanw options COMPAT_SUNOS # SunOS 4.x binary compatibility
164 1.123.6.2 nathanw options COMPAT_SVR4 # SunOS 5.x binary compatibility
165 1.123.6.2 nathanw
166 1.123.6.2 nathanw ## File systems. You probably need at least one of FFS or NFS.
167 1.123.6.2 nathanw file-system FFS # Berkeley Fast Filesystem
168 1.123.6.2 nathanw file-system NFS # Sun NFS-compatible filesystem client
169 1.123.6.2 nathanw file-system KERNFS # kernel data-structure filesystem
170 1.123.6.2 nathanw file-system NULLFS # NULL layered filesystem
171 1.123.6.2 nathanw file-system OVERLAY # overlay file system
172 1.123.6.2 nathanw file-system MFS # memory-based filesystem
173 1.123.6.2 nathanw file-system FDESC # user file descriptor filesystem
174 1.123.6.2 nathanw file-system UMAPFS # uid/gid remapping filesystem
175 1.123.6.2 nathanw file-system LFS # Log-based filesystem (still experimental)
176 1.123.6.2 nathanw file-system PORTAL # portal filesystem (still experimental)
177 1.123.6.2 nathanw file-system PROCFS # /proc
178 1.123.6.2 nathanw file-system CD9660 # ISO 9660 + Rock Ridge file system
179 1.123.6.2 nathanw file-system UNION # union file system
180 1.123.6.2 nathanw file-system MSDOSFS # MS-DOS FAT filesystem(s).
181 1.123.6.2 nathanw file-system CODA # Coda File System; also needs vcoda (below)
182 1.123.6.2 nathanw
183 1.123.6.2 nathanw ## File system options.
184 1.123.6.2 nathanw options NFSSERVER # Sun NFS-compatible filesystem server
185 1.123.6.2 nathanw options QUOTA # FFS quotas
186 1.123.6.2 nathanw #options FFS_EI # FFS Endian Independent support
187 1.123.6.2 nathanw options SOFTDEP # FFS soft updates support.
188 1.123.6.2 nathanw
189 1.123.6.2 nathanw ## Network protocol support. In most environments, INET is required.
190 1.123.6.2 nathanw options INET # IP (Internet Protocol) v4
191 1.123.6.2 nathanw options INET6 # IPV6
192 1.123.6.2 nathanw #options IPSEC # IP security
193 1.123.6.2 nathanw #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
194 1.123.6.2 nathanw #options IPSEC_DEBUG # debug for IP security
195 1.123.6.2 nathanw #options GATEWAY # packet forwarding ("router switch")
196 1.123.6.2 nathanw #options MROUTING # packet forwarding of multicast packets
197 1.123.6.2 nathanw #options DIRECTED_BROADCAST # allow broadcasts through routers
198 1.123.6.2 nathanw options NS # Xerox NS networking
199 1.123.6.2 nathanw #options NSIP # Xerox NS tunneling over IP
200 1.123.6.2 nathanw options ISO,TPIP # OSI networking
201 1.123.6.2 nathanw #options EON # OSI tunneling over IP
202 1.123.6.2 nathanw #options CCITT,LLC,HDLC # X.25 packet switched protocol
203 1.123.6.2 nathanw #options NETATALK # AppleTalk (over Ethernet) protocol
204 1.123.6.2 nathanw options NTP # Network Time Protocol in-kernel support
205 1.123.6.2 nathanw #options PPS_SYNC # Add serial line synchronization for NTP
206 1.123.6.2 nathanw options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
207 1.123.6.2 nathanw options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
208 1.123.6.2 nathanw options PPP_BSDCOMP # Add BSD compression to ppp device
209 1.123.6.2 nathanw options PPP_DEFLATE # Add deflate (libz) compression to ppp device
210 1.123.6.2 nathanw options PPP_FILTER # Add active filters for ppp (via bpf)
211 1.123.6.2 nathanw
212 1.123.6.2 nathanw
213 1.123.6.2 nathanw
214 1.123.6.2 nathanw #### Main bus and CPU .. all systems.
215 1.123.6.2 nathanw mainbus0 at root
216 1.123.6.2 nathanw cpu0 at mainbus0
217 1.123.6.2 nathanw
218 1.123.6.2 nathanw #### Bus types found on SPARC systems.
219 1.123.6.2 nathanw
220 1.123.6.2 nathanw sbus0 at mainbus0 # sun4c
221 1.123.6.2 nathanw obio0 at mainbus0 # sun4 and sun4m
222 1.123.6.2 nathanw sparcvme0 at mainbus0 # sun4
223 1.123.6.2 nathanw iommu0 at mainbus0 # sun4m
224 1.123.6.2 nathanw sbus0 at iommu0 # sun4m
225 1.123.6.2 nathanw sparcvme0 at iommu0 # sun4m
226 1.123.6.2 nathanw vme0 at sparcvme0 # mi VME attachment
227 1.123.6.2 nathanw
228 1.123.6.2 nathanw ## SBus expander box
229 1.123.6.2 nathanw xbox* at sbus? slot ? offset ?
230 1.123.6.2 nathanw sbus* at xbox?
231 1.123.6.2 nathanw
232 1.123.6.2 nathanw ## SBus to PCMCIA bridge
233 1.123.6.2 nathanw # Currently enabling nell* with audioamd* causes panic at attach
234 1.123.6.2 nathanw #nell* at sbus? slot ? offset ? # PCMCIA bridge
235 1.123.6.2 nathanw #pcmcia* at nell?
236 1.123.6.2 nathanw
237 1.123.6.2 nathanw #### Standard system devices -- all required for a given architecture
238 1.123.6.2 nathanw
239 1.123.6.2 nathanw ## Auxiliary system registers on sun4c and sun4m
240 1.123.6.2 nathanw auxreg0 at mainbus0 # sun4c
241 1.123.6.2 nathanw auxreg0 at obio0 # sun4m
242 1.123.6.2 nathanw auxiotwo0 at obio0 # only on Tadpole SPARCbook.
243 1.123.6.2 nathanw
244 1.123.6.2 nathanw ## Power status and control register on Sun4m systems
245 1.123.6.2 nathanw power0 at obio0
246 1.123.6.2 nathanw
247 1.123.6.2 nathanw ## Mostek clock found on 4/300, sun4c, and sun4m systems.
248 1.123.6.2 nathanw ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
249 1.123.6.2 nathanw clock0 at mainbus0 # sun4c
250 1.123.6.2 nathanw clock0 at obio0 # sun4m
251 1.123.6.2 nathanw clock0 at obio0 addr 0xf2000000 # sun4/300
252 1.123.6.2 nathanw
253 1.123.6.2 nathanw ## Intersil clock found on 4/100 and 4/200 systems.
254 1.123.6.2 nathanw oclock0 at obio0 addr 0xf3000000 # sun4/200
255 1.123.6.2 nathanw oclock0 at obio0 addr 0x03000000 # sun4/100
256 1.123.6.2 nathanw
257 1.123.6.2 nathanw ## Memory error registers.
258 1.123.6.2 nathanw memreg0 at mainbus0 # sun4c
259 1.123.6.2 nathanw memreg0 at obio0 # sun4m
260 1.123.6.2 nathanw memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
261 1.123.6.2 nathanw memreg0 at obio0 addr 0x04000000 # sun4/100
262 1.123.6.2 nathanw
263 1.123.6.2 nathanw ## ECC memory control
264 1.123.6.2 nathanw eccmemctl0 at mainbus0 # sun4m
265 1.123.6.2 nathanw
266 1.123.6.2 nathanw ## Timer chip found on 4/300, sun4c, and sun4m systems.
267 1.123.6.2 nathanw timer0 at mainbus0 # sun4c
268 1.123.6.2 nathanw timer0 at obio0 # sun4m
269 1.123.6.2 nathanw timer0 at obio0 addr 0xef000000 # sun4/300
270 1.123.6.2 nathanw
271 1.123.6.2 nathanw ## EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
272 1.123.6.2 nathanw ## doesn't use this driver; the `EEPROM' is in the NVRAM on the
273 1.123.6.2 nathanw ## Mostek clock chip on 4/300 systems.
274 1.123.6.2 nathanw eeprom0 at obio0 addr 0xf2000000 # sun4/200
275 1.123.6.2 nathanw eeprom0 at obio0 addr 0x02000000 # sun4/100
276 1.123.6.2 nathanw
277 1.123.6.2 nathanw
278 1.123.6.2 nathanw #### Serial port configuration
279 1.123.6.2 nathanw
280 1.123.6.2 nathanw ## Zilog 8530 serial chips. Each has two-channels.
281 1.123.6.2 nathanw ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
282 1.123.6.2 nathanw zs0 at mainbus0 # sun4c
283 1.123.6.2 nathanw zs0 at obio0 # sun4m
284 1.123.6.2 nathanw zs0 at obio0 addr 0xf1000000 level 12 # sun4/200 and sun4/300
285 1.123.6.2 nathanw zs0 at obio0 addr 0x01000000 level 12 # sun4/100
286 1.123.6.2 nathanw zstty0 at zs0 channel 0 # ttya
287 1.123.6.2 nathanw zstty1 at zs0 channel 1 # ttyb
288 1.123.6.2 nathanw
289 1.123.6.2 nathanw zs1 at mainbus0 # sun4c
290 1.123.6.2 nathanw zs1 at obio0 # sun4m
291 1.123.6.2 nathanw zs1 at obio0 addr 0xf0000000 level 12 # sun4/200 and sun4/300
292 1.123.6.2 nathanw zs1 at obio0 addr 0x00000000 level 12 # sun4/100
293 1.123.6.2 nathanw kbd0 at zs1 channel 0 # keyboard
294 1.123.6.2 nathanw ms0 at zs1 channel 1 # mouse
295 1.123.6.2 nathanw
296 1.123.6.2 nathanw zs2 at obio0 addr 0xe0000000 level 12 # sun4/300
297 1.123.6.2 nathanw zstty2 at zs2 channel 0 # ttyc
298 1.123.6.2 nathanw zstty3 at zs2 channel 1 # ttyd
299 1.123.6.2 nathanw
300 1.123.6.2 nathanw ## NS16x50 serial chips and clones. Present on the
301 1.123.6.2 nathanw ## Sun JavaStation-1 and Tadpole SPARCbook 3
302 1.123.6.2 nathanw com* at obio0 # sun4m
303 1.123.6.2 nathanw
304 1.123.6.2 nathanw # Parallel port.
305 1.123.6.2 nathanw bpp* at sbus? slot? offset ?
306 1.123.6.2 nathanw
307 1.123.6.2 nathanw ## Magma Serial/Parallel driver
308 1.123.6.2 nathanw magma* at sbus? slot ? offset ?
309 1.123.6.2 nathanw mtty* at magma?
310 1.123.6.2 nathanw mbpp* at magma?
311 1.123.6.2 nathanw
312 1.123.6.2 nathanw ## PCMCIA serial interfaces
313 1.123.6.2 nathanw #com* at pcmcia?
314 1.123.6.2 nathanw #pcmcom* at pcmcia?
315 1.123.6.2 nathanw #com* at pcmcom?
316 1.123.6.2 nathanw
317 1.123.6.2 nathanw #### Disk controllers and disks
318 1.123.6.2 nathanw
319 1.123.6.2 nathanw #
320 1.123.6.2 nathanw
321 1.123.6.2 nathanw ## The following flags may be set for the NCR53c94 based esp driver:
322 1.123.6.2 nathanw ## bits 0-7: disable disconnect/reselect for the corresponding target
323 1.123.6.2 nathanw ## bits 8-15: disable synchronous negotiation for target [bit-8]
324 1.123.6.2 nathanw
325 1.123.6.2 nathanw ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
326 1.123.6.2 nathanw ## Both `dma' and `esp' are needed in all cases.
327 1.123.6.2 nathanw ## Two kinds of additional SBus SCSI interfaces are available. One uses
328 1.123.6.2 nathanw ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
329 1.123.6.2 nathanw
330 1.123.6.2 nathanw ## sun4/300 SCSI - an NCR53c94 or equivalent behind
331 1.123.6.2 nathanw ## an LSI Logic DMA controller
332 1.123.6.2 nathanw
333 1.123.6.2 nathanw dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
334 1.123.6.2 nathanw esp0 at obio0 addr 0xfa000000 level 4 flags 0x0000 # sun4/300
335 1.123.6.2 nathanw
336 1.123.6.2 nathanw dma0 at sbus0 slot ? offset ? # sun4c/sun4m
337 1.123.6.2 nathanw esp0 at sbus0 slot ? offset ? flags 0x0000 # sun4c
338 1.123.6.2 nathanw esp0 at dma0 flags 0x0000 # sun4m
339 1.123.6.2 nathanw
340 1.123.6.2 nathanw # FSBE/S SCSI
341 1.123.6.2 nathanw dma* at sbus? slot ? offset ? # SBus
342 1.123.6.2 nathanw esp* at sbus? slot ? offset ? flags 0x0000 # SBus (older proms)
343 1.123.6.2 nathanw esp* at dma? flags 0x0000 # SBus
344 1.123.6.2 nathanw
345 1.123.6.2 nathanw scsibus* at esp?
346 1.123.6.2 nathanw
347 1.123.6.2 nathanw ## Qlogic ISP SBus SCSI Card
348 1.123.6.2 nathanw isp* at sbus? slot ? offset ?
349 1.123.6.2 nathanw scsibus* at isp?
350 1.123.6.2 nathanw
351 1.123.6.2 nathanw ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
352 1.123.6.2 nathanw ## This driver has several flags which may be enabled by OR'ing
353 1.123.6.2 nathanw ## the values and using the "flags" directive.
354 1.123.6.2 nathanw ## Valid flags are:
355 1.123.6.2 nathanw ##
356 1.123.6.2 nathanw ## 0x01 Use DMA (may be polled)
357 1.123.6.2 nathanw ## 0x02 Use DMA completion interrupts
358 1.123.6.2 nathanw ## 0x04 Allow disconnect/reselect
359 1.123.6.2 nathanw ##
360 1.123.6.2 nathanw ## E.g. the following would enable DMA, interrupts, and reselect:
361 1.123.6.2 nathanw ## si0 at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
362 1.123.6.2 nathanw ##
363 1.123.6.2 nathanw ## By default, DMA is enabled in the driver.
364 1.123.6.2 nathanw
365 1.123.6.2 nathanw si0 at vme0 addr 0x200000 irq 2 vect 0x40
366 1.123.6.2 nathanw scsibus* at si?
367 1.123.6.2 nathanw
368 1.123.6.2 nathanw ## NCR5380-based "SCSI Weird" on-board SCSI interface found
369 1.123.6.2 nathanw ## on sun4/100 systems. The flags are the same as the "si"
370 1.123.6.2 nathanw ## controller. Note, while DMA is enabled by default, only
371 1.123.6.2 nathanw ## polled DMA works at this time, and reselects do not work
372 1.123.6.2 nathanw ## on this particular controller.
373 1.123.6.2 nathanw
374 1.123.6.2 nathanw sw0 at obio0 addr 0x0a000000 level 3
375 1.123.6.2 nathanw scsibus* at sw?
376 1.123.6.2 nathanw
377 1.123.6.2 nathanw ## PCMCIA SCSI controllers
378 1.123.6.2 nathanw #aic* at pcmcia?
379 1.123.6.2 nathanw #scsibus* at aic?
380 1.123.6.2 nathanw
381 1.123.6.2 nathanw
382 1.123.6.2 nathanw ## These entries find devices on all SCSI busses and assign
383 1.123.6.2 nathanw ## unit numbers dynamically.
384 1.123.6.2 nathanw sd* at scsibus? target ? lun ? # SCSI disks
385 1.123.6.2 nathanw st* at scsibus? target ? lun ? # SCSI tapes
386 1.123.6.2 nathanw cd* at scsibus? target ? lun ? # SCSI CD-ROMs
387 1.123.6.2 nathanw ch* at scsibus? target ? lun ? # SCSI changer devices
388 1.123.6.2 nathanw ss* at scsibus? target ? lun ? # SCSI scanners
389 1.123.6.2 nathanw ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
390 1.123.6.2 nathanw uk* at scsibus? target ? lun ? # unknown SCSI
391 1.123.6.2 nathanw
392 1.123.6.2 nathanw
393 1.123.6.2 nathanw ## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
394 1.123.6.2 nathanw ## on sun4 systems.
395 1.123.6.2 nathanw xdc0 at vme0 addr 0xee80 irq 3 vect 0x44
396 1.123.6.2 nathanw xdc1 at vme0 addr 0xee90 irq 3 vect 0x45
397 1.123.6.2 nathanw xdc2 at vme0 addr 0xeea0 irq 3 vect 0x46
398 1.123.6.2 nathanw xdc3 at vme0 addr 0xeeb0 irq 3 vect 0x47
399 1.123.6.2 nathanw xd* at xdc? drive ?
400 1.123.6.2 nathanw
401 1.123.6.2 nathanw ## Xylogics 451 or 451 VME SMD disk controllers and disks, found
402 1.123.6.2 nathanw ## on sun4 systems.
403 1.123.6.2 nathanw xyc0 at vme0 addr 0xee40 irq 3 vect 0x48
404 1.123.6.2 nathanw xyc1 at vme0 addr 0xee48 irq 3 vect 0x49
405 1.123.6.2 nathanw xy* at xyc? drive ?
406 1.123.6.2 nathanw
407 1.123.6.2 nathanw
408 1.123.6.2 nathanw ## Floppy controller and drive found on SPARCstations.
409 1.123.6.2 nathanw
410 1.123.6.2 nathanw fdc0 at mainbus0 # sun4c controller
411 1.123.6.2 nathanw fdc0 at obio0 # sun4m controller
412 1.123.6.2 nathanw fd* at fdc0 # the drive itself
413 1.123.6.2 nathanw
414 1.123.6.2 nathanw ## PCMCIA IDE controllers
415 1.123.6.2 nathanw #wdc* at pcmcia?
416 1.123.6.2 nathanw #wd* at wdc?
417 1.123.6.2 nathanw
418 1.123.6.2 nathanw ## A disk-like interface to files. Can be used to create floppy, CD,
419 1.123.6.2 nathanw ## miniroot images, etc.
420 1.123.6.2 nathanw
421 1.123.6.2 nathanw pseudo-device vnd 4
422 1.123.6.2 nathanw
423 1.123.6.2 nathanw ## Concatenated and striped disks; with this, you can create a software-based
424 1.123.6.2 nathanw ## disk array similar to a "RAID 0" setup. See ccd(4).
425 1.123.6.2 nathanw
426 1.123.6.2 nathanw pseudo-device ccd 4
427 1.123.6.2 nathanw
428 1.123.6.2 nathanw ## RAIDframe disk driver: software RAID driver. See raid(4).
429 1.123.6.2 nathanw
430 1.123.6.3 nathanw pseudo-device raid 8
431 1.123.6.3 nathanw options RAID_AUTOCONFIG # auto-configuration of RAID components
432 1.123.6.3 nathanw # Options to enable various other RAIDframe RAID types.
433 1.123.6.3 nathanw # options RF_INCLUDE_EVENODD=1
434 1.123.6.3 nathanw # options RF_INCLUDE_RAID5_RS=1
435 1.123.6.3 nathanw # options RF_INCLUDE_PARITYLOGGING=1
436 1.123.6.3 nathanw # options RF_INCLUDE_CHAINDECLUSTER=1
437 1.123.6.3 nathanw # options RF_INCLUDE_INTERDECLUSTER=1
438 1.123.6.3 nathanw # options RF_INCLUDE_PARITY_DECLUSTERING=1
439 1.123.6.3 nathanw # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
440 1.123.6.3 nathanw
441 1.123.6.2 nathanw
442 1.123.6.2 nathanw ## Memory disk device, used on boot floppies with compressed
443 1.123.6.2 nathanw ## kernel-plus-root-disk images.
444 1.123.6.2 nathanw
445 1.123.6.2 nathanw #pseudo-device md 1
446 1.123.6.2 nathanw
447 1.123.6.2 nathanw
448 1.123.6.2 nathanw #### Network interfaces
449 1.123.6.2 nathanw
450 1.123.6.2 nathanw ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
451 1.123.6.2 nathanw ## Three flavors of additional SBus ethernets are available. One attaches
452 1.123.6.2 nathanw ## directly like the sun4c on-board, one uses the ledma device like the
453 1.123.6.2 nathanw ## sun4m on-board, and one uses the lebuffer device.
454 1.123.6.2 nathanw
455 1.123.6.2 nathanw le0 at obio0 addr 0xf9000000 level 6 # sun4/300
456 1.123.6.2 nathanw le0 at sbus0 slot ? offset ? # sun4c on-board
457 1.123.6.2 nathanw ledma0 at sbus0 slot ? offset ? # sun4m on-board
458 1.123.6.2 nathanw le0 at ledma0 # sun4m on-board
459 1.123.6.2 nathanw le* at sbus? slot ? offset ? # SBus
460 1.123.6.2 nathanw ledma* at sbus? slot ? offset ? # SBus
461 1.123.6.2 nathanw le* at ledma? # SBus
462 1.123.6.2 nathanw lebuffer0 at sbus? slot ? offset ? # SBus
463 1.123.6.2 nathanw le0 at lebuffer? # SBus
464 1.123.6.2 nathanw lebuffer* at sbus? slot ? offset ? # SBus
465 1.123.6.2 nathanw le* at lebuffer? # SBus
466 1.123.6.2 nathanw
467 1.123.6.2 nathanw
468 1.123.6.2 nathanw ## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
469 1.123.6.2 nathanw ## or on a Multibus/VME card.
470 1.123.6.2 nathanw ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
471 1.123.6.2 nathanw ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
472 1.123.6.2 nathanw ## VME: the first [addr,len] pair specifies the device registers;
473 1.123.6.2 nathanw ## the second pair specifies the on-board memory buffer
474 1.123.6.2 nathanw ie1 at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
475 1.123.6.2 nathanw ie2 at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
476 1.123.6.2 nathanw ie3 at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
477 1.123.6.2 nathanw ie4 at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
478 1.123.6.2 nathanw
479 1.123.6.2 nathanw ## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
480 1.123.6.2 nathanw ## (qe, 10MBd) attached.
481 1.123.6.2 nathanw qec* at sbus? slot ? offset ? # Quad Ethernet Controller
482 1.123.6.2 nathanw be* at qec? # BigMac Ethernet (10/100MBd)
483 1.123.6.2 nathanw qe* at qec? # Mace Ethernet (10MBd)
484 1.123.6.2 nathanw
485 1.123.6.2 nathanw ## Happy Meal Ethernet
486 1.123.6.2 nathanw hme* at sbus? slot ? offset ?
487 1.123.6.2 nathanw
488 1.123.6.2 nathanw # midway ATM
489 1.123.6.2 nathanw en0 at sbus? slot ? offset ?
490 1.123.6.2 nathanw
491 1.123.6.2 nathanw # PCMCIA ethernet devices
492 1.123.6.2 nathanw #ep* at pcmcia?
493 1.123.6.2 nathanw #mbe* at pcmcia?
494 1.123.6.2 nathanw #ne* at pcmcia?
495 1.123.6.2 nathanw #sm* at pcmcia?
496 1.123.6.2 nathanw
497 1.123.6.2 nathanw # MII/PHY support
498 1.123.6.2 nathanw exphy* at mii? phy ? # 3Com internal PHYs
499 1.123.6.3 nathanw icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
500 1.123.6.2 nathanw inphy* at mii? phy ? # Intel 82555 PHYs
501 1.123.6.2 nathanw lxtphy* at mii? phy ? # Level One LXT-970 PHYs
502 1.123.6.2 nathanw nsphy* at mii? phy ? # NS83840 PHYs
503 1.123.6.2 nathanw qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
504 1.123.6.2 nathanw sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
505 1.123.6.2 nathanw tlphy* at mii? phy ? # ThunderLAN PHYs
506 1.123.6.2 nathanw ukphy* at mii? phy ? # generic unknown PHYs
507 1.123.6.2 nathanw
508 1.123.6.2 nathanw ## Loopback network interface; required
509 1.123.6.2 nathanw pseudo-device loop
510 1.123.6.2 nathanw
511 1.123.6.2 nathanw ## SLIP and CSLIP interfaces, for IP over a serial line.
512 1.123.6.2 nathanw pseudo-device sl 2
513 1.123.6.2 nathanw
514 1.123.6.2 nathanw ## PPP, the successor to SLIP. See pppd(8).
515 1.123.6.2 nathanw pseudo-device ppp 2
516 1.123.6.2 nathanw
517 1.123.6.2 nathanw ## PPP over Ethernet (RFC 2516)
518 1.123.6.2 nathanw pseudo-device pppoe
519 1.123.6.2 nathanw
520 1.123.6.2 nathanw ## Starmode Radio IP, a special hardware network device.
521 1.123.6.2 nathanw #pseudo-device strip 1
522 1.123.6.2 nathanw
523 1.123.6.2 nathanw ## Network "tunnel" device, allowing protocol stacks to run in the userland.
524 1.123.6.2 nathanw ## This is used by the third-party user-mode "ppp" program, and others.
525 1.123.6.2 nathanw pseudo-device tun 4
526 1.123.6.2 nathanw
527 1.123.6.2 nathanw ## Generic L3 over IP tunnel
528 1.123.6.2 nathanw #pseudo-device gre 2 # generic L3 over IP tunnel
529 1.123.6.2 nathanw
530 1.123.6.2 nathanw ## Berkeley Packet Filter, required to run RARPD. A generic C-language
531 1.123.6.2 nathanw ## interface that allows selective examining of incoming packets.
532 1.123.6.2 nathanw pseudo-device bpfilter 8
533 1.123.6.2 nathanw
534 1.123.6.2 nathanw ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
535 1.123.6.2 nathanw ## one example of the use of the IP Filter.
536 1.123.6.2 nathanw pseudo-device ipfilter
537 1.123.6.2 nathanw
538 1.123.6.2 nathanw ## for IPv6
539 1.123.6.2 nathanw pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
540 1.123.6.2 nathanw #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
541 1.123.6.2 nathanw #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
542 1.123.6.2 nathanw
543 1.123.6.2 nathanw ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
544 1.123.6.2 nathanw pseudo-device vlan
545 1.123.6.2 nathanw
546 1.123.6.2 nathanw ## Simple inter-network traffic bridging
547 1.123.6.2 nathanw pseudo-device bridge
548 1.123.6.2 nathanw
549 1.123.6.2 nathanw #### Audio and video devices
550 1.123.6.2 nathanw
551 1.123.6.2 nathanw ## /dev/audio support (`audioamd' plus `audio')
552 1.123.6.2 nathanw ##
553 1.123.6.2 nathanw audioamd0 at mainbus0 # sun4c
554 1.123.6.2 nathanw #audioamd0 at obio0 # sun4m
555 1.123.6.2 nathanw audioamd0 at sbus0 slot ? offset ? # sun4m
556 1.123.6.2 nathanw audio* at audioamd0
557 1.123.6.2 nathanw
558 1.123.6.2 nathanw audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
559 1.123.6.2 nathanw audio* at audiocs0
560 1.123.6.2 nathanw
561 1.123.6.2 nathanw
562 1.123.6.2 nathanw ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
563 1.123.6.2 nathanw ## systems. If your sun4 system has a cgfour installed in the P4 slot,
564 1.123.6.2 nathanw ## the P4 entries for "bwtwo" will attach to the overlay plane of the
565 1.123.6.2 nathanw ## "cgfour".
566 1.123.6.2 nathanw
567 1.123.6.2 nathanw bwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m
568 1.123.6.2 nathanw bwtwo* at sbus? slot ? offset ? #
569 1.123.6.2 nathanw bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
570 1.123.6.2 nathanw bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
571 1.123.6.2 nathanw bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
572 1.123.6.2 nathanw
573 1.123.6.2 nathanw ## Sun "cgtwo" VME color framebuffer
574 1.123.6.2 nathanw cgtwo0 at vme0 addr 0x400000 irq ? vect 0xa8
575 1.123.6.2 nathanw
576 1.123.6.2 nathanw ## Sun "cgthree" Sbus color framebuffer
577 1.123.6.2 nathanw cgthree0 at sbus? slot ? offset ?
578 1.123.6.2 nathanw cgthree* at sbus? slot ? offset ?
579 1.123.6.2 nathanw #cgthree0 at obio? slot ? offset ? # sun4m
580 1.123.6.2 nathanw
581 1.123.6.2 nathanw ## Sun "cgfour" color framebuffer with overlay plane. See above comment
582 1.123.6.2 nathanw ## regarding overlay plane.
583 1.123.6.2 nathanw cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
584 1.123.6.2 nathanw cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
585 1.123.6.2 nathanw
586 1.123.6.2 nathanw ## Sun "cgsix" accelerated color framebuffer.
587 1.123.6.2 nathanw cgsix0 at sbus? slot ? offset ?
588 1.123.6.2 nathanw cgsix* at sbus? slot ? offset ?
589 1.123.6.2 nathanw cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
590 1.123.6.2 nathanw cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
591 1.123.6.2 nathanw
592 1.123.6.2 nathanw ## Sun "cgeight" 24-bit framebuffer
593 1.123.6.2 nathanw cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
594 1.123.6.2 nathanw cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
595 1.123.6.2 nathanw
596 1.123.6.2 nathanw ## Sun "tcx" accelerated color framebuffer.
597 1.123.6.2 nathanw tcx0 at sbus? slot ? offset ?
598 1.123.6.2 nathanw tcx* at sbus? slot ? offset ?
599 1.123.6.2 nathanw
600 1.123.6.2 nathanw # Sun "cgfourteen" accelerated 24-bit framebuffer.
601 1.123.6.2 nathanw cgfourteen0 at obio0 # sun4m
602 1.123.6.2 nathanw
603 1.123.6.2 nathanw # P9100-based display on Tadpole SPARCbook 3.
604 1.123.6.2 nathanw pnozz0 at sbus? slot ? offset ?
605 1.123.6.2 nathanw
606 1.123.6.2 nathanw #### Other device configuration
607 1.123.6.2 nathanw
608 1.123.6.2 nathanw # Tadpole microcontroller
609 1.123.6.2 nathanw tctrl0 at obio0
610 1.123.6.2 nathanw
611 1.123.6.2 nathanw ## Pseudo ttys, required for network logins and programs like screen.
612 1.123.6.2 nathanw
613 1.123.6.2 nathanw pseudo-device pty # pseudo-terminals
614 1.123.6.2 nathanw
615 1.123.6.2 nathanw ## Random device, used to implement /dev/random (a source of random noise),
616 1.123.6.2 nathanw ## and generate randomness for some kernel formulae.
617 1.123.6.2 nathanw
618 1.123.6.2 nathanw pseudo-device rnd
619 1.123.6.2 nathanw
620 1.123.6.2 nathanw # a pseudo device needed for Coda # also needs CODA (above)
621 1.123.6.2 nathanw pseudo-device vcoda 4 # coda minicache <-> venus comm.
622 1.123.6.5 nathanw
623 1.123.6.5 nathanw pseudo-device clockctl # user control of clock subsystem
624