GENERIC revision 1.230 1 # $NetBSD: GENERIC,v 1.230 2020/09/27 13:48:54 roy Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/sparc64/conf/std.sparc64"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.230 $"
26
27 maxusers 64
28
29 ## System kernel configuration. See options(4) for more detail.
30
31
32 # Options for variants of the Sun SPARC architecure.
33 options SUN4U # sun4u - UltraSPARC
34 options SUN4V # sun4v - UltraSPARC T1/T2+/T3/T4/T5
35 #options BLINK # blink the system LED
36
37 #### System options that are the same for all ports
38
39 ## Root device configuration: change the ?'s if you are going to use a
40 ## nonstandard root partition (other than where the kernel is booted from)
41 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
42 ## automagically determined at boot time.
43
44 config netbsd root on ? type ?
45
46 ## UVM options.
47 #options UVM_PAGE_TRKOWN
48 #options UVMHIST
49 #options UVMHIST_PRINT # Loud!
50
51 ## System call tracing (see ktrace(1)).
52 options KTRACE
53
54 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
55 options SYSVMSG # System V message queues
56 options SYSVSEM # System V semaphores
57 options SYSVSHM # System V shared memory
58
59 options MODULAR # new style module(7) framework
60 options MODULAR_DEFAULT_AUTOLOAD
61
62 options USERCONF # userconf(4) support
63 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
64 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
65
66 # Alternate buffer queue strategies for better responsiveness under high
67 # disk I/O load.
68 #options BUFQ_READPRIO
69 options BUFQ_PRIOCSCAN
70
71 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
72 options NFS_BOOT_BOOTPARAM
73 #options NFS_BOOT_BOOTP
74 options NFS_BOOT_DHCP
75
76 #### Debugging options
77
78 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
79 ## serial console break or keyboard reset, where the PROM would normally
80 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
81 # we enable DDB in GENERIC for now.
82 options DDB # kernel dynamic debugger
83 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
84 options DDB_VERBOSE_HELP # enable verbose online help
85 #options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic'
86
87 ## You may also use gdb, on another computer connected to this machine over
88 ## a serial port.
89 # options KGDB
90 # options KGDB_DEVNAME="\"sabtty1\"" # kgdb device name
91 # options KGDB_DEVRATE=38400 # baud rate (defaults to 9600)
92
93
94 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
95 ## such that gdb(1) can be used on a kernel coredump.
96
97 #makeoptions DEBUG="-g"
98
99
100 ## Adds code to the kernel that does internal consistency checks, and will
101 ## cause the kernel to panic if corruption of internal data structures
102 ## is detected.
103 options DIAGNOSTIC # extra kernel sanity checking
104
105 ## Enable (possibly expensive) debugging code that may also display messages
106 ## on the system console
107 #options DEBUG
108 #options LOCKDEBUG
109 #options SYSCALL_DEBUG
110
111 ## Make SCSI error messages more verbose when explaining their meanings.
112 options SCSIVERBOSE
113 options PCIVERBOSE
114 options MIIVERBOSE # verbose PHY autoconfig messages
115 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
116
117 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
118 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
119 ## and other insecurities good only for development work. Do not use this
120 ## option on a production machine.
121 #options INSECURE
122
123 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
124 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
125 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
126 ## opaque file mechanism. Perl calls this "secure setuid scripts."
127
128 #options FDSCRIPTS
129 #options SETUIDSCRIPTS
130
131 ## Options for compatibility with previous releases foreign system binaries.
132 ## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
133 ## utilities or system configuration files. See compat_sunos(8).
134
135 include "conf/compat_netbsd09.config"
136 options COMPAT_SUNOS # SunOS 4.x binary compatibility
137 options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only
138 options EXEC_AOUT # execve(2) support for a.out binaries
139 options EXEC_ELF32 # Exec module for SunOS 5.x binaries.
140
141 # Wedge support
142 options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
143 options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
144 #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
145 #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
146 #options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges
147 #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges
148
149 ## File systems.
150 include "conf/filesystems.config"
151
152 ## File system options.
153 options NFSSERVER # Sun NFS-compatible filesystem server
154 options QUOTA # legacy UFS quotas
155 options QUOTA2 # new, in-filesystem UFS quotas
156 options FFS_EI # FFS Endian Independent support
157 options WAPBL # File system journaling support
158 #options FFS_NO_SNAPSHOT # No FFS snapshot support
159 options UFS_EXTATTR # Extended attribute support for UFS1
160
161 ## Network protocol support. In most environments, INET is required.
162 options INET # IP (Internet Protocol) v4
163 options INET6 # IPV6
164 #options IPSEC # IP security
165 #options IPSEC_DEBUG # debug for IP security
166 #options GATEWAY # packet forwarding ("router switch")
167 options MROUTING # packet forwarding of multicast packets
168 options PIM # Protocol Independent Multicast
169 options NETATALK # AppleTalk (over Ethernet) protocol
170 options NTP # Network Time Protocol in-kernel support
171 #options PPS_SYNC # Add serial line synchronization for NTP
172 options PPP_BSDCOMP # Add BSD compression to ppp device
173 options PPP_DEFLATE # Add deflate (libz) compression to ppp device
174 options PPP_FILTER # Add active filters for ppp (via bpf)
175 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
176
177 #options ALTQ # Manipulate network interfaces' output queues
178 #options ALTQ_BLUE # Stochastic Fair Blue
179 #options ALTQ_CBQ # Class-Based Queueing
180 #options ALTQ_CDNR # Diffserv Traffic Conditioner
181 #options ALTQ_FIFOQ # First-In First-Out Queue
182 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
183 #options ALTQ_HFSC # Hierarchical Fair Service Curve
184 #options ALTQ_LOCALQ # Local queueing discipline
185 #options ALTQ_PRIQ # Priority Queueing
186 #options ALTQ_RED # Random Early Detection
187 #options ALTQ_RIO # RED with IN/OUT
188 #options ALTQ_WFQ # Weighted Fair Queueing
189
190
191 #### Main bus and CPUs .. all systems.
192 mainbus0 at root
193 options MULTIPROCESSOR # include multiprocessor support
194 cpu* at mainbus0 # declare additional CPUs
195
196 #### Bus types found on SPARC systems.
197
198 sbus* at mainbus0 # SBus-based systems
199 psycho* at mainbus0 # PCI-based systems
200 schizo* at mainbus?
201 pyro* at mainbus?
202 vpci* at mainbus0
203 central* at mainbus?
204 fhc* at mainbus?
205 pci* at psycho?
206 pci* at schizo?
207 pci* at pyro?
208 pci* at vpci?
209 pci* at ppb?
210 ppb* at pci?
211 fhc* at central?
212 ebus* at mainbus0 # ebus devices
213 ebus* at pci? # ebus devices
214 # XXX 'puc's aren't really bridges, but there's no better place for them here
215 puc* at pci? dev ? function ? # PCI "universal" comm. cards
216 vbus0 at mainbus0
217 cbus* at vbus?
218
219 #### Standard system devices -- all required for a given architecture
220
221 ## PROM console driver -- if all else fails
222 pcons0 at mainbus0 # PROM console
223
224 ## Auxiliary system registers -- We use the OBP for power management
225 auxio* at ebus? # auxio registers
226 auxio* at sbus? slot ? offset ? # auxio registers
227
228 # We also need:
229 bpp* at sbus? slot ? offset ? # parallel port
230 lpt* at ebus? # parallel port
231
232 ## Mostek clock found on sbus on Ultra-1,2 systems
233 ## and found on ebus on Ultra-5 and other systems.
234 clock* at sbus? slot ? offset ?
235 clock* at fhc?
236 clock* at ebus?
237
238 ## DS1287 compatible clock found on ebus on Netra X1 and other systems.
239 rtc* at ebus?
240
241 ## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
242 timer* at mainbus0 # sun4c
243
244 ## found in schizo-based systems
245 jbusi2c* at mainbus0
246 iic* at jbusi2c?
247
248 # Virtual devices for sun4v systems.
249 vrtc0 at vbus?
250 vdsk* at cbus?
251
252 #### Serial port configuration
253
254 ## Zilog 8530 serial chips. Each has two-channels.
255 ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
256 zs* at sbus? slot ? offset ?
257 zs* at fhc?
258 zstty* at zs? channel ? # ttys
259 kbd0 at zstty?
260 ms0 at zstty?
261
262 ## PCI machines have serial ports:
263 ## Siemens SAB82532 controller: ttya and ttyb (`su'; sab)
264 ## Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com)
265
266 ## The SAB82532 controller has two serial ports
267 sab* at ebus? # ttya/ttyb
268 sabtty* at sab? channel ?
269
270 ## Part of a PC87332VLJ
271 com* at ebus? # `com' driver for `su'
272 kbd0 at com? # keyboard
273 ms0 at com? # mouse
274
275 ## Tadpole SPARCle PS/2 keyboard and mouse
276 pckbc* at ebus? # PC keyboard controller
277 options HAVE_TADPMU # include support for Tadpole Viper PMU
278 pckbd* at pckbc? # PC keyboard
279 pms* at pckbc? # PS/2 mouse for wsmouse
280 options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads
281 wskbd* at pckbd? console ?
282 wsmouse* at pms? mux 0
283
284 ## Tadpole SPARCle SD card
285 wb* at ebus? # Winbond W83L518D SD/MMC reader
286 sdmmc* at wb?
287 ld* at sdmmc?
288
289 ## Magma Serial/Parallel driver (not tested)
290 #magma* at sbus? slot ? offset ?
291 #mtty* at magma?
292 #mbpp* at magma?
293
294 ## SUNW,spif Serial/Parallel driver
295 spif* at sbus? slot ? offset ?
296 stty* at spif?
297 sbpp* at spif?
298
299 ## PCI serial interfaces
300 com* at puc? port ? # 16x50s on "universal" comm boards
301 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
302 cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
303
304 # PCI cryptographic devices
305 hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
306 ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
307
308
309 #### Disk controllers and disks
310
311 ## The following flags may be set for the NCR53c94 based esp driver:
312 ## bits 0-7: disable disconnect/reselect for the corresponding target
313 ## bits 8-15: disable synchronous negotiation for target [bit-8]
314 ## bits 16-23: disable tagged queuing for target [bit-16]
315
316 ## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
317 ## equivalent behind an LSI Logic DMA controller
318
319 dma* at sbus? slot ? offset ? # SBus
320 esp* at dma? # SBus
321
322 esp* at sbus? slot ? offset ?
323 isp* at sbus? slot ? offset ?
324 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
325 siop* at pci? # 53C8xx ("glm" compatible)
326 esiop* at pci? # 53C875 and newer ("glm" compatible)
327
328 # PCI SCSI controllers
329 # UT marks untested.
330 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
331 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
332 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
333 bha* at pci? dev ? function ? # BusLogic 9xx SCSI UT
334 dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID UT
335 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
336 mpt* at pci? dev ? function ? # LSILogic 9x9 and 53c1030
337 njs* at pci? dev ? function ? # Workbit NinjaSCSI-32
338 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
339 trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
340
341 scsibus* at scsi?
342
343 ## These entries find devices on all SCSI busses and assign
344 ## unit numbers dynamically.
345 sd* at scsibus? target ? lun ? # SCSI disks
346 st* at scsibus? target ? lun ? # SCSI tapes
347 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
348 ch* at scsibus? target ? lun ? # SCSI changer devices
349 ss* at scsibus? target ? lun ? # SCSI scanners
350 ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices
351 uk* at scsibus? target ? lun ? # unknown SCSI
352
353 # IDE and related devices
354 # PCI IDE controllers - see pciide(4) for supported hardware.
355 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
356 # how to set up DMA modes for this chip. This may work, or may cause
357 # a machine hang with some controllers.
358 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
359 acardide* at pci? dev ? function ? # Acard IDE controllers
360 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
361 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
362 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
363 cypide* at pci? dev ? function ? # Cypress IDE controllers
364 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
365 optiide* at pci? dev ? function ? # Opti IDE controllers
366 pdcide* at pci? dev ? function ? # Promise IDE controllers
367 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
368 satalink* at pci? dev ? function ? # SiI SATALink controllers
369 siisata* at pci? dev ? function ? # SiI SteelVine controllers
370 siside* at pci? dev ? function ? # SiS IDE controllers
371 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
372 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
373
374 # ATA (IDE) bus support
375 atabus* at ata?
376 atapibus* at atapi?
377
378 # IDE drives
379 # Flags are used only with controllers that support DMA operations
380 # and mode settings (e.g. some pciide controllers)
381 # The lowest order four bits (rightmost digit) of the flags define the PIO
382 # mode to use, the next set of four bits the DMA mode and the third set the
383 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
384 # to use, and the last bit must be 1 for this setting to be used.
385 # For DMA and UDMA, 0xf (1111) means 'disable'.
386 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
387 # (0xc=1100, 0xa=1010, 0xf=1111)
388 # 0x0000 means "use whatever the drive claims to support".
389 wd* at atabus? drive ? flags 0x0000
390
391 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
392 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
393 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
394
395 # RAID controllers and devices (untested)
396 cac* at pci? dev ? function ? # Compaq PCI array controllers
397 mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
398 twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
399
400 ld* at cac? unit ? # logical disk devices
401 ld* at twe? unit ?
402 ld* at mlx? unit ?
403
404 # Virtio devices
405 virtio* at pci? dev ? function ? # Virtio PCI device
406 # the baloon driver can not work on machines with non-4k pages
407 #viomb* at virtio? # Virtio memory balloon device
408 ld* at virtio? # Virtio disk device
409 vioif* at virtio? # Virtio network device
410 viornd* at virtio? # Virtio entropy device
411 vioscsi* at virtio? # Virtio SCSI device
412
413 ## Floppy controller and drive found on SPARCstations.
414
415 # need share with the sparc, and everyone else. needs to use auxio.
416 # actually, the ebus version has (will have) direct access to its AUXIO
417 # register space (it is mapped in to fdthree not auxio).
418 fdc0 at sbus? slot ? offset ? # SUNW,fdtwo
419 #fdc0 at ebus? # fdthree, EXPERIMENTAL
420 fd* at fdc0 # the drive itself
421
422 #
423 # accept filters
424 pseudo-device accf_data # "dataready" accept filter
425 pseudo-device accf_http # "httpready" accept filter
426
427 ## A disk-like interface to files. Can be used to create floppy, CD,
428 ## miniroot images, etc.
429
430 pseudo-device vnd
431 #options VND_COMPRESSION # compressed vnd(4)
432
433 ## Concatenated and striped disks; with this, you can create a software-based
434 ## disk array similar to a "RAID 0" setup. See ccd(4).
435
436 pseudo-device ccd
437
438 ## Cryptographic disk devices. See cgd(4).
439
440 pseudo-device cgd
441
442 ## RAIDframe disk driver: software RAID driver. See raid(4).
443
444 pseudo-device raid
445 options RAID_AUTOCONFIG # auto-configuration of RAID components
446 # Options to enable various other RAIDframe RAID types.
447 # options RF_INCLUDE_EVENODD=1
448 # options RF_INCLUDE_RAID5_RS=1
449 # options RF_INCLUDE_PARITYLOGGING=1
450 # options RF_INCLUDE_CHAINDECLUSTER=1
451 # options RF_INCLUDE_INTERDECLUSTER=1
452 # options RF_INCLUDE_PARITY_DECLUSTERING=1
453 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
454
455
456 ## Memory disk device, used on boot floppies with compressed
457 ## kernel-plus-root-disk images.
458
459 pseudo-device md
460
461
462 #### Network interfaces
463
464 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
465 ## Three flavors of additional SBus ethernets are available. One attaches
466 ## directly like the sun4c on-board, one uses the ledma device like the
467 ## sun4m on-board, and one uses the lebuffer device.
468
469 ledma0 at sbus? slot ? offset ? # sun4m on-board
470 le0 at ledma0 # sun4m on-board
471 le* at sbus? slot ? offset ? # SBus
472 ledma* at sbus? slot ? offset ? # SBus
473 le* at ledma? # SBus
474 lebuffer0 at sbus? slot ? offset ? # SBus
475 le0 at lebuffer? # SBus
476 lebuffer* at sbus? slot ? offset ? # SBus
477 le* at lebuffer? # SBus
478
479 ## Happy Meal Ethernet
480 hme* at sbus? slot ? offset ?
481 hme* at pci? dev ? function ? # network "hme" compatible
482
483 ## qec/be, qec/hme
484 qec* at sbus? slot ? offset ?
485 be* at qec?
486 qe* at qec?
487
488 # PCI network interfaces
489 # UT marks untested.
490 an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) UT
491 ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11 UT
492 bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet
493 bnx* at pci? dev ? function ? # Broadcom NetXtreme II Ethernet
494 cas* at pci? dev ? function ? # Sun Cassini/Cassini+ Ethernet
495 # XXX causes ICE
496 #ep* at pci? dev ? function ? # 3Com 3c59x
497 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
498 ex* at pci? dev ? function ? # 3Com 90x[B]
499 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
500 gem* at pci? dev ? function ? # Apple GMAC and Sun ERI gigabit enet
501 gem* at sbus? slot ? offset ?
502 gsip* at pci? dev ? function ? # National Semiconductor DP83820 GigE
503 ixg* at pci? dev ? function ? # Intel 8259x 10 gigabit
504 mskc* at pci? dev ? function ? # Marvell Yukon 2 Gigabit Ethernet
505 msk* at mskc? # Marvell Yukon 2 Gigabit Ethernet
506 ne* at pci? dev ? function ? # NE2000-compatible Ethernet UT
507 ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial UT
508 # XXX cause uncorrectable DMA error
509 #pcn* at pci? dev ? function ? # PCnet-PCI Ethernet
510 ral* at pci? dev ? function ? # ralink wifi UT
511 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
512 rtk* at pci? dev ? function ? # Realtek 8129/8139
513 sip* at pci? dev ? function ? # SiS 900 Ethernet
514 skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet
515 sk* at skc? # SysKonnect SK9821 Gigabit Ethernet
516 ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet UT
517 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
518 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
519 vge* at pci? dev ? function ? # VIA VT612X Gigabit Ethernet
520 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
521 wi* at pci? dev ? function ? # Lucent/Intersil WaveLAN/IEEE
522 wm* at pci? dev ? function ? # Intel 8254x gigabit
523
524 # MII/PHY support
525 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
526 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
527 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
528 ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
529 dmphy* at mii? phy ? # Davicom DM9101 PHYs
530 exphy* at mii? phy ? # 3Com internal PHYs
531 gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
532 gphyter* at mii? phy ? # NS83861 Gig-E PHY
533 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
534 igphy* at mii? phy ? # Intel IGP01E1000
535 ikphy* at mii? phy ? # Intel 82563 PHYs
536 inphy* at mii? phy ? # Intel 82555 PHYs
537 iophy* at mii? phy ? # Intel 82553 PHYs
538 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
539 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
540 nsphy* at mii? phy ? # NS83840 PHYs
541 nsphyter* at mii? phy ? # NS83843 PHYs
542 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
543 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
544 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
545 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
546 tlphy* at mii? phy ? # ThunderLAN PHYs
547 tqphy* at mii? phy ? # TDK Semiconductor PHYs
548 ukphy* at mii? phy ? # generic unknown PHYs
549
550 # PCI USB controllers
551 ehci* at pci? dev ? function ? # Enhanced Host Controller
552 ohci* at pci? dev ? function ? # Open Host Controller
553 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
554
555 # USB bus support
556 usb* at ehci?
557 usb* at ohci?
558 usb* at uhci?
559 #usb* at slhci?
560
561 # USB device drivers
562 include "dev/usb/usbdevices.config"
563
564 # Firewire support
565 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
566 ieee1394if* at fwohci?
567 fwip* at ieee1394if? # IP over IEEE1394
568 sbp* at ieee1394if? euihi ? euilo ?
569
570 ## Loopback network interface; required
571 pseudo-device loop
572
573 ## SLIP and CSLIP interfaces, for IP over a serial line.
574 pseudo-device sl
575
576 ## PPP, the successor to SLIP. See pppd(8).
577 pseudo-device ppp
578
579 ## PPP over Ethernet (RFC 2516)
580 pseudo-device pppoe
581
582 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
583 ## This is used by the third-party user-mode "ppp" program, and others.
584 pseudo-device tun
585 pseudo-device tap # virtual Ethernet
586
587 ## Generic L3 over IP tunnel
588 pseudo-device gre # generic L3 over IP tunnel
589
590 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
591 ## interface that allows selective examining of incoming packets.
592 pseudo-device bpfilter
593
594 pseudo-device carp # Common Address Redundancy Protocol
595
596 ## IEEE 802.1q encapsulation
597 pseudo-device vlan
598
599 ## Simple inter-network traffic bridging
600 pseudo-device bridge
601 pseudo-device vether # Virtual Ethernet for bridge
602 pseudo-device agr # IEEE 802.3ad link aggregation
603
604 pseudo-device npf # NPF packet filter
605
606 ## for IPv6
607 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
608 #pseudo-device faith # IPv[46] tcp relay translation i/f
609 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
610
611
612 #### CardBus and PCMCIA devices
613
614 # PCI CardBus bridge support
615 #cbb* at pci? dev ? function ?
616 #cardslot* at cbb?
617
618 # CardBus bus support
619 #cardbus* at cardslot?
620 #pcmcia* at cardslot?
621
622 ## SBus to PCMCIA bridge
623 #nell* at sbus? slot ? offset ? # PCMCIA bridge
624 #pcmcia* at nell?
625
626 ## CardBus cards; UT marks untested.
627
628 # CardBus serial interfaces
629 #com* at cardbus? function ? # Modems and serial cards UT
630
631 # CardBus SCSI controllers
632 #adv* at cardbus? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
633 #ahc* at cardbus? function ? # Adaptec ADP-1480 UT
634 #njs* at cardbus? function ? # Workbit NinjaSCSI-32
635
636 # CardBus IDE controllers
637 #njata* at cardbus? function ? flags 0x01 # Workbit NinjaATA-32
638
639 # CardBus network interfaces
640 #ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11
641 #athn* at cardbus? function ? # Atheros AR9k (802.11a/g/n) UT
642 #atw* at cardbus? function ? # ADMtek ADM8211 (802.11) UT
643 #bwi* at cardbus? function ? # Broadcom BCM43xx wireless
644 #ex* at cardbus? function ? # 3Com 3C575TX
645 #fxp* at cardbus? function ? # Intel i8255x UT
646 #ral* at cardbus? function ? # Ralink Technology RT25x0 802.11a/b/g UT
647 #re* at cardbus? function ? # Realtek 8139C+/8169/8169S/8110S UT
648 #rtk* at cardbus? function ? # Realtek 8129/8139 UT
649 #rtw* at cardbus? function ? # Realtek 8180L (802.11) UT
650 #tlp* at cardbus? function ? # DECchip 21143
651
652 # CardBus USB controllers
653 #ehci* at cardbus? function ? # Enhanced Host Controller
654 #ohci* at cardbus? function ? # Open Host Controller
655 #uhci* at cardbus? function ? # Universal Host Controller (Intel) UT
656
657 # CardBus IEEE1394 controllers
658 #fwohci* at cardbus? function ? # IEEE1394 Open Host Controller UT
659
660 ## PCMCIA cards; UT marks untested.
661
662 # PCMCIA serial interfaces
663 #com* at pcmcia? function ? # Modems and serial cards
664
665 #pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards UT
666 #com* at pcmcom? slave ? # ...and the slave devices
667
668 # PCMCIA SCSI controllers
669 #aic* at pcmcia? function ? # Adaptec APA-1460 SCSI UT
670 #esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI UT
671 #spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI
672
673 # PCMCIA IDE controllers
674 #wdc* at pcmcia? function ?
675
676 # PCMCIA network interfaces
677 #an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) UT
678 #awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) UT
679 #cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer UT
680 #cs* at pcmcia? function ? # CS89xx Ethernet UT
681 #ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
682 #mbe* at pcmcia? function ? # MB8696x based Ethernet UT
683 #ne* at pcmcia? function ? # NE2000-compatible Ethernet
684 #ray* at pcmcia? function ? # Raytheon Raylink (802.11) UT
685 #sm* at pcmcia? function ? # Megahertz Ethernet UT
686 #wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11)
687 #xirc* at pcmcia? function ? # Xircom CreditCard Ethernet UT
688 #com* at xirc?
689 #xi* at xirc?
690 #mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
691 #com* at mhzc?
692 #sm* at mhzc?
693
694 # PCMCIA USB controllers
695 #slhci* at pcmcia? function ? # ScanLogic SL811HS UT
696
697 #### Bluetooth Controller and Device support
698
699 ## Bluetooth PCMCIA Controllers
700 #bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
701 #btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
702
703 ## Bluetooth USB Controllers
704 ubt* at uhub? port ?
705 aubtfwl* at uhub? port ?
706
707 ## Bluetooth Device Hub
708 #bthub* at bcsp?
709 #bthub* at bt3c?
710 #bthub* at btbc?
711 #bthub* at btuart?
712 bthub* at ubt?
713
714 ## Bluetooth HID support
715 bthidev* at bthub?
716
717 ## Bluetooth Mouse
718 btms* at bthidev? reportid ?
719 wsmouse* at btms? mux 0
720
721 ## Bluetooth Keyboard
722 btkbd* at bthidev? reportid ?
723 wskbd* at btkbd? console ? mux 1
724
725 ## Bluetooth Apple Magic Mouse
726 btmagic* at bthub?
727 wsmouse* at btmagic? mux 0
728
729 ## Bluetooth Audio support
730 btsco* at bthub?
731
732 #### Audio and video devices
733
734 ## /dev/audio support (`audiocs' plus `audio')
735 ##
736 audiocs* at sbus? slot ? offset ? # SUNW,CS4231
737 audiocs* at ebus? # SUNW,CS4231 in U5/U10
738 autri* at pci? dev ? function ? # Blade 100 'sound'
739 auacer* at pci? dev ? function ? # Ultra45
740
741 audio* at audiobus?
742
743 spkr* at audio? # PC speaker (synthesized)
744
745 midi* at midibus?
746
747
748 ## Sun "bwtwo" black and white framebuffer
749 bwtwo0 at sbus? slot ? offset ?
750 bwtwo* at sbus? slot ? offset ?
751
752 ## Sun "cgthree" Sbus color framebuffer
753 cgthree0 at sbus? slot ? offset ?
754 cgthree* at sbus? slot ? offset ?
755
756 ## Sun "cgsix" accelerated color framebuffer.
757 cgsix* at sbus? slot ? offset ?
758
759 ## Southland Media Systems (now Quantum 3D) MGX
760 mgx* at sbus? slot ? offset ?
761
762 ## Sun FFB
763 ffb* at mainbus0
764 upa* at mainbus?
765 ffb* at upa?
766
767 ## Sun XVR-1000
768 gfb* at mainbus0
769
770 # On board vga on U5/U10 etc.
771 machfb* at pci?
772
773 # Sun XVR-100
774 radeonfb* at pci?
775
776 # Sun PGX32 / TechSource Raptor GFX 8P
777 pm2fb* at pci?
778
779 # 3Dlabs Wildcat based boards like XVR-500, 1200 etc.
780 wcfb* at pci?
781
782 # generic PCI framebuffers
783 genfb* at pci?
784 genfb* at sbus? slot ? offset ?
785
786 # make sure the console display is always wsdisplay0
787 wsdisplay0 at wsemuldisplaydev? console 1
788 wsdisplay* at wsemuldisplaydev?
789
790 # wsmouse for sun ms
791 wsmouse* at ms0
792
793 # wskbd for sun kbd
794 wskbd0 at kbd0
795
796 # various options for wscons - we try to look as much like a standard
797 # sun console as possible
798 #options WSEMUL_SUN # sun terminal emulation
799 options WSEMUL_VT100 # allow us to be wsvt25
800 options WS_DEFAULT_FG=WSCOL_BLACK
801 options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
802 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
803 options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls
804 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
805 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
806 options WSDISPLAY_DEFAULTSCREENS=4
807 options FONT_GALLANT12x22 # PROM font look-alike
808 options FONT_DROID_SANS_MONO12x22 # antialiased font
809
810 #### Other device configuration
811
812 psm* at ebus? # Ultrabook IIi microcontroller
813 pcfiic* at ebus? # various environmental monitoring
814 iic* at pcfiic?
815 lom* at ebus? # LOMlite lights out management
816
817 # Netra X1 / T1 style environmental monitoring
818 alipm* at pci?
819 iic* at alipm?
820
821 spdmem* at iic? addr?
822 admtemp* at iic? addr?
823 adm1026hm* at iic? addr?
824 ecadc* at iic? addr? # envctrl/envctrltwo on E250/E450
825 lmtemp* at iic? addr?
826 tda* at iic? addr? # fan control on SB1000/2000
827 dbcool* at iic? addr? # SB25000
828 seeprom* at iic? addr? # i2c-at24c64 fru's
829
830 ### Other pseudo-devices
831
832 pseudo-device crypto # /dev/crypto device
833 pseudo-device swcrypto # software crypto implementation
834
835 ## Pseudo ttys, required for network logins and programs like screen.
836
837 pseudo-device pty # pseudo-ttys (for network, etc.)
838
839 ## Random device, used to implement /dev/random (a source of random noise),
840 ## and generate randomness for some kernel formulae.
841
842
843 pseudo-device wsmux # mouse & keyboard multiplexor
844 pseudo-device wsfont
845 pseudo-device clockctl # user control of clock subsystem
846 pseudo-device ksyms # /dev/ksyms
847 pseudo-device fss # file system snapshot device
848 #pseudo-device bcsp # BlueCore Serial Protocol
849 #pseudo-device btuart # Bluetooth HCI UART (H4)
850 pseudo-device lockstat # lock profiling
851
852 # drvctl - needed to show device dictionary via drvctl(8)
853 pseudo-device drvctl
854
855 include "dev/veriexec.config"
856
857 options PAX_ASLR_DEBUG=1 # PaX ASLR debug
858 options PAX_SEGVGUARD=0 # PaX Segmentation fault guard
859 # XXX: there is no PLT format for sparc64 that cooperates with
860 # MPROTECT, so disable it for now
861 # options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
862 # options PAX_MPROTECT_DEBUG=1 # PaX mprotect debug
863 options PAX_ASLR=1 # PaX Address Space Layout Randomization
864