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