GENERIC32 revision 1.91 1 1.91 bouyer # $NetBSD: GENERIC32,v 1.91 2004/11/24 20:49:24 bouyer Exp $
2 1.1 eeh
3 1.1 eeh include "arch/sparc64/conf/std.sparc64"
4 1.1 eeh
5 1.36 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
6 1.36 atatat
7 1.91 bouyer #ident "GENERIC-$Revision: 1.91 $"
8 1.1 eeh
9 1.8 eeh maxusers 64
10 1.1 eeh
11 1.1 eeh ## System kernel configuration. See options(4) for more detail.
12 1.1 eeh
13 1.1 eeh
14 1.1 eeh # Options for variants of the Sun SPARC architecure.
15 1.1 eeh # We currently support three architecture types; at least one is required.
16 1.14 mrg options SUN4U # sun4u - UltraSPARC
17 1.26 mrg #options BLINK # blink the system LED
18 1.1 eeh
19 1.1 eeh ## System options specific to the sparc machine type
20 1.1 eeh
21 1.1 eeh ## Use a faster console than the PROM's slow drawing routines. Not needed
22 1.1 eeh ## for headless (no framebuffer) machines.
23 1.8 eeh # XXX borken on sparc64
24 1.1 eeh #options RASTERCONSOLE # fast rasterop console
25 1.1 eeh #options FONT_GALLANT12x22 # the console font
26 1.1 eeh #options FONT_BOLD8x16 # a somewhat smaller font
27 1.1 eeh
28 1.1 eeh #### System options that are the same for all ports
29 1.1 eeh
30 1.1 eeh ## Root device configuration: change the ?'s if you are going to use a
31 1.1 eeh ## nonstandard root partition (other than where the kernel is booted from)
32 1.1 eeh ## and/or nonstandard root type (not ffs or nfs). Normally this can be
33 1.1 eeh ## automagically determined at boot time.
34 1.1 eeh
35 1.1 eeh config netbsd root on ? type ?
36 1.1 eeh
37 1.1 eeh ## UVM options.
38 1.1 eeh #options UVM_PAGE_TRKOWN
39 1.1 eeh #options UVMHIST
40 1.1 eeh #options UVMHIST_PRINT # Loud!
41 1.1 eeh
42 1.1 eeh ## System call tracing (see ktrace(1)).
43 1.1 eeh options KTRACE
44 1.50 provos options SYSTRACE # system call vetting via systrace(1)
45 1.1 eeh
46 1.1 eeh ## Collect statistics on kernel malloc's and free's. This does have a
47 1.1 eeh ## significant performance hit on slower machines, so it is intended for
48 1.1 eeh ## diagnostic use only.
49 1.1 eeh #options KMEMSTATS
50 1.1 eeh
51 1.1 eeh ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
52 1.1 eeh options SYSVMSG # System V message queues
53 1.1 eeh options SYSVSEM # System V semaphores
54 1.1 eeh options SYSVSHM # System V shared memory
55 1.1 eeh #options SHMMAXPGS=1024 # 1024 pages is the default
56 1.74 christos options P1003_1B_SEMAPHORE # p1003.1b semaphore support
57 1.74 christos
58 1.1 eeh
59 1.1 eeh ## Loadable kernel module support; still under development.
60 1.1 eeh options LKM
61 1.30 jdolecek
62 1.45 lukem options USERCONF # userconf(4) support
63 1.69 nakayama #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
64 1.85 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
65 1.54 junyoung
66 1.55 wiz # Enable experimental buffer queue strategy for better responsiveness under
67 1.54 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
68 1.54 junyoung #options NEW_BUFQ_STRATEGY
69 1.1 eeh
70 1.48 chs ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
71 1.1 eeh options NFS_BOOT_BOOTPARAM
72 1.1 eeh #options NFS_BOOT_BOOTP
73 1.48 chs options NFS_BOOT_DHCP
74 1.1 eeh
75 1.1 eeh #### Debugging options
76 1.1 eeh
77 1.1 eeh ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
78 1.1 eeh ## serial console break or keyboard reset, where the PROM would normally
79 1.1 eeh ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
80 1.1 eeh # we enable DDB in GENERIC for now.
81 1.1 eeh options DDB # kernel dynamic debugger
82 1.1 eeh options DDB_HISTORY_SIZE=100 # enable history editing in DDB
83 1.1 eeh #options DDB_ONPANIC # see also sysctl(8): `ddb.onpanic'
84 1.1 eeh
85 1.1 eeh ## You may also use gdb, on another computer connected to this machine over
86 1.67 martin ## a serial port.
87 1.67 martin # ttyb on an Ultra5 is aliased to: "/pci@1f,0/pci@1,1/ebus@1/se:b", which is
88 1.67 martin # "/pci@1f,0/pci@1,1/ebus@1/se@14,400000", port b.
89 1.68 martin # options KGDB # support for kernel gdb
90 1.69 nakayama # options KGDB_DEVNAME="\"sab\"" # driver name for the kgdb serial chip
91 1.69 nakayama # options KGDB_DEVADDR=0x400000 # physical address of the chip
92 1.69 nakayama # options KGDB_DEVPORT=1 # port b
93 1.69 nakayama # options KGDB_DEVRATE=38400 # baud rate
94 1.1 eeh
95 1.1 eeh
96 1.1 eeh ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
97 1.1 eeh ## such that gdb(1) can be used on a kernel coredump.
98 1.1 eeh
99 1.25 lukem #makeoptions DEBUG="-g"
100 1.1 eeh
101 1.1 eeh
102 1.1 eeh ## Adds code to the kernel that does internal consistency checks, and will
103 1.1 eeh ## cause the kernel to panic if corruption of internal data structures
104 1.1 eeh ## is detected.
105 1.1 eeh #options DIAGNOSTIC # extra kernel sanity checking
106 1.1 eeh
107 1.1 eeh ## Enable (possibly expensive) debugging code that may also display messages
108 1.1 eeh ## on the system console
109 1.6 eeh #options DEBUG
110 1.1 eeh
111 1.1 eeh ## Make SCSI error messages more verbose when explaining their meanings.
112 1.1 eeh options SCSIVERBOSE
113 1.1 eeh options PCIVERBOSE
114 1.1 eeh options MIIVERBOSE # verbose PHY autoconfig messages
115 1.1 eeh #options PCI_CONFIG_DUMP # verbosely dump PCI config space
116 1.1 eeh
117 1.1 eeh ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
118 1.1 eeh ## This allows writing to /dev/mem, loading kernel modules while multi-user,
119 1.1 eeh ## and other insecurities good only for development work. Do not use this
120 1.1 eeh ## option on a production machine.
121 1.1 eeh #options INSECURE
122 1.1 eeh
123 1.1 eeh ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
124 1.1 eeh ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
125 1.1 eeh ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
126 1.1 eeh ## opaque file mechanism. Perl calls this "secure setuid scripts."
127 1.1 eeh
128 1.1 eeh #options FDSCRIPTS
129 1.1 eeh #options SETUIDSCRIPTS
130 1.1 eeh
131 1.1 eeh ## Options for compatibility with previous releases foreign system binaries.
132 1.1 eeh ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
133 1.1 eeh ## additional user-level utilities or system configuration files. See
134 1.1 eeh ## compat_sunos(8) and compat_svr4(8).
135 1.1 eeh
136 1.1 eeh options COMPAT_43 # 4.3BSD system interfaces
137 1.12 eeh options COMPAT_09 # NetBSD 0.9 binary compatibility
138 1.1 eeh options COMPAT_10 # NetBSD 1.0 binary compatibility
139 1.1 eeh options COMPAT_11 # NetBSD 1.1 binary compatibility
140 1.1 eeh options COMPAT_12 # NetBSD 1.2 binary compatibility
141 1.1 eeh options COMPAT_13 # NetBSD 1.3 binary compatibility
142 1.1 eeh options COMPAT_14 # NetBSD 1.4 binary compatibility
143 1.67 martin options COMPAT_15 # NetBSD 1.5 binary compatibility
144 1.67 martin options COMPAT_16 # NetBSD 1.6 binary compatibility
145 1.80 christos options COMPAT_20 # NetBSD 2.0 binary compatibility
146 1.1 eeh options COMPAT_SUNOS # SunOS 4.x binary compatibility
147 1.1 eeh options COMPAT_SVR4 # SunOS 5.x binary compatibility
148 1.14 mrg #options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility -- 64-bit only
149 1.1 eeh #options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only
150 1.1 eeh options EXEC_AOUT # execve(2) support for a.out binaries
151 1.1 eeh options EXEC_ELF32 # Exec module for SunOS 5.x binaries.
152 1.1 eeh #options SYSCALL_DEBUG
153 1.1 eeh
154 1.16 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
155 1.90 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
156 1.16 abs
157 1.1 eeh ## File systems. You probably need at least one of FFS or NFS.
158 1.1 eeh file-system FFS # Berkeley Fast Filesystem
159 1.1 eeh file-system NFS # Sun NFS-compatible filesystem client
160 1.1 eeh file-system KERNFS # kernel data-structure filesystem
161 1.1 eeh file-system NULLFS # NULL layered filesystem
162 1.1 eeh file-system OVERLAY # overlay file system
163 1.1 eeh file-system MFS # memory-based filesystem
164 1.1 eeh file-system FDESC # user file descriptor filesystem
165 1.1 eeh file-system UMAPFS # uid/gid remapping filesystem
166 1.1 eeh file-system LFS # Log-based filesystem (still experimental)
167 1.1 eeh file-system PORTAL # portal filesystem (still experimental)
168 1.1 eeh file-system PROCFS # /proc
169 1.1 eeh file-system CD9660 # ISO 9660 + Rock Ridge file system
170 1.1 eeh file-system UNION # union file system
171 1.1 eeh file-system MSDOSFS # MS-DOS FAT filesystem(s).
172 1.1 eeh
173 1.1 eeh ## File system options.
174 1.1 eeh options NFSSERVER # Sun NFS-compatible filesystem server
175 1.1 eeh options QUOTA # FFS quotas
176 1.1 eeh #options FFS_EI # FFS Endian Independent support
177 1.25 lukem options SOFTDEP # FFS soft updates support.
178 1.1 eeh
179 1.1 eeh ## Network protocol support. In most environments, INET is required.
180 1.1 eeh options INET # IP (Internet Protocol) v4
181 1.1 eeh options INET6 # IPV6
182 1.1 eeh #options IPSEC # IP security
183 1.1 eeh #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
184 1.1 eeh #options IPSEC_DEBUG # debug for IP security
185 1.1 eeh #options GATEWAY # packet forwarding ("router switch")
186 1.1 eeh options MROUTING # packet forwarding of multicast packets
187 1.88 manu options PIM # Protocol Independent Multicast
188 1.1 eeh #options DIRECTED_BROADCAST # allow broadcasts through routers
189 1.1 eeh options NS # Xerox NS networking
190 1.1 eeh #options NSIP # Xerox NS tunneling over IP
191 1.1 eeh options ISO,TPIP # OSI networking
192 1.6 eeh options EON # OSI tunneling over IP
193 1.1 eeh #options CCITT,LLC,HDLC # X.25 packet switched protocol
194 1.1 eeh options NETATALK # AppleTalk (over Ethernet) protocol
195 1.1 eeh options NTP # Network Time Protocol in-kernel support
196 1.1 eeh #options PPS_SYNC # Add serial line synchronization for NTP
197 1.1 eeh options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
198 1.1 eeh options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
199 1.47 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
200 1.1 eeh options PPP_BSDCOMP # Add BSD compression to ppp device
201 1.1 eeh options PPP_DEFLATE # Add deflate (libz) compression to ppp device
202 1.1 eeh options PPP_FILTER # Add active filters for ppp (via bpf)
203 1.16 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
204 1.1 eeh
205 1.84 abs #options ALTQ # Manipulate network interfaces' output queues
206 1.84 abs #options ALTQ_BLUE # Stochastic Fair Blue
207 1.84 abs #options ALTQ_CBQ # Class-Based Queueing
208 1.84 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
209 1.84 abs #options ALTQ_FIFOQ # First-In First-Out Queue
210 1.84 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
211 1.84 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
212 1.84 abs #options ALTQ_LOCALQ # Local queueing discipline
213 1.84 abs #options ALTQ_PRIQ # Priority Queueing
214 1.84 abs #options ALTQ_RED # Random Early Detection
215 1.84 abs #options ALTQ_RIO # RED with IN/OUT
216 1.84 abs #options ALTQ_WFQ # Weighted Fair Queueing
217 1.84 abs
218 1.1 eeh
219 1.1 eeh #### Main bus and CPU .. all systems.
220 1.1 eeh mainbus0 at root
221 1.1 eeh cpu0 at mainbus0
222 1.1 eeh
223 1.1 eeh #### Bus types found on SPARC systems.
224 1.1 eeh
225 1.1 eeh sbus0 at mainbus0 # Ultra 1
226 1.1 eeh #upa0 at mainbus0 # Ultra 1E, Ultra 2, Ex0000
227 1.14 mrg psycho* at mainbus0 # Darwin, Ultra5
228 1.39 thorpej pci* at psycho?
229 1.39 thorpej pci* at ppb?
230 1.39 thorpej ppb* at pci? # `APB' support.
231 1.39 thorpej ebus* at pci? # ebus devices
232 1.18 eeh # XXX 'puc's aren't really bridges, but there's no better place for them here
233 1.39 thorpej puc* at pci? dev ? function ? # PCI "universal" comm. cards
234 1.1 eeh
235 1.1 eeh #### Standard system devices -- all required for a given architecture
236 1.1 eeh
237 1.1 eeh ## PROM console driver -- if all else fails
238 1.1 eeh pcons0 at mainbus0 # PROM console
239 1.1 eeh
240 1.1 eeh ## Auxiliary system registers -- We use the OBP for power management
241 1.1 eeh auxio* at ebus? # auxio registers
242 1.1 eeh auxio* at sbus? slot ? offset ? # auxio registers
243 1.1 eeh
244 1.1 eeh # We also need:
245 1.1 eeh bpp* at sbus? slot ? offset ? # parallel port
246 1.1 eeh lpt* at ebus? # parallel port
247 1.1 eeh
248 1.1 eeh ## Mostek clock found on 4/300, sun4c, sun4m and sun4u systems.
249 1.1 eeh ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
250 1.1 eeh clock* at sbus? slot ? offset ?
251 1.1 eeh clock* at ebus?
252 1.38 eeh rtc* at ebus?
253 1.1 eeh
254 1.1 eeh ## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
255 1.1 eeh timer* at mainbus0 # sun4c
256 1.1 eeh
257 1.1 eeh #### Serial port configuration
258 1.1 eeh
259 1.1 eeh ## Zilog 8530 serial chips. Each has two-channels.
260 1.1 eeh ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
261 1.8 eeh zs* at sbus? slot ? offset ?
262 1.8 eeh zstty* at zs? channel ? # ttya
263 1.8 eeh kbd0 at zstty?
264 1.8 eeh ms0 at zstty?
265 1.8 eeh
266 1.1 eeh ## PCI machines have serial ports:
267 1.1 eeh ## Siemens SAB82532 controller: ttya and ttyb (`su'; sab)
268 1.1 eeh ## Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com)
269 1.1 eeh
270 1.14 mrg ## The SAB82532 controller has two serial ports
271 1.43 petrov sab* at ebus? # ttya/ttyb
272 1.43 petrov sabtty* at sab? channel ?
273 1.1 eeh
274 1.9 mrg ## Part of a PC87332VLJ
275 1.8 eeh com* at ebus? # `com' driver for `su'
276 1.8 eeh kbd0 at com? # keyboard
277 1.8 eeh ms0 at com? # mouse
278 1.1 eeh
279 1.86 mrg ## Magma Serial/Parallel driver (not tested)
280 1.86 mrg #magma* at sbus? slot ? offset ?
281 1.86 mrg #mtty* at magma?
282 1.86 mrg #mbpp* at magma?
283 1.86 mrg
284 1.86 mrg ## SUNW,spif Serial/Parallel driver (not tested)
285 1.86 mrg #spif* at sbus? slot ? offset ?
286 1.86 mrg #stty* at spif?
287 1.86 mrg #sbpp* at spif?
288 1.86 mrg
289 1.86 mrg ## PCI serial interfaces
290 1.18 eeh com* at puc? port ? # 16x50s on "universal" comm boards
291 1.39 thorpej cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
292 1.39 thorpej cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
293 1.18 eeh
294 1.86 mrg
295 1.1 eeh #### Disk controllers and disks
296 1.1 eeh
297 1.1 eeh ## The following flags may be set for the NCR53c94 based esp driver:
298 1.1 eeh ## bits 0-7: disable disconnect/reselect for the corresponding target
299 1.1 eeh ## bits 8-15: disable synchronous negotiation for target [bit-8]
300 1.1 eeh
301 1.1 eeh ## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
302 1.1 eeh ## equivalent behind an LSI Logic DMA controller
303 1.1 eeh
304 1.49 martin # XXX - the esp driver has problems with tagged queueing.
305 1.49 martin # To avoid these, tagged queueing has been disabled for the first 8 targets
306 1.49 martin # by setting those bits to 1 (starting at bit 16, see esp(4) for details).
307 1.49 martin # If you want tagged queueing, and are sure it works for you, set the flags
308 1.49 martin # value to 0. CAVEAT: using tagged queueing currently can cause data loss!
309 1.49 martin
310 1.8 eeh dma* at sbus? slot ? offset ? # SBus
311 1.49 martin esp* at dma? flags 0x00ff0000 # SBus
312 1.1 eeh
313 1.49 martin esp* at sbus? slot ? offset ? flags 0x00ff0000
314 1.1 eeh isp* at sbus? slot ? offset ?
315 1.42 mrg isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
316 1.70 bouyer siop* at pci? # 53C8xx ("glm" compatible)
317 1.70 bouyer esiop* at pci? # 53C875 and newer ("glm" compatible)
318 1.1 eeh
319 1.78 jonathan # PCI cryptographic devices
320 1.78 jonathan hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
321 1.78 jonathan ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
322 1.78 jonathan
323 1.23 tsutsui # PCI SCSI controllers
324 1.23 tsutsui # UT marks untested.
325 1.39 thorpej adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
326 1.39 thorpej adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
327 1.61 tsutsui ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
328 1.39 thorpej bha* at pci? dev ? function ? # BusLogic 9xx SCSI UT
329 1.39 thorpej dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID UT
330 1.39 thorpej iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
331 1.87 itohy njs* at pci? dev ? function ? # Workbit NinjaSCSI-32
332 1.61 tsutsui pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
333 1.39 thorpej trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
334 1.18 eeh
335 1.18 eeh scsibus* at scsi?
336 1.18 eeh
337 1.1 eeh ## These entries find devices on all SCSI busses and assign
338 1.1 eeh ## unit numbers dynamically.
339 1.1 eeh sd* at scsibus? target ? lun ? # SCSI disks
340 1.1 eeh st* at scsibus? target ? lun ? # SCSI tapes
341 1.1 eeh cd* at scsibus? target ? lun ? # SCSI CD-ROMs
342 1.1 eeh ch* at scsibus? target ? lun ? # SCSI changer devices
343 1.1 eeh ss* at scsibus? target ? lun ? # SCSI scanners
344 1.13 mjacob ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
345 1.1 eeh uk* at scsibus? target ? lun ? # unknown SCSI
346 1.1 eeh
347 1.52 grant # IDE and related devices
348 1.52 grant # PCI IDE controllers - see pciide(4) for supported hardware.
349 1.52 grant # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
350 1.52 grant # how to set up DMA modes for this chip. This may work, or may cause
351 1.52 grant # a machine hang with some controllers.
352 1.72 bouyer pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
353 1.72 bouyer acardide* at pci? dev ? function ? # Acard IDE controllers
354 1.72 bouyer aceride* at pci? dev ? function ? # Acer Lab IDE controllers
355 1.77 thorpej artsata* at pci? dev ? function ? # Intel i31244 SATA controller
356 1.72 bouyer cmdide* at pci? dev ? function ? # CMD tech IDE controllers
357 1.72 bouyer cypide* at pci? dev ? function ? # Cypress IDE controllers
358 1.72 bouyer hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
359 1.72 bouyer optiide* at pci? dev ? function ? # Opti IDE controllers
360 1.72 bouyer piixide* at pci? dev ? function ? # Intel IDE controllers
361 1.72 bouyer pdcide* at pci? dev ? function ? # Promise IDE controllers
362 1.91 bouyer pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
363 1.76 thorpej satalink* at pci? dev ? function ? # SiI SATALink controllers
364 1.72 bouyer siside* at pci? dev ? function ? # SiS IDE controllers
365 1.72 bouyer slide* at pci? dev ? function ? # Symphony Labs IDE controllers
366 1.72 bouyer viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
367 1.73 lukem atabus* at ata?
368 1.73 lukem atapibus* at atapi?
369 1.21 eeh
370 1.52 grant # IDE drives
371 1.52 grant # Flags are used only with controllers that support DMA operations
372 1.52 grant # and mode settings (e.g. some pciide controllers)
373 1.52 grant # The lowest order four bits (rightmost digit) of the flags define the PIO
374 1.52 grant # mode to use, the next set of four bits the DMA mode and the third set the
375 1.52 grant # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
376 1.52 grant # to use, and the last bit must be 1 for this setting to be used.
377 1.52 grant # For DMA and UDMA, 0xf (1111) means 'disable'.
378 1.52 grant # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
379 1.52 grant # (0xc=1100, 0xa=1010, 0xf=1111)
380 1.52 grant # 0x0000 means "use whatever the drive claims to support".
381 1.52 grant
382 1.21 eeh ## Disable UDMA 4 which causes data corruption on the Acer Labs
383 1.21 eeh ## chipset on Sun Blade 100 and Netra X1 machines.
384 1.71 bouyer wd* at atabus? drive ? flags 0x0000
385 1.1 eeh
386 1.1 eeh cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
387 1.1 eeh sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
388 1.1 eeh uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
389 1.1 eeh
390 1.18 eeh # RAID controllers and devices (untested)
391 1.39 thorpej cac* at pci? dev ? function ? # Compaq PCI array controllers
392 1.39 thorpej mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
393 1.39 thorpej twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
394 1.18 eeh
395 1.18 eeh ld* at cac? unit ? # logical disk devices
396 1.18 eeh ld* at twe? unit ?
397 1.18 eeh ld* at mlx? unit ?
398 1.18 eeh
399 1.1 eeh ## Floppy controller and drive found on SPARCstations.
400 1.1 eeh
401 1.1 eeh # need share with the sparc, and everyone else. needs to use auxio.
402 1.1 eeh # actually, the ebus version has (will have) direct access to it's AUXIO
403 1.1 eeh # register space (it is mapped in to fdthree not auxio).
404 1.1 eeh #fdc0 at sbus? slot ? offset ? # SUNW,fdtwo
405 1.1 eeh #fdc0 at ebus? # fdthree
406 1.1 eeh #fd* at fdc0 # the drive itself
407 1.1 eeh
408 1.1 eeh ## A disk-like interface to files. Can be used to create floppy, CD,
409 1.1 eeh ## miniroot images, etc.
410 1.1 eeh
411 1.1 eeh pseudo-device vnd 4
412 1.1 eeh
413 1.1 eeh ## Concatenated and striped disks; with this, you can create a software-based
414 1.1 eeh ## disk array similar to a "RAID 0" setup. See ccd(4).
415 1.1 eeh
416 1.1 eeh pseudo-device ccd 4
417 1.51 elric
418 1.51 elric ## Cryptographic disk devices. See cgd(4).
419 1.51 elric
420 1.51 elric #pseudo-device cgd 4
421 1.1 eeh
422 1.1 eeh ## RAIDframe disk driver: software RAID driver. See raid(4).
423 1.1 eeh
424 1.29 oster pseudo-device raid 8
425 1.29 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
426 1.29 oster # Options to enable various other RAIDframe RAID types.
427 1.69 nakayama # options RF_INCLUDE_EVENODD=1
428 1.69 nakayama # options RF_INCLUDE_RAID5_RS=1
429 1.69 nakayama # options RF_INCLUDE_PARITYLOGGING=1
430 1.69 nakayama # options RF_INCLUDE_CHAINDECLUSTER=1
431 1.69 nakayama # options RF_INCLUDE_INTERDECLUSTER=1
432 1.29 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
433 1.69 nakayama # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
434 1.29 oster
435 1.1 eeh
436 1.1 eeh ## Memory disk device, used on boot floppies with compressed
437 1.1 eeh ## kernel-plus-root-disk images.
438 1.1 eeh
439 1.1 eeh pseudo-device md 1
440 1.1 eeh
441 1.1 eeh
442 1.1 eeh #### Network interfaces
443 1.1 eeh
444 1.1 eeh ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
445 1.1 eeh ## Three flavors of additional SBus ethernets are available. One attaches
446 1.1 eeh ## directly like the sun4c on-board, one uses the ledma device like the
447 1.1 eeh ## sun4m on-board, and one uses the lebuffer device.
448 1.1 eeh
449 1.8 eeh ledma0 at sbus? slot ? offset ? # sun4m on-board
450 1.8 eeh le0 at ledma0 # sun4m on-board
451 1.8 eeh le* at sbus? slot ? offset ? # SBus
452 1.8 eeh ledma* at sbus? slot ? offset ? # SBus
453 1.8 eeh le* at ledma? # SBus
454 1.8 eeh lebuffer0 at sbus? slot ? offset ? # SBus
455 1.8 eeh le0 at lebuffer? # SBus
456 1.8 eeh lebuffer* at sbus? slot ? offset ? # SBus
457 1.8 eeh le* at lebuffer? # SBus
458 1.1 eeh
459 1.1 eeh ## Happy Meal Ethernet
460 1.1 eeh hme* at sbus? slot ? offset ?
461 1.39 thorpej hme* at pci? dev ? function ? # network "hme" compatible
462 1.17 matt
463 1.18 eeh ## qec/be, qec/hme
464 1.18 eeh qec* at sbus? slot ? offset ?
465 1.18 eeh be* at qec?
466 1.18 eeh qe* at qec?
467 1.18 eeh
468 1.18 eeh # PCI network interfaces
469 1.18 eeh # UT marks untested.
470 1.39 thorpej an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) UT
471 1.39 thorpej en* at pci? dev ? function ? # ENI/Adaptec ATM UT
472 1.18 eeh # XXX causes ICE
473 1.39 thorpej #ep* at pci? dev ? function ? # 3Com 3c59x
474 1.61 tsutsui ex* at pci? dev ? function ? # 3Com 90x[B]
475 1.61 tsutsui epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
476 1.39 thorpej esh* at pci? dev ? function ? # Essential HIPPI card UT
477 1.39 thorpej fpa* at pci? dev ? function ? # DEC DEFPA FDDI UT
478 1.53 grant fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
479 1.39 thorpej gem* at pci? dev ? function ? # Apple GMAC and Sun ERI gigabit enet
480 1.62 tsutsui # XXX lacks bus_dmamap_sync()
481 1.62 tsutsui #le* at pci? dev ? function ? # PCnet-PCI Ethernet
482 1.18 eeh # XXX uses vtophys()
483 1.39 thorpej #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
484 1.39 thorpej ne* at pci? dev ? function ? # NE2000-compatible Ethernet UT
485 1.39 thorpej ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial UT
486 1.61 tsutsui # XXX cause uncorrectable DMA error
487 1.61 tsutsui #pcn* at pci? dev ? function ? # PCnet-PCI Ethernet
488 1.53 grant rtk* at pci? dev ? function ? # Realtek 8129/8139
489 1.61 tsutsui # XXX cause uncorrectable DMA error
490 1.61 tsutsui #sip* at pci? dev ? function ? # SiS 900 Ethernet
491 1.39 thorpej ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet UT
492 1.39 thorpej tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
493 1.39 thorpej tlp* at pci? dev ? function ? # DECchip 21x4x and clones
494 1.39 thorpej vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
495 1.56 grant wi* at pci? dev ? function ? # Lucent/Intersil WaveLAN/IEEE
496 1.1 eeh
497 1.1 eeh # MII/PHY support
498 1.1 eeh # XXX: only nsphy "tested"
499 1.18 eeh dmphy* at mii? phy ? # Davicom DM9101 PHYs
500 1.18 eeh exphy* at mii? phy ? # 3Com internal PHYs
501 1.32 wiz icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
502 1.18 eeh inphy* at mii? phy ? # Intel 82555 PHYs
503 1.18 eeh iophy* at mii? phy ? # Intel 82553 PHYs
504 1.18 eeh lxtphy* at mii? phy ? # Level One LXT-970 PHYs
505 1.18 eeh nsphy* at mii? phy ? # NS83840 PHYs
506 1.18 eeh nsphyter* at mii? phy ? # NS83843 PHYs
507 1.18 eeh qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
508 1.18 eeh sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
509 1.18 eeh tlphy* at mii? phy ? # ThunderLAN PHYs
510 1.18 eeh tqphy* at mii? phy ? # TDK Semiconductor PHYs
511 1.18 eeh ukphy* at mii? phy ? # generic unknown PHYs
512 1.18 eeh
513 1.18 eeh # PCI USB controllers
514 1.66 nakayama ehci* at pci? dev ? function ? # Enhanced Host Controller
515 1.66 nakayama ohci* at pci? dev ? function ? # Open Host Controller
516 1.66 nakayama
517 1.66 nakayama usb* at ehci? # USB bus support
518 1.66 nakayama usb* at ohci?
519 1.18 eeh
520 1.20 eeh uhub* at usb? # USB Hubs
521 1.20 eeh uhub* at uhub? port ? configuration ? interface ?
522 1.18 eeh
523 1.28 augustss uhidev* at uhub? port ? configuration ? interface ? # USB HID
524 1.28 augustss uhid* at uhidev? reportid ? # USB Generic HID
525 1.28 augustss
526 1.20 eeh ulpt* at uhub? port ? configuration ? interface ? # USB Printer
527 1.18 eeh
528 1.20 eeh umodem* at uhub? port ? configuration ? # USB Modem
529 1.20 eeh ucom* at umodem?
530 1.18 eeh
531 1.20 eeh umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
532 1.18 eeh
533 1.20 eeh uaudio* at uhub? port ? configuration ? # USB audio
534 1.18 eeh
535 1.18 eeh # USB Ethernet adapters
536 1.20 eeh aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
537 1.89 augustss axe* at uhub? port ? # ASIX AX88172 based adapters
538 1.20 eeh cue* at uhub? port ? # CATC USB-EL1201A based adapters
539 1.20 eeh kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
540 1.57 augustss url* at uhub? port ? # Realtek RTL8150L based adapters
541 1.20 eeh
542 1.20 eeh uscanner* at uhub? port ? # USB scanners
543 1.53 grant uyap* at uhub? port ? # Y@P firmware loader
544 1.20 eeh ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
545 1.20 eeh
546 1.20 eeh # PCI IEEE1394 controllers
547 1.39 thorpej fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
548 1.39 thorpej #fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller
549 1.25 lukem fw* at fwbus? # IP over 1394
550 1.20 eeh
551 1.20 eeh # IEEE1394 nodes
552 1.66 nakayama #fwnode* at fwbus? idhi ? idlo ?
553 1.66 nakayama #sbpscsi* at fwnode?
554 1.1 eeh
555 1.1 eeh ## Loopback network interface; required
556 1.1 eeh pseudo-device loop
557 1.1 eeh
558 1.1 eeh ## SLIP and CSLIP interfaces, for IP over a serial line.
559 1.1 eeh pseudo-device sl 2
560 1.1 eeh
561 1.1 eeh ## PPP, the successor to SLIP. See pppd(8).
562 1.1 eeh pseudo-device ppp 2
563 1.27 martin
564 1.27 martin ## PPP over Ethernet (RFC 2516)
565 1.27 martin pseudo-device pppoe
566 1.1 eeh
567 1.1 eeh ## Starmode Radio IP, a special hardware network device.
568 1.1 eeh pseudo-device strip 1
569 1.1 eeh
570 1.1 eeh ## Network "tunnel" device, allowing protocol stacks to run in the userland.
571 1.1 eeh ## This is used by the third-party user-mode "ppp" program, and others.
572 1.1 eeh pseudo-device tun 4
573 1.1 eeh
574 1.1 eeh ## Generic L3 over IP tunnel
575 1.1 eeh #pseudo-device gre 2 # generic L3 over IP tunnel
576 1.1 eeh
577 1.1 eeh ## Berkeley Packet Filter, required to run RARPD. A generic C-language
578 1.1 eeh ## interface that allows selective examining of incoming packets.
579 1.1 eeh pseudo-device bpfilter 8
580 1.58 seb
581 1.58 seb ## IEEE 802.1q encapsulation
582 1.58 seb pseudo-device vlan
583 1.19 atatat
584 1.19 atatat ## Simple inter-network traffic bridging
585 1.19 atatat pseudo-device bridge
586 1.69 nakayama #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
587 1.1 eeh
588 1.1 eeh ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
589 1.1 eeh ## one example of the use of the IP Filter.
590 1.1 eeh pseudo-device ipfilter
591 1.1 eeh
592 1.1 eeh ## for IPv6
593 1.1 eeh pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
594 1.1 eeh #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
595 1.1 eeh #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
596 1.60 nakayama
597 1.60 nakayama
598 1.60 nakayama #### CardBus and PCMCIA devices
599 1.60 nakayama
600 1.60 nakayama # PCI CardBus bridge support
601 1.60 nakayama #cbb* at pci? dev ? function ?
602 1.60 nakayama #cardslot* at cbb?
603 1.60 nakayama
604 1.60 nakayama # CardBus bus support
605 1.60 nakayama #cardbus* at cardslot?
606 1.60 nakayama #pcmcia* at cardslot?
607 1.60 nakayama
608 1.60 nakayama ## CardBus cards; UT marks untested.
609 1.60 nakayama
610 1.60 nakayama # CardBus serial interfaces
611 1.60 nakayama #com* at cardbus? dev ? function ? # Modems and serial cards UT
612 1.60 nakayama
613 1.60 nakayama # CardBus SCSI controllers
614 1.60 nakayama #adv* at cardbus? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
615 1.60 nakayama #ahc* at cardbus? dev ? function ? # Adaptec ADP-1480 UT
616 1.87 itohy #njs* at cardbus? dev ? function ? # Workbit NinjaSCSI-32
617 1.60 nakayama
618 1.60 nakayama # CardBus network interfaces
619 1.60 nakayama #ex* at cardbus? dev ? function ? # 3Com 3C575TX UT
620 1.60 nakayama #fxp* at cardbus? dev ? function ? # Intel i8255x UT
621 1.60 nakayama #rtk* at cardbus? dev ? function ? # Realtek 8129/8139 UT
622 1.60 nakayama #tlp* at cardbus? dev ? function ? # DECchip 21143 UT
623 1.60 nakayama
624 1.60 nakayama # CardBus USB controllers
625 1.60 nakayama #ehci* at cardbus? dev ? function ? # Enhanced Host Controller
626 1.60 nakayama #ohci* at cardbus? dev ? function ? # Open Host Controller
627 1.60 nakayama
628 1.60 nakayama # CardBus IEEE1394 controllers
629 1.60 nakayama #fwohci* at cardbus? dev ? function ? # IEEE1394 Open Host Controller UT
630 1.60 nakayama
631 1.60 nakayama ## PCMCIA cards; UT marks untested.
632 1.60 nakayama
633 1.60 nakayama # PCMCIA serial interfaces
634 1.60 nakayama #com* at pcmcia? function ? # Modems and serial cards
635 1.60 nakayama
636 1.60 nakayama #pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards UT
637 1.60 nakayama #com* at pcmcom? slave ? # ...and the slave devices
638 1.60 nakayama
639 1.60 nakayama # PCMCIA SCSI controllers
640 1.60 nakayama #aic* at pcmcia? function ? # Adaptec APA-1460 SCSI UT
641 1.60 nakayama #esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI UT
642 1.60 nakayama
643 1.60 nakayama # PCMCIA IDE controllers
644 1.60 nakayama #wdc* at pcmcia? function ?
645 1.60 nakayama
646 1.60 nakayama # PCMCIA network interfaces
647 1.60 nakayama #an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) UT
648 1.60 nakayama #awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) UT
649 1.60 nakayama #cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer UT
650 1.60 nakayama #ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
651 1.60 nakayama #mbe* at pcmcia? function ? # MB8696x based Ethernet UT
652 1.60 nakayama #ne* at pcmcia? function ? # NE2000-compatible Ethernet
653 1.60 nakayama #ray* at pcmcia? function ? # Raytheon Raylink (802.11) UT
654 1.60 nakayama #sm* at pcmcia? function ? # Megahertz Ethernet UT
655 1.60 nakayama # tr at pcmcia has problems with Cardbus bridges
656 1.60 nakayama #tr* at pcmcia? function ? # TROPIC based Token-Ring UT
657 1.60 nakayama #wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
658 1.60 nakayama #xi* at pcmcia? function ? # Xircom CreditCard Ethernet UT
659 1.60 nakayama
660 1.60 nakayama #mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
661 1.60 nakayama #com* at mhzc?
662 1.60 nakayama #sm* at mhzc?
663 1.1 eeh
664 1.1 eeh
665 1.1 eeh #### Audio and video devices
666 1.1 eeh
667 1.1 eeh ## /dev/audio support (`audiocs' plus `audio')
668 1.1 eeh ##
669 1.8 eeh audiocs* at sbus? slot ? offset ? # SUNW,CS4231
670 1.40 martin audiocs* at ebus? # SUNW,CS4231 in U5/U10
671 1.39 thorpej autri* at pci? dev ? function ? # Blade 100 'sound'
672 1.31 eeh
673 1.65 nakayama audio* at audiobus?
674 1.38 eeh
675 1.65 nakayama #midi* at midibus?
676 1.1 eeh
677 1.1 eeh
678 1.1 eeh ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
679 1.1 eeh ## systems. If your sun4 system has a cgfour installed in the P4 slot,
680 1.1 eeh ## the P4 entries for "bwtwo" will attach to the overlay plane of the
681 1.1 eeh ## "cgfour".
682 1.1 eeh
683 1.8 eeh #bwtwo0 at sbus? slot ? offset ? # sun4c and sun4m
684 1.8 eeh #bwtwo* at sbus? slot ? offset ?
685 1.1 eeh
686 1.1 eeh ## Sun "cgthree" Sbus color framebuffer
687 1.1 eeh #cgthree0 at sbus? slot ? offset ?
688 1.1 eeh #cgthree* at sbus? slot ? offset ?
689 1.1 eeh
690 1.1 eeh ## Sun "cgsix" accelerated color framebuffer.
691 1.1 eeh cgsix0 at sbus? slot ? offset ?
692 1.1 eeh cgsix* at sbus? slot ? offset ?
693 1.1 eeh
694 1.1 eeh ## Sun FFB not supported
695 1.79 petrov #ffb* at mainbus0
696 1.79 petrov #wsdisplay* at ffb?
697 1.1 eeh
698 1.1 eeh #### Other device configuration
699 1.1 eeh
700 1.78 jonathan ### Other pseudo-devices
701 1.78 jonathan
702 1.78 jonathan pseudo-device crypto # opencrypto framework
703 1.78 jonathan
704 1.1 eeh ## Pseudo ttys, required for network logins and programs like screen.
705 1.1 eeh
706 1.7 jdolecek pseudo-device pty # pseudo-ttys (for network, etc.)
707 1.1 eeh
708 1.1 eeh ## Random device, used to implement /dev/random (a source of random noise),
709 1.1 eeh ## and generate randomness for some kernel formulae.
710 1.1 eeh
711 1.1 eeh pseudo-device rnd
712 1.41 lukem
713 1.41 lukem pseudo-device clockctl # user control of clock subsystem
714 1.64 ragge pseudo-device ksyms # /dev/ksyms
715 1.83 itojun #pseudo-device pf # PF packet filter
716 1.83 itojun #pseudo-device pflog # PF log if
717