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