GENERIC32 revision 1.23.2.11 1 1.23.2.11 thorpej # $NetBSD: GENERIC32,v 1.23.2.11 2002/12/11 06:12:20 thorpej Exp $
2 1.23.2.2 nathanw
3 1.23.2.2 nathanw include "arch/sparc64/conf/std.sparc64"
4 1.23.2.2 nathanw
5 1.23.2.5 nathanw options INCLUDE_CONFIG_FILE # embed config file in kernel binary
6 1.23.2.5 nathanw
7 1.23.2.11 thorpej #ident "GENERIC-$Revision: 1.23.2.11 $"
8 1.23.2.2 nathanw
9 1.23.2.2 nathanw maxusers 64
10 1.23.2.2 nathanw
11 1.23.2.2 nathanw ## System kernel configuration. See options(4) for more detail.
12 1.23.2.2 nathanw
13 1.23.2.2 nathanw
14 1.23.2.2 nathanw # Options for variants of the Sun SPARC architecure.
15 1.23.2.2 nathanw # We currently support three architecture types; at least one is required.
16 1.23.2.2 nathanw options SUN4U # sun4u - UltraSPARC
17 1.23.2.4 nathanw #options BLINK # blink the system LED
18 1.23.2.2 nathanw
19 1.23.2.2 nathanw ## System options specific to the sparc machine type
20 1.23.2.2 nathanw
21 1.23.2.2 nathanw ## Use a faster console than the PROM's slow drawing routines. Not needed
22 1.23.2.2 nathanw ## for headless (no framebuffer) machines.
23 1.23.2.2 nathanw # XXX borken on sparc64
24 1.23.2.2 nathanw #options RASTERCONSOLE # fast rasterop console
25 1.23.2.2 nathanw #options FONT_GALLANT12x22 # the console font
26 1.23.2.2 nathanw #options FONT_BOLD8x16 # a somewhat smaller font
27 1.23.2.2 nathanw
28 1.23.2.2 nathanw #### System options that are the same for all ports
29 1.23.2.2 nathanw
30 1.23.2.2 nathanw ## Root device configuration: change the ?'s if you are going to use a
31 1.23.2.2 nathanw ## nonstandard root partition (other than where the kernel is booted from)
32 1.23.2.2 nathanw ## and/or nonstandard root type (not ffs or nfs). Normally this can be
33 1.23.2.2 nathanw ## automagically determined at boot time.
34 1.23.2.2 nathanw
35 1.23.2.2 nathanw config netbsd root on ? type ?
36 1.23.2.2 nathanw
37 1.23.2.2 nathanw ## UVM options.
38 1.23.2.2 nathanw #options UVM_PAGE_TRKOWN
39 1.23.2.2 nathanw #options UVMHIST
40 1.23.2.2 nathanw #options UVMHIST_PRINT # Loud!
41 1.23.2.2 nathanw
42 1.23.2.2 nathanw ## System call tracing (see ktrace(1)).
43 1.23.2.2 nathanw options KTRACE
44 1.23.2.9 nathanw options SYSTRACE # system call vetting via systrace(1)
45 1.23.2.2 nathanw
46 1.23.2.2 nathanw ## Collect statistics on kernel malloc's and free's. This does have a
47 1.23.2.2 nathanw ## significant performance hit on slower machines, so it is intended for
48 1.23.2.2 nathanw ## diagnostic use only.
49 1.23.2.2 nathanw #options KMEMSTATS
50 1.23.2.2 nathanw
51 1.23.2.2 nathanw ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
52 1.23.2.2 nathanw options SYSVMSG # System V message queues
53 1.23.2.2 nathanw options SYSVSEM # System V semaphores
54 1.23.2.2 nathanw options SYSVSHM # System V shared memory
55 1.23.2.2 nathanw #options SHMMAXPGS=1024 # 1024 pages is the default
56 1.23.2.2 nathanw
57 1.23.2.2 nathanw ## Loadable kernel module support; still under development.
58 1.23.2.2 nathanw options LKM
59 1.23.2.2 nathanw
60 1.23.2.9 nathanw options USERCONF # userconf(4) support
61 1.23.2.3 nathanw #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
62 1.23.2.3 nathanw
63 1.23.2.11 thorpej # Enable experimental buffer queue strategy for better responsiveness under
64 1.23.2.10 nathanw # high disk I/O load. Use it with caution - it's not proven to be stable yet.
65 1.23.2.10 nathanw #options NEW_BUFQ_STRATEGY
66 1.23.2.10 nathanw
67 1.23.2.9 nathanw ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
68 1.23.2.2 nathanw options NFS_BOOT_BOOTPARAM
69 1.23.2.2 nathanw #options NFS_BOOT_BOOTP
70 1.23.2.9 nathanw options NFS_BOOT_DHCP
71 1.23.2.2 nathanw
72 1.23.2.2 nathanw #### Debugging options
73 1.23.2.2 nathanw
74 1.23.2.2 nathanw ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
75 1.23.2.2 nathanw ## serial console break or keyboard reset, where the PROM would normally
76 1.23.2.2 nathanw ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
77 1.23.2.2 nathanw # we enable DDB in GENERIC for now.
78 1.23.2.2 nathanw options DDB # kernel dynamic debugger
79 1.23.2.2 nathanw options DDB_HISTORY_SIZE=100 # enable history editing in DDB
80 1.23.2.2 nathanw #options DDB_ONPANIC # see also sysctl(8): `ddb.onpanic'
81 1.23.2.2 nathanw
82 1.23.2.2 nathanw ## You may also use gdb, on another computer connected to this machine over
83 1.23.2.2 nathanw ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
84 1.23.2.2 nathanw ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
85 1.23.2.2 nathanw ## (0xc01 = ttya, 0xc02 = ttyb.)
86 1.23.2.2 nathanw #options KGDB # support for kernel gdb
87 1.23.2.2 nathanw #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
88 1.23.2.2 nathanw #options KGDB_DEVRATE=38400 # baud rate
89 1.23.2.2 nathanw
90 1.23.2.2 nathanw
91 1.23.2.2 nathanw ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
92 1.23.2.2 nathanw ## such that gdb(1) can be used on a kernel coredump.
93 1.23.2.2 nathanw
94 1.23.2.2 nathanw #makeoptions DEBUG="-g"
95 1.23.2.2 nathanw
96 1.23.2.2 nathanw
97 1.23.2.2 nathanw ## Adds code to the kernel that does internal consistency checks, and will
98 1.23.2.2 nathanw ## cause the kernel to panic if corruption of internal data structures
99 1.23.2.2 nathanw ## is detected.
100 1.23.2.2 nathanw #options DIAGNOSTIC # extra kernel sanity checking
101 1.23.2.2 nathanw
102 1.23.2.2 nathanw ## Enable (possibly expensive) debugging code that may also display messages
103 1.23.2.2 nathanw ## on the system console
104 1.23.2.2 nathanw #options DEBUG
105 1.23.2.2 nathanw
106 1.23.2.2 nathanw ## Make SCSI error messages more verbose when explaining their meanings.
107 1.23.2.2 nathanw options SCSIVERBOSE
108 1.23.2.2 nathanw options PCIVERBOSE
109 1.23.2.2 nathanw options MIIVERBOSE # verbose PHY autoconfig messages
110 1.23.2.2 nathanw #options PCI_CONFIG_DUMP # verbosely dump PCI config space
111 1.23.2.2 nathanw
112 1.23.2.2 nathanw ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
113 1.23.2.2 nathanw ## This allows writing to /dev/mem, loading kernel modules while multi-user,
114 1.23.2.2 nathanw ## and other insecurities good only for development work. Do not use this
115 1.23.2.2 nathanw ## option on a production machine.
116 1.23.2.2 nathanw #options INSECURE
117 1.23.2.2 nathanw
118 1.23.2.2 nathanw ## Allow non-root users to grab /dev/console with programs such as xconsole.
119 1.23.2.2 nathanw ## `xconsole' therefore does not need setuid root with this option enabled.
120 1.23.2.2 nathanw #options UCONSOLE
121 1.23.2.2 nathanw
122 1.23.2.2 nathanw ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
123 1.23.2.2 nathanw ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
124 1.23.2.2 nathanw ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
125 1.23.2.2 nathanw ## opaque file mechanism. Perl calls this "secure setuid scripts."
126 1.23.2.2 nathanw
127 1.23.2.2 nathanw #options FDSCRIPTS
128 1.23.2.2 nathanw #options SETUIDSCRIPTS
129 1.23.2.2 nathanw
130 1.23.2.2 nathanw ## Options for compatibility with previous releases foreign system binaries.
131 1.23.2.2 nathanw ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
132 1.23.2.2 nathanw ## additional user-level utilities or system configuration files. See
133 1.23.2.2 nathanw ## compat_sunos(8) and compat_svr4(8).
134 1.23.2.2 nathanw
135 1.23.2.2 nathanw options COMPAT_43 # 4.3BSD system interfaces
136 1.23.2.2 nathanw options COMPAT_09 # NetBSD 0.9 binary compatibility
137 1.23.2.2 nathanw options COMPAT_10 # NetBSD 1.0 binary compatibility
138 1.23.2.2 nathanw options COMPAT_11 # NetBSD 1.1 binary compatibility
139 1.23.2.2 nathanw options COMPAT_12 # NetBSD 1.2 binary compatibility
140 1.23.2.2 nathanw options COMPAT_13 # NetBSD 1.3 binary compatibility
141 1.23.2.2 nathanw options COMPAT_14 # NetBSD 1.4 binary compatibility
142 1.23.2.2 nathanw options COMPAT_SUNOS # SunOS 4.x binary compatibility
143 1.23.2.2 nathanw options COMPAT_SVR4 # SunOS 5.x binary compatibility
144 1.23.2.2 nathanw #options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility -- 64-bit only
145 1.23.2.2 nathanw #options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only
146 1.23.2.2 nathanw options EXEC_AOUT # execve(2) support for a.out binaries
147 1.23.2.2 nathanw options EXEC_ELF32 # Exec module for SunOS 5.x binaries.
148 1.23.2.2 nathanw #options SYSCALL_DEBUG
149 1.23.2.2 nathanw
150 1.23.2.2 nathanw #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
151 1.23.2.2 nathanw
152 1.23.2.2 nathanw ## File systems. You probably need at least one of FFS or NFS.
153 1.23.2.2 nathanw file-system FFS # Berkeley Fast Filesystem
154 1.23.2.2 nathanw file-system NFS # Sun NFS-compatible filesystem client
155 1.23.2.2 nathanw file-system KERNFS # kernel data-structure filesystem
156 1.23.2.2 nathanw file-system NULLFS # NULL layered filesystem
157 1.23.2.2 nathanw file-system OVERLAY # overlay file system
158 1.23.2.2 nathanw file-system MFS # memory-based filesystem
159 1.23.2.2 nathanw file-system FDESC # user file descriptor filesystem
160 1.23.2.2 nathanw file-system UMAPFS # uid/gid remapping filesystem
161 1.23.2.2 nathanw file-system LFS # Log-based filesystem (still experimental)
162 1.23.2.2 nathanw file-system PORTAL # portal filesystem (still experimental)
163 1.23.2.2 nathanw file-system PROCFS # /proc
164 1.23.2.2 nathanw file-system CD9660 # ISO 9660 + Rock Ridge file system
165 1.23.2.2 nathanw file-system UNION # union file system
166 1.23.2.2 nathanw file-system MSDOSFS # MS-DOS FAT filesystem(s).
167 1.23.2.2 nathanw
168 1.23.2.2 nathanw ## File system options.
169 1.23.2.2 nathanw options NFSSERVER # Sun NFS-compatible filesystem server
170 1.23.2.2 nathanw options QUOTA # FFS quotas
171 1.23.2.2 nathanw #options FFS_EI # FFS Endian Independent support
172 1.23.2.2 nathanw options SOFTDEP # FFS soft updates support.
173 1.23.2.2 nathanw
174 1.23.2.2 nathanw ## Network protocol support. In most environments, INET is required.
175 1.23.2.2 nathanw options INET # IP (Internet Protocol) v4
176 1.23.2.2 nathanw options INET6 # IPV6
177 1.23.2.2 nathanw #options IPSEC # IP security
178 1.23.2.2 nathanw #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
179 1.23.2.2 nathanw #options IPSEC_DEBUG # debug for IP security
180 1.23.2.2 nathanw #options GATEWAY # packet forwarding ("router switch")
181 1.23.2.2 nathanw options MROUTING # packet forwarding of multicast packets
182 1.23.2.2 nathanw #options DIRECTED_BROADCAST # allow broadcasts through routers
183 1.23.2.2 nathanw options NS # Xerox NS networking
184 1.23.2.2 nathanw #options NSIP # Xerox NS tunneling over IP
185 1.23.2.2 nathanw options ISO,TPIP # OSI networking
186 1.23.2.2 nathanw options EON # OSI tunneling over IP
187 1.23.2.2 nathanw #options CCITT,LLC,HDLC # X.25 packet switched protocol
188 1.23.2.2 nathanw options NETATALK # AppleTalk (over Ethernet) protocol
189 1.23.2.2 nathanw options NTP # Network Time Protocol in-kernel support
190 1.23.2.2 nathanw #options PPS_SYNC # Add serial line synchronization for NTP
191 1.23.2.2 nathanw options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
192 1.23.2.2 nathanw options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
193 1.23.2.9 nathanw #options IPFILTER_DEFAULT_BLOCK # block all packets by default
194 1.23.2.2 nathanw options PPP_BSDCOMP # Add BSD compression to ppp device
195 1.23.2.2 nathanw options PPP_DEFLATE # Add deflate (libz) compression to ppp device
196 1.23.2.2 nathanw options PPP_FILTER # Add active filters for ppp (via bpf)
197 1.23.2.2 nathanw #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
198 1.23.2.2 nathanw
199 1.23.2.2 nathanw
200 1.23.2.2 nathanw #### Main bus and CPU .. all systems.
201 1.23.2.2 nathanw mainbus0 at root
202 1.23.2.2 nathanw cpu0 at mainbus0
203 1.23.2.2 nathanw
204 1.23.2.2 nathanw #### Bus types found on SPARC systems.
205 1.23.2.2 nathanw
206 1.23.2.2 nathanw sbus0 at mainbus0 # Ultra 1
207 1.23.2.2 nathanw #upa0 at mainbus0 # Ultra 1E, Ultra 2, Ex0000
208 1.23.2.2 nathanw psycho* at mainbus0 # Darwin, Ultra5
209 1.23.2.2 nathanw pci* at psycho?
210 1.23.2.2 nathanw pci* at ppb?
211 1.23.2.5 nathanw ppb* at pci? # `APB' support.
212 1.23.2.2 nathanw ebus* at pci? # ebus devices
213 1.23.2.2 nathanw # XXX 'puc's aren't really bridges, but there's no better place for them here
214 1.23.2.2 nathanw puc* at pci? dev ? function ? # PCI "universal" comm. cards
215 1.23.2.2 nathanw
216 1.23.2.2 nathanw #### Standard system devices -- all required for a given architecture
217 1.23.2.2 nathanw
218 1.23.2.2 nathanw ## PROM console driver -- if all else fails
219 1.23.2.2 nathanw pcons0 at mainbus0 # PROM console
220 1.23.2.2 nathanw
221 1.23.2.2 nathanw ## Auxiliary system registers -- We use the OBP for power management
222 1.23.2.2 nathanw auxio* at ebus? # auxio registers
223 1.23.2.2 nathanw auxio* at sbus? slot ? offset ? # auxio registers
224 1.23.2.2 nathanw
225 1.23.2.2 nathanw # We also need:
226 1.23.2.2 nathanw bpp* at sbus? slot ? offset ? # parallel port
227 1.23.2.2 nathanw lpt* at ebus? # parallel port
228 1.23.2.2 nathanw
229 1.23.2.2 nathanw ## Mostek clock found on 4/300, sun4c, sun4m and sun4u systems.
230 1.23.2.2 nathanw ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
231 1.23.2.2 nathanw clock* at sbus? slot ? offset ?
232 1.23.2.2 nathanw clock* at ebus?
233 1.23.2.5 nathanw rtc* at ebus?
234 1.23.2.2 nathanw
235 1.23.2.2 nathanw ## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
236 1.23.2.2 nathanw timer* at mainbus0 # sun4c
237 1.23.2.2 nathanw
238 1.23.2.2 nathanw #### Serial port configuration
239 1.23.2.2 nathanw
240 1.23.2.2 nathanw ## Zilog 8530 serial chips. Each has two-channels.
241 1.23.2.2 nathanw ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
242 1.23.2.2 nathanw zs* at sbus? slot ? offset ?
243 1.23.2.2 nathanw zstty* at zs? channel ? # ttya
244 1.23.2.2 nathanw kbd0 at zstty?
245 1.23.2.2 nathanw ms0 at zstty?
246 1.23.2.2 nathanw
247 1.23.2.2 nathanw ## PCI machines have serial ports:
248 1.23.2.2 nathanw ## Siemens SAB82532 controller: ttya and ttyb (`su'; sab)
249 1.23.2.2 nathanw ## Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com)
250 1.23.2.2 nathanw
251 1.23.2.2 nathanw ## The SAB82532 controller has two serial ports
252 1.23.2.7 nathanw sab* at ebus? # ttya/ttyb
253 1.23.2.7 nathanw sabtty* at sab? channel ?
254 1.23.2.2 nathanw
255 1.23.2.2 nathanw ## Part of a PC87332VLJ
256 1.23.2.2 nathanw com* at ebus? # `com' driver for `su'
257 1.23.2.2 nathanw kbd0 at com? # keyboard
258 1.23.2.2 nathanw ms0 at com? # mouse
259 1.23.2.2 nathanw
260 1.23.2.2 nathanw # PCI serial interfaces
261 1.23.2.2 nathanw com* at puc? port ? # 16x50s on "universal" comm boards
262 1.23.2.2 nathanw cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
263 1.23.2.2 nathanw cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
264 1.23.2.2 nathanw
265 1.23.2.2 nathanw #### Disk controllers and disks
266 1.23.2.2 nathanw
267 1.23.2.2 nathanw ## The following flags may be set for the NCR53c94 based esp driver:
268 1.23.2.2 nathanw ## bits 0-7: disable disconnect/reselect for the corresponding target
269 1.23.2.2 nathanw ## bits 8-15: disable synchronous negotiation for target [bit-8]
270 1.23.2.2 nathanw
271 1.23.2.2 nathanw ## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
272 1.23.2.2 nathanw ## equivalent behind an LSI Logic DMA controller
273 1.23.2.2 nathanw
274 1.23.2.9 nathanw # XXX - the esp driver has problems with tagged queueing.
275 1.23.2.9 nathanw # To avoid these, tagged queueing has been disabled for the first 8 targets
276 1.23.2.9 nathanw # by setting those bits to 1 (starting at bit 16, see esp(4) for details).
277 1.23.2.9 nathanw # If you want tagged queueing, and are sure it works for you, set the flags
278 1.23.2.9 nathanw # value to 0. CAVEAT: using tagged queueing currently can cause data loss!
279 1.23.2.9 nathanw
280 1.23.2.2 nathanw dma* at sbus? slot ? offset ? # SBus
281 1.23.2.9 nathanw esp* at dma? flags 0x00ff0000 # SBus
282 1.23.2.2 nathanw
283 1.23.2.9 nathanw esp* at sbus? slot ? offset ? flags 0x00ff0000
284 1.23.2.2 nathanw isp* at sbus? slot ? offset ?
285 1.23.2.6 nathanw isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
286 1.23.2.6 nathanw siop* at pci? # 53C875 "glm" compatible
287 1.23.2.2 nathanw
288 1.23.2.2 nathanw # PCI SCSI controllers
289 1.23.2.2 nathanw # UT marks untested.
290 1.23.2.2 nathanw adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
291 1.23.2.2 nathanw adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
292 1.23.2.2 nathanw ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI UT
293 1.23.2.2 nathanw bha* at pci? dev ? function ? # BusLogic 9xx SCSI UT
294 1.23.2.2 nathanw dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID UT
295 1.23.2.2 nathanw iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
296 1.23.2.2 nathanw pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI UT
297 1.23.2.2 nathanw trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
298 1.23.2.2 nathanw
299 1.23.2.2 nathanw scsibus* at scsi?
300 1.23.2.2 nathanw
301 1.23.2.2 nathanw ## These entries find devices on all SCSI busses and assign
302 1.23.2.2 nathanw ## unit numbers dynamically.
303 1.23.2.2 nathanw sd* at scsibus? target ? lun ? # SCSI disks
304 1.23.2.2 nathanw st* at scsibus? target ? lun ? # SCSI tapes
305 1.23.2.2 nathanw cd* at scsibus? target ? lun ? # SCSI CD-ROMs
306 1.23.2.2 nathanw ch* at scsibus? target ? lun ? # SCSI changer devices
307 1.23.2.2 nathanw ss* at scsibus? target ? lun ? # SCSI scanners
308 1.23.2.2 nathanw ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
309 1.23.2.2 nathanw uk* at scsibus? target ? lun ? # unknown SCSI
310 1.23.2.2 nathanw
311 1.23.2.10 nathanw # IDE and related devices
312 1.23.2.10 nathanw # PCI IDE controllers - see pciide(4) for supported hardware.
313 1.23.2.10 nathanw # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
314 1.23.2.10 nathanw # how to set up DMA modes for this chip. This may work, or may cause
315 1.23.2.10 nathanw # a machine hang with some controllers.
316 1.23.2.10 nathanw pciide* at pci? dev ? function ? flags 0x0000
317 1.23.2.2 nathanw atapibus* at pciide? channel ?
318 1.23.2.2 nathanw
319 1.23.2.10 nathanw # IDE drives
320 1.23.2.10 nathanw # Flags are used only with controllers that support DMA operations
321 1.23.2.10 nathanw # and mode settings (e.g. some pciide controllers)
322 1.23.2.10 nathanw # The lowest order four bits (rightmost digit) of the flags define the PIO
323 1.23.2.10 nathanw # mode to use, the next set of four bits the DMA mode and the third set the
324 1.23.2.10 nathanw # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
325 1.23.2.10 nathanw # to use, and the last bit must be 1 for this setting to be used.
326 1.23.2.10 nathanw # For DMA and UDMA, 0xf (1111) means 'disable'.
327 1.23.2.10 nathanw # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
328 1.23.2.10 nathanw # (0xc=1100, 0xa=1010, 0xf=1111)
329 1.23.2.10 nathanw # 0x0000 means "use whatever the drive claims to support".
330 1.23.2.10 nathanw
331 1.23.2.2 nathanw ## Disable UDMA 4 which causes data corruption on the Acer Labs
332 1.23.2.2 nathanw ## chipset on Sun Blade 100 and Netra X1 machines.
333 1.23.2.2 nathanw wd* at pciide? channel ? drive ? flags 0x0a00 # Disable UDMA 4
334 1.23.2.2 nathanw
335 1.23.2.2 nathanw cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
336 1.23.2.2 nathanw sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
337 1.23.2.2 nathanw uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
338 1.23.2.2 nathanw
339 1.23.2.2 nathanw # RAID controllers and devices (untested)
340 1.23.2.2 nathanw cac* at pci? dev ? function ? # Compaq PCI array controllers
341 1.23.2.2 nathanw mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
342 1.23.2.2 nathanw twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
343 1.23.2.2 nathanw
344 1.23.2.2 nathanw ld* at cac? unit ? # logical disk devices
345 1.23.2.2 nathanw ld* at twe? unit ?
346 1.23.2.2 nathanw ld* at mlx? unit ?
347 1.23.2.2 nathanw
348 1.23.2.2 nathanw ## Floppy controller and drive found on SPARCstations.
349 1.23.2.2 nathanw
350 1.23.2.2 nathanw # need share with the sparc, and everyone else. needs to use auxio.
351 1.23.2.2 nathanw # actually, the ebus version has (will have) direct access to it's AUXIO
352 1.23.2.2 nathanw # register space (it is mapped in to fdthree not auxio).
353 1.23.2.2 nathanw #fdc0 at sbus? slot ? offset ? # SUNW,fdtwo
354 1.23.2.2 nathanw #fdc0 at ebus? # fdthree
355 1.23.2.2 nathanw #fd* at fdc0 # the drive itself
356 1.23.2.2 nathanw
357 1.23.2.2 nathanw ## A disk-like interface to files. Can be used to create floppy, CD,
358 1.23.2.2 nathanw ## miniroot images, etc.
359 1.23.2.2 nathanw
360 1.23.2.2 nathanw pseudo-device vnd 4
361 1.23.2.2 nathanw
362 1.23.2.2 nathanw ## Concatenated and striped disks; with this, you can create a software-based
363 1.23.2.2 nathanw ## disk array similar to a "RAID 0" setup. See ccd(4).
364 1.23.2.2 nathanw
365 1.23.2.2 nathanw pseudo-device ccd 4
366 1.23.2.2 nathanw
367 1.23.2.9 nathanw ## Cryptographic disk devices. See cgd(4).
368 1.23.2.9 nathanw
369 1.23.2.9 nathanw #pseudo-device cgd 4
370 1.23.2.9 nathanw
371 1.23.2.2 nathanw ## RAIDframe disk driver: software RAID driver. See raid(4).
372 1.23.2.2 nathanw
373 1.23.2.3 nathanw pseudo-device raid 8
374 1.23.2.3 nathanw options RAID_AUTOCONFIG # auto-configuration of RAID components
375 1.23.2.3 nathanw # Options to enable various other RAIDframe RAID types.
376 1.23.2.3 nathanw # options RF_INCLUDE_EVENODD=1
377 1.23.2.3 nathanw # options RF_INCLUDE_RAID5_RS=1
378 1.23.2.3 nathanw # options RF_INCLUDE_PARITYLOGGING=1
379 1.23.2.3 nathanw # options RF_INCLUDE_CHAINDECLUSTER=1
380 1.23.2.3 nathanw # options RF_INCLUDE_INTERDECLUSTER=1
381 1.23.2.3 nathanw # options RF_INCLUDE_PARITY_DECLUSTERING=1
382 1.23.2.3 nathanw # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
383 1.23.2.3 nathanw
384 1.23.2.2 nathanw
385 1.23.2.2 nathanw ## Memory disk device, used on boot floppies with compressed
386 1.23.2.2 nathanw ## kernel-plus-root-disk images.
387 1.23.2.2 nathanw
388 1.23.2.2 nathanw pseudo-device md 1
389 1.23.2.2 nathanw
390 1.23.2.2 nathanw
391 1.23.2.2 nathanw #### Network interfaces
392 1.23.2.2 nathanw
393 1.23.2.2 nathanw ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
394 1.23.2.2 nathanw ## Three flavors of additional SBus ethernets are available. One attaches
395 1.23.2.2 nathanw ## directly like the sun4c on-board, one uses the ledma device like the
396 1.23.2.2 nathanw ## sun4m on-board, and one uses the lebuffer device.
397 1.23.2.2 nathanw
398 1.23.2.2 nathanw ledma0 at sbus? slot ? offset ? # sun4m on-board
399 1.23.2.2 nathanw le0 at ledma0 # sun4m on-board
400 1.23.2.2 nathanw le* at sbus? slot ? offset ? # SBus
401 1.23.2.2 nathanw ledma* at sbus? slot ? offset ? # SBus
402 1.23.2.2 nathanw le* at ledma? # SBus
403 1.23.2.2 nathanw lebuffer0 at sbus? slot ? offset ? # SBus
404 1.23.2.2 nathanw le0 at lebuffer? # SBus
405 1.23.2.2 nathanw lebuffer* at sbus? slot ? offset ? # SBus
406 1.23.2.2 nathanw le* at lebuffer? # SBus
407 1.23.2.2 nathanw
408 1.23.2.2 nathanw ## Happy Meal Ethernet
409 1.23.2.2 nathanw hme* at sbus? slot ? offset ?
410 1.23.2.2 nathanw hme* at pci? dev ? function ? # network "hme" compatible
411 1.23.2.2 nathanw
412 1.23.2.2 nathanw ## qec/be, qec/hme
413 1.23.2.2 nathanw qec* at sbus? slot ? offset ?
414 1.23.2.2 nathanw be* at qec?
415 1.23.2.2 nathanw qe* at qec?
416 1.23.2.2 nathanw
417 1.23.2.2 nathanw # PCI network interfaces
418 1.23.2.2 nathanw # UT marks untested.
419 1.23.2.2 nathanw an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) UT
420 1.23.2.2 nathanw en* at pci? dev ? function ? # ENI/Adaptec ATM UT
421 1.23.2.2 nathanw # XXX causes ICE
422 1.23.2.2 nathanw #ep* at pci? dev ? function ? # 3Com 3c59x
423 1.23.2.2 nathanw ex* at pci? dev ? function ? # 3Com 90x[B] UT
424 1.23.2.2 nathanw epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet UT
425 1.23.2.2 nathanw esh* at pci? dev ? function ? # Essential HIPPI card UT
426 1.23.2.2 nathanw fpa* at pci? dev ? function ? # DEC DEFPA FDDI UT
427 1.23.2.10 nathanw fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
428 1.23.2.2 nathanw gem* at pci? dev ? function ? # Apple GMAC and Sun ERI gigabit enet
429 1.23.2.2 nathanw le* at pci? dev ? function ? # PCnet-PCI Ethernet UT
430 1.23.2.2 nathanw # XXX uses vtophys()
431 1.23.2.2 nathanw #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
432 1.23.2.2 nathanw ne* at pci? dev ? function ? # NE2000-compatible Ethernet UT
433 1.23.2.2 nathanw ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial UT
434 1.23.2.10 nathanw rtk* at pci? dev ? function ? # Realtek 8129/8139
435 1.23.2.2 nathanw sip* at pci? dev ? function ? # SiS 900 Ethernet UT
436 1.23.2.2 nathanw ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet UT
437 1.23.2.4 nathanw tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
438 1.23.2.5 nathanw tlp* at pci? dev ? function ? # DECchip 21x4x and clones
439 1.23.2.2 nathanw vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
440 1.23.2.2 nathanw
441 1.23.2.2 nathanw # MII/PHY support
442 1.23.2.2 nathanw # XXX: only nsphy "tested"
443 1.23.2.2 nathanw dmphy* at mii? phy ? # Davicom DM9101 PHYs
444 1.23.2.2 nathanw exphy* at mii? phy ? # 3Com internal PHYs
445 1.23.2.3 nathanw icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
446 1.23.2.2 nathanw inphy* at mii? phy ? # Intel 82555 PHYs
447 1.23.2.2 nathanw iophy* at mii? phy ? # Intel 82553 PHYs
448 1.23.2.2 nathanw lxtphy* at mii? phy ? # Level One LXT-970 PHYs
449 1.23.2.2 nathanw nsphy* at mii? phy ? # NS83840 PHYs
450 1.23.2.2 nathanw nsphyter* at mii? phy ? # NS83843 PHYs
451 1.23.2.2 nathanw qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
452 1.23.2.2 nathanw sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
453 1.23.2.2 nathanw tlphy* at mii? phy ? # ThunderLAN PHYs
454 1.23.2.2 nathanw tqphy* at mii? phy ? # TDK Semiconductor PHYs
455 1.23.2.2 nathanw ukphy* at mii? phy ? # generic unknown PHYs
456 1.23.2.2 nathanw
457 1.23.2.2 nathanw # PCI USB controllers
458 1.23.2.2 nathanw ohci* at pci? dev ? function ? # Open Host Controller
459 1.23.2.2 nathanw
460 1.23.2.2 nathanw usb* at ohci? # USB bus support
461 1.23.2.2 nathanw uhub* at usb? # USB Hubs
462 1.23.2.2 nathanw uhub* at uhub? port ? configuration ? interface ?
463 1.23.2.2 nathanw
464 1.23.2.2 nathanw uhidev* at uhub? port ? configuration ? interface ? # USB HID
465 1.23.2.2 nathanw uhid* at uhidev? reportid ? # USB Generic HID
466 1.23.2.2 nathanw
467 1.23.2.2 nathanw ulpt* at uhub? port ? configuration ? interface ? # USB Printer
468 1.23.2.2 nathanw
469 1.23.2.2 nathanw umodem* at uhub? port ? configuration ? # USB Modem
470 1.23.2.2 nathanw ucom* at umodem?
471 1.23.2.2 nathanw
472 1.23.2.2 nathanw umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
473 1.23.2.2 nathanw atapibus* at umass? channel ?
474 1.23.2.2 nathanw scsibus* at umass? channel ?
475 1.23.2.2 nathanw
476 1.23.2.2 nathanw uaudio* at uhub? port ? configuration ? # USB audio
477 1.23.2.2 nathanw
478 1.23.2.2 nathanw # USB Ethernet adapters
479 1.23.2.2 nathanw aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
480 1.23.2.2 nathanw cue* at uhub? port ? # CATC USB-EL1201A based adapters
481 1.23.2.2 nathanw kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
482 1.23.2.2 nathanw
483 1.23.2.2 nathanw uscanner* at uhub? port ? # USB scanners
484 1.23.2.10 nathanw uyap* at uhub? port ? # Y@P firmware loader
485 1.23.2.2 nathanw ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
486 1.23.2.2 nathanw
487 1.23.2.2 nathanw # PCI IEEE1394 controllers
488 1.23.2.2 nathanw fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
489 1.23.2.2 nathanw #fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller
490 1.23.2.2 nathanw fw* at fwbus? # IP over 1394
491 1.23.2.2 nathanw
492 1.23.2.2 nathanw # IEEE1394 nodes
493 1.23.2.10 nathanw #fwnode*at fwbus? oui ? devhi ? devlo ?
494 1.23.2.2 nathanw #scsibus* at fwnode?
495 1.23.2.2 nathanw
496 1.23.2.2 nathanw ## Loopback network interface; required
497 1.23.2.2 nathanw pseudo-device loop
498 1.23.2.2 nathanw
499 1.23.2.2 nathanw ## SLIP and CSLIP interfaces, for IP over a serial line.
500 1.23.2.2 nathanw pseudo-device sl 2
501 1.23.2.2 nathanw
502 1.23.2.2 nathanw ## PPP, the successor to SLIP. See pppd(8).
503 1.23.2.2 nathanw pseudo-device ppp 2
504 1.23.2.2 nathanw
505 1.23.2.2 nathanw ## PPP over Ethernet (RFC 2516)
506 1.23.2.2 nathanw pseudo-device pppoe
507 1.23.2.2 nathanw
508 1.23.2.2 nathanw ## Starmode Radio IP, a special hardware network device.
509 1.23.2.2 nathanw pseudo-device strip 1
510 1.23.2.2 nathanw
511 1.23.2.2 nathanw ## Network "tunnel" device, allowing protocol stacks to run in the userland.
512 1.23.2.2 nathanw ## This is used by the third-party user-mode "ppp" program, and others.
513 1.23.2.2 nathanw pseudo-device tun 4
514 1.23.2.2 nathanw
515 1.23.2.2 nathanw ## Generic L3 over IP tunnel
516 1.23.2.2 nathanw #pseudo-device gre 2 # generic L3 over IP tunnel
517 1.23.2.2 nathanw
518 1.23.2.2 nathanw ## Berkeley Packet Filter, required to run RARPD. A generic C-language
519 1.23.2.2 nathanw ## interface that allows selective examining of incoming packets.
520 1.23.2.2 nathanw pseudo-device bpfilter 8
521 1.23.2.2 nathanw
522 1.23.2.2 nathanw ## Simple inter-network traffic bridging
523 1.23.2.2 nathanw pseudo-device bridge
524 1.23.2.2 nathanw
525 1.23.2.2 nathanw ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
526 1.23.2.2 nathanw ## one example of the use of the IP Filter.
527 1.23.2.2 nathanw pseudo-device ipfilter
528 1.23.2.2 nathanw
529 1.23.2.2 nathanw ## for IPv6
530 1.23.2.2 nathanw pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
531 1.23.2.2 nathanw #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
532 1.23.2.2 nathanw #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
533 1.23.2.2 nathanw
534 1.23.2.2 nathanw
535 1.23.2.2 nathanw #### Audio and video devices
536 1.23.2.2 nathanw
537 1.23.2.2 nathanw ## /dev/audio support (`audiocs' plus `audio')
538 1.23.2.2 nathanw ##
539 1.23.2.2 nathanw audiocs* at sbus? slot ? offset ? # SUNW,CS4231
540 1.23.2.5 nathanw audiocs* at ebus? # SUNW,CS4231 in U5/U10
541 1.23.2.3 nathanw autri* at pci? dev ? function ? # Blade 100 'sound'
542 1.23.2.3 nathanw
543 1.23.2.2 nathanw audio* at audiocs?
544 1.23.2.3 nathanw audio* at autri?
545 1.23.2.8 nathanw audio* at uaudio?
546 1.23.2.2 nathanw
547 1.23.2.5 nathanw #midi* at autri?
548 1.23.2.5 nathanw
549 1.23.2.2 nathanw
550 1.23.2.2 nathanw ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
551 1.23.2.2 nathanw ## systems. If your sun4 system has a cgfour installed in the P4 slot,
552 1.23.2.2 nathanw ## the P4 entries for "bwtwo" will attach to the overlay plane of the
553 1.23.2.2 nathanw ## "cgfour".
554 1.23.2.2 nathanw
555 1.23.2.2 nathanw #bwtwo0 at sbus? slot ? offset ? # sun4c and sun4m
556 1.23.2.2 nathanw #bwtwo* at sbus? slot ? offset ?
557 1.23.2.2 nathanw
558 1.23.2.2 nathanw ## Sun "cgthree" Sbus color framebuffer
559 1.23.2.2 nathanw #cgthree0 at sbus? slot ? offset ?
560 1.23.2.2 nathanw #cgthree* at sbus? slot ? offset ?
561 1.23.2.2 nathanw
562 1.23.2.2 nathanw ## Sun "cgsix" accelerated color framebuffer.
563 1.23.2.2 nathanw cgsix0 at sbus? slot ? offset ?
564 1.23.2.2 nathanw cgsix* at sbus? slot ? offset ?
565 1.23.2.2 nathanw
566 1.23.2.2 nathanw ## Sun FFB not supported
567 1.23.2.2 nathanw #ffb* at upa?
568 1.23.2.2 nathanw
569 1.23.2.2 nathanw #### Other device configuration
570 1.23.2.2 nathanw
571 1.23.2.2 nathanw ## Pseudo ttys, required for network logins and programs like screen.
572 1.23.2.2 nathanw
573 1.23.2.2 nathanw pseudo-device pty # pseudo-ttys (for network, etc.)
574 1.23.2.2 nathanw
575 1.23.2.2 nathanw ## Random device, used to implement /dev/random (a source of random noise),
576 1.23.2.2 nathanw ## and generate randomness for some kernel formulae.
577 1.23.2.2 nathanw
578 1.23.2.2 nathanw pseudo-device rnd
579 1.23.2.5 nathanw
580 1.23.2.5 nathanw pseudo-device clockctl # user control of clock subsystem
581