GENERIC revision 1.609
1# $NetBSD: GENERIC,v 1.609 2024/01/29 18:27:10 christos 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
21include 	"arch/amd64/conf/std.amd64"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident		"GENERIC-$Revision: 1.609 $"
26
27maxusers	64		# estimated number of users
28
29# delay between "rebooting ..." message and hardware reset, in milliseconds
30#options 	CPURESET_DELAY=2000
31
32# This option allows you to force a serial console at the specified
33# I/O address.   see console(4) for details.
34#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
35#	you don't want the option below ON iff you are using the
36#	serial console option of the new boot strap code.
37#options 	CONS_OVERRIDE	# Always use above! independent of boot info
38
39# The following options override the memory sizes passed in from the boot
40# block.  Use them *only* if the boot block is unable to determine the correct
41# values.  Note that the BIOS may *correctly* report less than 640k of base
42# memory if the extended BIOS data area is located at the top of base memory
43# (as is the case on most recent systems).
44#options 	REALBASEMEM=639		# size of base memory (in KB)
45#options 	REALEXTMEM=15360	# size of extended memory (in KB)
46
47# The following options limit the overall size of physical memory
48# and/or the maximum address used by the system.
49# Contrary to REALBASEMEM and REALEXTMEM, they still use the BIOS memory map
50# and can deal with holes in the memory layout.
51#options 	PHYSMEM_MAX_SIZE=64	# max size of physical memory (in MB)
52#options 	PHYSMEM_MAX_ADDR=2048	# don't use memory above this (in MB)
53
54# Standard system options
55
56options 	INSECURE	# disable kernel security levels - X needs this
57
58options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
59options 	NTP		# NTP phase/frequency locked loop
60
61options 	KTRACE		# system call tracing via ktrace(1)
62
63options 	CPU_UCODE	# cpu ucode loading support
64
65# Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
66options 	SYSVMSG		# System V-like message queues
67options 	SYSVSEM		# System V-like semaphores
68options 	SYSVSHM		# System V-like memory sharing
69
70options 	MODULAR		# new style module(7) framework
71options 	MODULAR_DEFAULT_AUTOLOAD
72options 	USERCONF	# userconf(4) support
73#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
74options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
75
76# CPU-related options
77options 	USER_LDT	# User-settable LDT, used by Wine
78options 	SVS		# Separate Virtual Space
79options 	PCPU_IDT	# Per CPU IDTs
80
81# GCC Spectre variant 2 mitigation
82makeoptions	SPECTRE_V2_GCC_MITIGATION=1
83options 	SPECTRE_V2_GCC_MITIGATION
84
85# CPU features
86acpicpu*	at cpu?		# ACPI CPU (including frequency scaling)
87coretemp*	at cpu?		# Intel on-die thermal sensor
88est0		at cpu0		# Intel Enhanced SpeedStep (non-ACPI)
89hyperv0 	at cpu0		# Microsoft Hyper-V
90#odcm0		at cpu0		# On-demand clock modulation
91powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
92vmt0		at cpu0		# VMware Tools
93
94#Xen PV support for PVH and HVM guests
95options 	XENPVHVM
96options 	XEN
97hypervisor*	at mainbus?		# Xen hypervisor
98xenbus*	 	at hypervisor?		# Xen virtual bus
99xencons*	at hypervisor?		# Xen virtual console
100xennet*  	at xenbus?		# Xen virtual network interface
101xbd*		at xenbus?		# Xen virtual block device
102# experimental: PVH dom0 support
103#options 	DOM0OPS
104#pseudo-device  xenevt
105#pseudo-device  xvif
106#pseudo-device  xbdback
107
108
109# Alternate buffer queue strategies for better responsiveness under high
110# disk I/O load.
111#options 	BUFQ_READPRIO
112options 	BUFQ_PRIOCSCAN
113
114# Diagnostic/debugging support options
115options 	DIAGNOSTIC	# inexpensive kernel consistency checks
116				# XXX to be commented out on release branch
117#options 	DEBUG		# expensive debugging checks/support
118#options 	LOCKDEBUG	# expensive locking checks/support
119
120#
121# Because gcc omits the frame pointer for any -O level, the line below
122# is needed to make backtraces in DDB work.
123#
124makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
125options 	DDB		# in-kernel debugger
126#options 	DDB_COMMANDONENTER="bt"	# execute command when ddb is entered
127#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
128options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
129#options 	KGDB		# remote debugger
130#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
131makeoptions	DEBUG="-g"	# compile full symbol table for CTF
132options DDB_COMMANDONENTER="trace;show registers"
133#options 	SYSCALL_STATS	# per syscall counts
134#options 	SYSCALL_TIMES	# per syscall times
135#options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
136options 	KDTRACE_HOOKS	# kernel DTrace hooks
137
138# Kernel Undefined Behavior Sanitizer (kUBSan).
139#options 	KUBSAN			# mandatory
140#options 	UBSAN_ALWAYS_FATAL	# optional: panic on all kUBSan reports
141
142# Kernel Address Sanitizer (kASan). You need to disable SVS to use it.
143# The quarantine is optional and can help KASAN find more use-after-frees.
144# Use KASAN_PANIC if you want panics instead of warnings.
145#makeoptions 	KASAN=1		# mandatory
146#options 	KASAN		# mandatory
147#no options 	SVS		# mandatory
148#options 	POOL_QUARANTINE	# optional
149#options 	KASAN_PANIC	# optional
150
151# Kernel Concurrency Sanitizer (kCSan).
152#makeoptions 	KCSAN=1		# mandatory
153#options 	KCSAN		# mandatory
154#options 	KCSAN_PANIC	# optional
155
156# Kernel Memory Sanitizer (kMSan). You need to disable SVS and kernel modules
157# to use it. POOL_NOCACHE is optional and can help KMSAN find uninitialized
158# memory in pool caches. Note that KMSAN requires at least 4GB of RAM.
159#makeoptions 	KMSAN=1		# mandatory
160#options 	KMSAN		# mandatory
161#no options 	SVS		# mandatory
162#no options 	MODULAR		# mandatory
163#no options 	MODULAR_DEFAULT_AUTOLOAD	# mandatory
164#options 	POOL_NOCACHE	# optional
165#options 	KMSAN_PANIC	# optional
166
167# Kernel Code Coverage Driver.
168#makeoptions	KCOV=1
169#options 	KCOV
170
171# Fault Injection Driver.
172#options 	FAULT
173
174# Heartbeat checks
175options 	HEARTBEAT
176options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
177
178# Compatibility options
179# x86_64 never shipped with a.out binaries; the two options below are
180# only relevant to 32-bit i386 binaries
181#options 	EXEC_AOUT	# required by binaries from before 1.5
182#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
183
184# NetBSD backward compatibility. Support goes from COMPAT_15 up until
185# the latest release. Note that really old compat (< COMPAT_16) is only
186# useful for 32-bit i386 binaries.
187include 	"conf/compat_netbsd15.config"
188
189#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
190
191options 	COMPAT_NETBSD32
192options 	EXEC_ELF32
193
194# Wedge support
195options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
196options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
197#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
198#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
199options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
200#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
201
202# File systems
203include "conf/filesystems.config"
204
205# File system options
206# ffs
207options 	FFS_EI		# FFS Endian Independent support
208#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
209options 	QUOTA		# legacy UFS quotas
210options 	QUOTA2		# new, in-filesystem UFS quotas
211options 	UFS_ACL		# UFS Access Control Lists
212options 	UFS_DIRHASH	# UFS Large Directory Hashing
213options 	UFS_EXTATTR	# Extended attribute support for UFS1
214options 	WAPBL		# File system journaling support
215# lfs
216options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH
217# ext2fs
218# other
219options 	DISKLABEL_EI	# disklabel Endian Independent support
220options 	NFSSERVER	# Network File System server
221
222# Networking options
223#options 	GATEWAY		# packet forwarding
224options 	INET		# IP + ICMP + TCP + UDP
225options 	INET6		# IPV6
226options 	IPSEC		# IP security
227#options 	IPSEC_DEBUG	# debug for IP security
228#options 	MPLS		# MultiProtocol Label Switching (needs mpls)
229#options 	MROUTING	# IP multicast routing
230#options 	PIM		# Protocol Independent Multicast
231options 	NETATALK	# AppleTalk networking protocols
232#options 	CAN		# Controller Area Network protocol
233options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
234options 	PPP_DEFLATE	# Deflate compression support for PPP
235options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
236#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
237#options 	TCP_SIGNATURE	# Enable RFC-2385 TCP md5 signatures
238
239#options 	ALTQ		# Manipulate network interfaces' output queues
240#options 	ALTQ_BLUE	# Stochastic Fair Blue
241#options 	ALTQ_CBQ	# Class-Based Queueing
242#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
243#options 	ALTQ_FIFOQ	# First-In First-Out Queue
244#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
245#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
246#options 	ALTQ_LOCALQ	# Local queueing discipline
247#options 	ALTQ_PRIQ	# Priority Queueing
248#options 	ALTQ_RED	# Random Early Detection
249#options 	ALTQ_RIO	# RED with IN/OUT
250#options 	ALTQ_WFQ	# Weighted Fair Queueing
251
252# These options enable verbose messages for several subsystems.
253# Warning, these may compile large string tables into the kernel!
254#options 	ACPIVERBOSE	# verbose ACPI configuration messages
255#options 	MIIVERBOSE	# verbose PHY autoconfig messages
256options 	PCIVERBOSE	# verbose PCI device autoconfig messages
257#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
258#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
259options 	SCSIVERBOSE	# human readable SCSI error messages
260#options 	USBVERBOSE	# verbose USB device autoconfig messages
261options 	HDAUDIOVERBOSE	# human readable HDAUDIO device names
262
263options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
264
265#
266# wscons options
267#
268# builtin terminal emulations
269options 	WSEMUL_VT100		# VT100 / VT220 emulation
270#options 	WSEMUL_SUN		# sun terminal emulation
271#options 	WSEMUL_DEFAULT="\"vt100\""  # NB: default is "sun" if enabled
272# different kernel output - see dev/wscons/wsdisplayvar.h
273options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
274options 	WS_KERNEL_FG=WSCOL_GREEN
275#options 	WS_KERNEL_BG=WSCOL_BLACK
276# customization of console border color
277options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
278# compatibility to other console drivers
279options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
280options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
281options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
282options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
283# don't attach pckbd as the console if no PS/2 keyboard is found
284options 	PCKBD_CNATTACH_MAY_FAIL
285# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
286#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
287# allocate a number of virtual screens at autoconfiguration time
288#options 	WSDISPLAY_DEFAULTSCREENS=4
289# use a large software cursor that doesn't blink
290options 	PCDISPLAY_SOFTCURSOR
291# modify the screen type of the console; defaults to "80x25"
292#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
293# work around a hardware bug that loaded fonts don't work; found on ATI cards
294#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
295# console scrolling support.
296options 	WSDISPLAY_SCROLLSUPPORT
297# enable VGA raster mode capable of displaying multilingual text on console
298#options 	VGA_RASTERCONSOLE
299# enable splash screen support; requires genfb or radeonfb
300#options 	SPLASHSCREEN
301
302# Kernel root file system and dump configuration.
303config		netbsd	root on ? type ?
304#config		netbsd	root on sd0a type ffs
305#config		netbsd	root on ? type nfs
306
307#
308# Device configuration
309#
310
311# IPMI support
312ipmi0		at mainbus?
313ipmi_acpi*	at acpi?
314ipmi0		at ipmi_acpi?
315
316# ACPI will be used if present. If not it will fall back to MPBIOS
317acpi0		at mainbus0
318options 	ACPI_SCANPCI		# find PCI roots using ACPI
319options 	MPBIOS			# configure CPUs and APICs using MPBIOS
320options 	MPBIOS_SCANPCI		# MPBIOS configures PCI roots
321#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing via ACPI
322#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
323#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
324#options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
325options 	VGA_POST		# in-kernel support for VGA POST
326
327# ACPI devices
328acpiacad*	at acpi?		# ACPI AC Adapter
329acpibat*	at acpi?		# ACPI Battery
330acpibut*	at acpi?		# ACPI Button
331acpidalb*	at acpi?		# ACPI Direct Application Launch Button
332acpiec* 	at acpi?		# ACPI Embedded Controller (late)
333acpiecdt*	at acpi?		# ACPI Embedded Controller (early)
334acpifan*	at acpi?		# ACPI Fan
335acpilid*	at acpi?		# ACPI Lid Switch
336#acpipmtr*	at acpi?		# ACPI Power Meter (experimental)
337#acpismbus*	at acpi?		# ACPI SMBus CMI (experimental)
338acpitz* 	at acpi?		# ACPI Thermal Zone
339acpivga*	at acpi?		# ACPI Display Adapter
340acpiout*	at acpivga?		# ACPI Display Output Device
341acpiwdrt*	at acpi?		# ACPI Watchdog Resource Table
342acpiwmi*	at acpi?		# ACPI WMI Mapper
343
344# Mainboard devices
345aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
346asus*		at acpi?		# ASUS hotkeys
347attimer*	at acpi?		# AT Timer
348com0		at acpi?		# Serial communications interface
349com1		at acpi?		# Serial communications interface
350com*		at acpi?		# Serial communications interface
351fdc*		at acpi?		# Floppy disk controller
352fd*		at fdc? drive ?		# the drives themselves
353fujbp*		at acpi?		# Fujitsu Brightness & Pointer
354fujhk*		at acpi?		# Fujitsu Hotkeys
355#hpacel* 	at acpi?		# HP 3D DriveGuard accelerometer
356#hpqlb*		at acpi?		# HP Quick Launch Buttons
357hpet*		at acpihpetbus?		# High Precision Event Timer (table)
358hpet*		at acpinodebus?		# High Precision Event Timer (device)
359joy*		at acpi?		# Joystick/Game port
360lpt0		at acpi?		# Parallel port
361lpt1		at acpi?		# Parallel port
362lpt*		at acpi?		# Parallel port
363mpu*		at acpi?		# Roland MPU-401 MIDI UART
364pckbc*		at acpi?		# PC keyboard controller
365pcppi*		at acpi?		# AT-style speaker sound
366qemufwcfg*	at acpi?		# QEMU Firmware Configuration device
367sdhc*		at acpi?		# SD Host Controller
368sony*		at acpi?		# Sony Notebook Controller
369spic*		at acpi?		# Sony Programmable I/O Controller
370wsmouse*	at spic?		# mouse
371thinkpad*	at acpi?		# IBM/Lenovo Thinkpad hotkeys
372tpm*		at acpi?		# ACPI TPM (Experimental)
373ug*		at acpi?		# Abit uGuru Hardware monitor
374valz*		at acpi?		# Toshiba Dynabook hotkeys
375wb*		at acpi?		# Winbond W83L518D SD/MMC reader
376sdmmc*		at wb?			# SD/MMC bus
377wmidell*	at acpiwmibus?		# Dell WMI mappings
378wmieeepc*	at acpiwmibus?		# Asus Eee PC WMI mappings
379wmihp*		at acpiwmibus?		# HP WMI mappings
380wmimsi* 	at acpiwmibus?		# MSI WMI mappings
381
382# Basic Bus Support
383
384# PCI bus support
385pci*	at mainbus? bus ?
386pci*	at pchb? bus ?
387pci*	at ppb? bus ?
388
389# PCI bridges
390pchb*	at pci? dev ? function ?	# PCI-Host bridges
391options 	AGP_X86
392pcib*	at pci? dev ? function ?	# PCI-ISA bridges
393ppb*	at pci? dev ? function ?	# PCI-PCI bridges
394# XXX 'puc's aren't really bridges, but there's no better place for them here
395puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
396
397amdpcib* at pci? dev ? function ?	# AMD 8111 PCI-ISA w/ HPET
398hpet*	at amdpcib?
399
400pwdog*	at pci? dev ? function ?	# QUANCOM PWDOG1
401
402ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-LPC w/ timecounter,
403					# watchdog, gpio, Speedstep and HPET
404fwhrng* at ichlpcib?		# Intel 82802 FWH Random Number Generator
405#hpet*	at ichlpcib?
406tco*	at tcoichbus?		# TCO watch dog timer
407
408aapic*	at pci? dev ? function ?	# AMD 8131 IO apic
409
410agp*	at pchb?
411
412# ISA bus support
413isa0	at mainbus?
414isa0	at pcib?
415#isa0	at amdpcib?
416isa0	at ichlpcib?
417
418# CardBus bridge support
419cbb*		at pci? dev ? function ?
420cardslot*	at cbb?
421
422# CardBus bus support
423cardbus*	at cardslot?
424pcmcia* 	at cardslot?
425
426# Console Devices
427
428# wscons
429pckbc0		at isa?			# pc keyboard controller
430pckbd*		at pckbc?		# PC keyboard
431pms*		at pckbc?		# PS/2 mouse for wsmouse
432#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
433options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
434options 	PMS_ELANTECH_TOUCHPAD	# Enable support for Elantech Touchpads
435options 	PMS_ALPS_TOUCHPAD	# Enable support for Alps Touchpads
436vga*		at pci? dev ? function ?
437genfb*		at pci? dev ? function ?
438options 	VCONS_DRAW_INTR
439wsdisplay*	at vga? console ?
440wsdisplay*	at wsemuldisplaydev?
441wskbd*		at pckbd? console ?
442wsmouse*	at pms? mux 0
443wsmouse*	at wsmousedev?
444
445attimer0	at isa?
446pcppi0		at isa?
447sysbeep0	at pcppi?
448
449# DRI legacy drivers
450#i915drm*	at drm?		# Intel i915, i945 DRM driver
451#mach64drm*	at drm?		# mach64 (3D Rage Pro, Rage) DRM driver
452#mgadrm* 	at drm?		# Matrox G[24]00, G[45]50 DRM driver
453#r128drm*	at drm?		# ATI Rage 128 DRM driver
454#radeondrm*	at drm?		# ATI Radeon DRM driver
455#savagedrm*	at drm?		# S3 Savage DRM driver
456#sisdrm* 	at drm?		# SiS DRM driver
457#tdfxdrm*	at drm?		# 3dfx (voodoo) DRM driver
458
459# DRMKMS drivers
460i915drmkms*	at pci? dev ? function ?
461intelfb*	at intelfbbus?
462
463radeon* 	at pci? dev ? function ?
464radeondrmkmsfb* at radeonfbbus?
465
466#amdgpu*	at pci? dev ? function ?
467#amdgpufb*	at amdgpufbbus?
468
469nouveau*	at pci? dev ? function ?
470nouveaufb*	at nouveaufbbus?
471
472# DRMUMS drivers -- make them loadable, but not statically linked in
473options 	DRM_LEGACY
474#viadrmums*	at drm?
475
476#options 	DRM_MAX_RESOLUTION_HORIZONTAL=1920	# Limit DRM size in horizontal dimension
477#options 	DRM_MAX_RESOLUTION_VERTICAL=1080	# Limit DRM size in vertical dimension
478
479# Cryptographic Devices
480
481# PCI cryptographic devices
482amdccp*	at pci? dev ? function ?	# AMD Cryptographic Coprocessor
483hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
484#qat*	at pci? dev ? function ?	# Intel QuickAssist
485ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
486
487# Trusted Platform Module
488tpm*	at isa? iomem 0xfed40000 irq 7
489
490# Serial Devices
491
492# PCI serial interfaces
493com*	at puc? port ?			# 16x50s on "universal" comm boards
494cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
495cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
496
497# PCMCIA serial interfaces
498com*	at pcmcia? function ?		# Modems and serial cards
499
500pcmcom* at pcmcia? function ?		# PCMCIA multi-port serial cards
501com*	at pcmcom? slave ?		# ...and the slave devices
502
503# CardBus serial interfaces
504com*	at cardbus? function ?	# Modems and serial cards
505
506# ISA serial interfaces
507#options 	COM_HAYESP		# adds Hayes ESP serial board support
508com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
509com1	at isa? port 0x2f8 irq 3
510
511# Parallel Printer Interfaces
512
513# PCI parallel printer interfaces
514lpt*	at puc? port ?			# || ports on "universal" comm boards
515
516# ISA parallel printer interfaces
517lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
518lpt1	at isa? port 0x278
519
520# Hardware monitors
521
522amdnb_misc* at pci?			# AMD NB Misc Configuration
523amdtemp* at amdnb_misc?  		# AMD CPU Temperature sensors
524
525amdsmn* at pci?				# AMD SMN Configuration
526amdzentemp* at amdsmnbus?		# AMD Ryzen Family 17h CPU temp sensors
527
528# Winbond LPC Super I/O
529#wbsio*	at isa? port 0x2e
530#wbsio*	at isa? port 0x4e
531
532# IBM Hawk Integrated Systems Management Processor
533#ibmhawk0	at iic? addr 0x37
534
535# LM7[89] and compatible hardware monitors
536# Use flags to select temp sensor type (see lm(4) man page for details)
537#lm0	at isa?	port 0x290 flags 0x0	# other common ports: 0x280, 0x310
538#lm*	at wbsio?
539
540# SMSC LPC47B397 hardware monitor functions
541#smsc0	at isa? port 0x02e
542
543# SMSC LPC47M192 hardware monitor
544#smscmon*	at iic? addr 0x2c
545#smscmon*	at iic? addr 0x2d	# (alternate address)
546
547# AMD 768 and 8111 power/ACPI controllers
548amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
549#iic*	at amdpm?			# sensors below are on this bus
550
551# NVIDIA nForce2/3/4 SMBus controller
552nfsmbc* at pci? dev ? function ?
553nfsmb*	at nfsmbc?
554iic*	at nfsmb?
555
556# Intel PIIX4 power management controllers
557piixpm* at pci? dev ? function ?	# PIIX4 compatible PM controller
558iic*	at piixpm?			# SMBus on PIIX4
559
560# Intel ICH SMBus controller
561ichsmb* at pci? dev ? function ?
562iic*	at ichsmb?
563
564# Intel S1200,C2000 (non-pch) SMBus controller
565ismt* at pci? dev ? function ?
566iic*	at ismt?
567
568# DesignWare I2C controller as found in some Intel PCH and AMD FCH devices.
569dwiic*		at acpi?		# DesignWare I2C controller
570dwiic*		at pci?			# DesignWare I2C controller
571iic*		at dwiic?
572
573# Thermal monitor and fan controller
574#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
575#dbcool* at iic? addr 0x2D		# Tyan S2881
576#dbcool* at iic? addr 0x2E		# Tyan S2882-D
577
578# IBM Thinkpad Active Protection System
579#aps0	at isa? port 0x1600
580
581# Fintek Super I/O with hardware monitor
582#finsio0 	at isa? port 0x4e
583
584# iTE IT87xxF Super I/O with watchdog and sensors support
585#itesio0 	at isa? port 0x2e
586
587# Abit uGuru Hardware system monitor
588#ug0	at isa? port 0xe0
589
590# Serial Presence Detect capable memory modules
591#spdmem* at iic? addr 0x50
592#spdmem* at iic? addr 0x51
593#spdmem* at iic? addr 0x52
594#spdmem* at iic? addr 0x53
595#spdmem* at iic? addr 0x54
596#spdmem* at iic? addr 0x55
597#spdmem* at iic? addr 0x56
598#spdmem* at iic? addr 0x57
599#sdtemp* at iic? addr 0x18
600#sdtemp* at iic? addr 0x19
601#sdtemp* at iic? addr 0x1a
602#sdtemp* at iic? addr 0x1b
603#sdtemp* at iic? addr 0x1c
604#sdtemp* at iic? addr 0x1d
605#sdtemp* at iic? addr 0x1e
606#sdtemp* at iic? addr 0x1f
607
608# Intel GPIO
609igpio*         at acpi? 
610
611# I2C HID devices
612ihidev* at iic?
613
614# I2C Mice
615ims*	at ihidev? reportid ?
616wsmouse* at ims? mux 0
617
618# I2O devices
619iop*	at pci? dev ? function ?	# I/O processor
620iopsp*	at iop? tid ?			# SCSI/FC-AL ports
621ld*	at iop? tid ?			# block devices
622# XXX dpti.c wants a processor type that is not assigned for x86-64
623#dpti*	at iop? tid 0			# DPT/Adaptec control interface
624
625# GPIO devices
626gpio*		at gpiobus?
627
628# 1- Wire support
629#gpioow* 	at gpio? offset ? mask ?	# 1-wire bitbanging via gpio
630gpioow* 	at gpio?
631onewire*	at gpioow?
632
633# 1-Wire devices
634owtemp* 	at onewire?			# Temperature sensors
635
636# I2C support
637#gpioiic*	at gpio?
638#iic*		at gpioiic?
639
640# Keylock support
641#gpiolock*	at gpio?
642
643# Pulsing GPIO pins in software
644#gpiopwm*	at gpio?
645
646# Soekris 6501 GPIO/LED driver (provides gpiobus, needs gpio)
647#soekrisgpio0	at isa? port 0x680
648
649# Nuvoton NCT5104D SuperIO providing GPIO
650nct0		at isa? port ?
651
652# SCSI Controllers and Devices
653
654# PCI SCSI controllers
655adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
656adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
657ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
658ahd*	at pci? dev ? function ?	# Adaptec aic790x SCSI
659bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
660dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
661iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
662isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
663mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
664mfii*	at pci? dev ? function ?	# LSI MegaRAID SAS (Fusion and newer)
665mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
666mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
667mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
668njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
669pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
670siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
671esiop*	at pci? dev ? function ?	# Symbios 53c875 and newer SCSI
672#options 	SIOP_SYMLED		# drive the act. LED in software
673trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
674
675# PCMCIA SCSI controllers
676aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
677esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
678spc*	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI
679
680# CardBus SCSI cards
681adv*	at cardbus? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
682ahc*	at cardbus? function ?	# Adaptec ADP-1480
683njs*	at cardbus? function ?	# Workbit NinjaSCSI-32
684
685# SCSI bus support
686scsibus* at scsi?
687
688# SCSI devices
689sd*	at scsibus? target ? lun ?	# SCSI disk drives
690st*	at scsibus? target ? lun ?	# SCSI tape drives
691cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
692ch*	at scsibus? target ? lun ?	# SCSI autochangers
693ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
694ss*	at scsibus? target ? lun ?	# SCSI scanners
695uk*	at scsibus? target ? lun ?	# SCSI unknown
696
697
698# RAID controllers and devices
699aac*	at pci? dev ? function ?	# Adaptec AAC family
700amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
701arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
702cac*	at pci? dev ? function ?	# Compaq PCI array controllers
703ciss*	at pci? dev ? function ?	# HP Smart Array controllers
704icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
705mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
706twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
707twa*	at pci? dev ? function ?	# 3ware Escalade 9xxx RAID controllers
708
709ld*	at aac? unit ?
710ld*	at amr? unit ?
711ld*	at cac? unit ?
712ld*	at icp? unit ?
713ld*	at twe? unit ?
714ld*	at twa? unit ?
715ld*	at mlx? unit ?
716
717icpsp*	at icp? unit ?			# SCSI pass-through
718
719# IDE and related devices
720# PCI IDE controllers - see pciide(4) for supported hardware.
721# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
722# how to set up DMA modes for this chip. This may work, or may cause
723# a machine hang with some controllers.
724pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
725acardide* at pci? dev ? function ?	# Acard IDE controllers
726aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
727ahcisata* at pci? dev ? function ?	# AHCI SATA controllers
728artsata* at pci? dev ? function ?	# Intel i31244 SATA controller
729cmdide* at pci? dev ? function ?	# CMD tech IDE controllers
730cypide* at pci? dev ? function ?	# Cypress IDE controllers
731hptide* at pci? dev ? function ?	# Triones/HighPoint IDE controllers
732iteide* at pci? dev ? function ?	# IT Express IDE controllers
733ixpide* at pci? dev ? function ?	# ATI IXP IDE controllers
734jmide*	at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
735ahcisata* at jmide?
736mvsata* at pci? dev ? function ?	# Marvell Hercules-I/II
737optiide* at pci? dev ? function ?	# Opti IDE controllers
738piixide* at pci? dev ? function ?	# Intel IDE controllers
739pdcide* at pci? dev ? function ?	# Promise IDE controllers
740pdcsata* at pci? dev ? function ?	# Promise SATA150 controllers
741satalink* at pci? dev ? function ?	# SiI SATALink controllers
742siisata* at pci? dev ? function ?	# SiI SteelVine controllers
743siside* at pci? dev ? function ?	# SiS IDE controllers
744slide*	at pci? dev ? function ?	# Symphony Labs IDE controllers
745svwsata* at pci? dev ? function ?	# ServerWorks SATA controllers
746toshide* at pci? dev ? function ?	# TOSHIBA PICCOLO controllers
747viaide* at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
748
749# PCMCIA IDE controllers
750wdc*	at pcmcia? function ?
751
752# CardBus IDE controllers
753njata*	at cardbus? function ? flags 0x01	# Workbit NinjaATA-32
754siisata* at cardbus? function ? 	# SiI SteelVine controllers
755
756# ISA ST506, ESDI, and IDE controllers
757# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
758# fall back to 16bits I/O if 32bits I/O are not functional).
759# Some controllers pass the initial 32bit test, but will fail later.
760wdc0	at isa? port 0x1f0 irq 14 flags 0x00
761wdc1	at isa? port 0x170 irq 15 flags 0x00
762
763# ATA (IDE) bus support
764atabus* at ata?
765options 	ATADEBUG
766
767# IDE drives
768# Flags are used only with controllers that support DMA operations
769# and mode settings (e.g. some pciide controllers)
770# The lowest order four bits (rightmost digit) of the flags define the PIO
771# mode to use, the next set of four bits the DMA mode and the third set the
772# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
773# to use, and the last bit must be 1 for this setting to be used.
774# For DMA and UDMA, 0xf (1111) means 'disable'.
775# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
776# (0xc=1100, 0xa=1010, 0xf=1111)
777# 0x0000 means "use whatever the drive claims to support".
778wd*	at atabus? drive ? flags 0x0000
779
780# ATAPI bus support
781atapibus* at atapi?
782
783
784# ATA RAID configuration support, as found on some Promise controllers.
785pseudo-device ataraid
786ld*	at ataraid? vendtype ? unit ?
787
788# ATAPI devices
789# flags have the same meaning as for IDE drives.
790cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
791sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
792st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
793uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
794
795
796# NVM Express controllers and devices
797nvme*	at pci? dev ? function ?
798ld*	at nvme? nsid ?
799
800
801# Miscellaneous mass storage devices
802
803# ISA floppy
804#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
805#fdc1	at isa? port 0x370 irq ? drq ?
806
807# Network Interfaces
808
809# PCI network interfaces
810age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
811alc*	at pci? dev ? function ?	# Attansic/Atheros L1C/L2C Ethernet
812ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
813an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
814aq*	at pci? dev ? function ?	# Aquantia AQC 10 gigabit
815ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
816athn*	at pci? dev ? function ?	# Atheros AR9k (802.11a/g/n)
817atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
818bce*	at pci? dev ? function ?	# Broadcom 440x 10/100 Ethernet
819bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
820bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
821bwi*	at pci? dev ? function ?	# Broadcom BCM43xx wireless
822bwfm*	at pci? dev ? function ?	# Broadcom FullMAC
823cas*	at pci? dev ? function ?	# Sun Cassini/Cassini+ Ethernet
824dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
825ena*	at pci? dev ? function ?	# Amazon.com Elastic Network Adapter
826ep*	at pci? dev ? function ?	# 3Com 3c59x
827epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
828#eqos*	at pci? dev ? function ?	# DesignWare Ethernet QoS
829et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
830ex*	at pci? dev ? function ?	# 3Com 90x[BC]
831fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
832gem*	at pci? dev ? function ?	# Apple GMAC and Sun ERI gigabit enet
833gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
834hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
835iavf*	at pci? dev ? function ?	# Intel Adaptive Virtual Function
836igc*	at pci? dev ? function ?	# Intel I225 2.5 gigabit
837ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
838iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
839iwm*	at pci? dev ? function ?	# Intel Centrino 7260
840iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
841ixg*	at pci? dev ? function ?	# Intel 8259x 10 gigabit
842ixl*	at pci? dev ? function ?	# Intel Ethernet 700 Series
843ixv*	at pci? dev ? function ?	# Intel 8259x 10G virtual function
844jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 ethernet
845kse*	at pci? dev ? function ?	# Micrel KSZ8841/8842 ethernet
846lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
847malo*	at pci? dev ? function ?	# Marvell Libertas Wireless
848mcx*	at pci? dev ? function ?	# Mellanox 5th generation Ethernet
849mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
850msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
851mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
852ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
853nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
854ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
855pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
856ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
857re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
858rge*	at pci? dev ? function ?	# Realtek 8125
859rtk*	at pci? dev ? function ?	# Realtek 8129/8139
860rtw*	at pci? dev ? function ?	# Realtek 8180L (802.11)
861rtwn*	at pci? dev ? function ?	# Realtek 8188CE/8192CE 802.11b/g/n
862sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
863sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
864skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
865sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
866ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
867stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
868ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
869tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
870tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
871txp*	at pci? dev ? function ?	# 3com 3cr990
872vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
873vmx*	at pci? dev ? function ?	# VMware VMXNET3
874vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
875wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
876wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit
877wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
878xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
879
880# PCMCIA network interfaces
881an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
882awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
883cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
884cs*	at pcmcia? function ?		# CS89xx Ethernet
885ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
886malo*	at pcmcia? function ?		# Marvell Libertas
887mbe*	at pcmcia? function ?		# MB8696x based Ethernet
888ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
889ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
890sm*	at pcmcia? function ?		# Megahertz Ethernet
891wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
892xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
893com*	at xirc?
894xi*	at xirc?
895
896mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
897com*	at mhzc?
898sm*	at mhzc?
899
900# CardBus network cards
901ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
902athn*	at cardbus? function ?	# Atheros AR9k (802.11a/g/n) - UNTESTED
903atw*	at cardbus? function ?	# ADMtek ADM8211 (802.11)
904ex*	at cardbus? function ?	# 3Com 3C575TX
905fxp*	at cardbus? function ?	# Intel i8255x
906malo*	at cardbus? function ?	# Marvell Libertas Wireless
907ral*	at cardbus? function ?	# Ralink Technology RT25x0 802.11a/b/g
908re*	at cardbus? function ?	# Realtek 8139C+/8169/8169S/8110S
909rtk*	at cardbus? function ?	# Realtek 8129/8139
910rtw*	at cardbus? function ?	# Realtek 8180L (802.11)
911tlp*	at cardbus? function ?	# DECchip 21143
912
913# MII/PHY support
914acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
915amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
916atphy*	at mii?	phy ?			# Attansic/Atheros PHYs
917bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
918brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
919ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
920dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
921etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
922exphy*	at mii? phy ?			# 3Com internal PHYs
923gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
924glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
925gphyter* at mii? phy ?			# NS83861 Gig-E PHY
926icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
927igphy*	at mii? phy ?			# Intel IGP01E1000
928ihphy*	at mii? phy ?			# Intel 82577 PHYs
929ikphy*	at mii? phy ?			# Intel 82563 PHYs
930inphy*	at mii? phy ?			# Intel 82555 PHYs
931iophy*	at mii? phy ?			# Intel 82553 PHYs
932ipgphy* at mii? phy ?			# IC PLUS IP1000A/IP1001 PHYs
933jmphy*	at mii? phy ?			# Jmicron JMP202/211 PHYs
934lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
935makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
936micphy* at mii? phy ?			# Micrel KSZ[89]xxx PHYs
937nsphy*	at mii? phy ?			# NS83840 PHYs
938nsphyter* at mii? phy ? 		# NS83843 PHYs
939pnaphy* at mii? phy ?			# generic HomePNA PHYs
940qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
941rgephy* at mii? phy ?			# Realtek 8169S/8110 internal PHYs
942rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
943smscphy* at mii? phy ?			# SMSC LAN87xx PHYs
944sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
945tlphy*	at mii? phy ?			# ThunderLAN PHYs
946tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
947ukphy*	at mii? phy ?			# generic unknown PHYs
948urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
949
950
951# USB Controller and Devices
952
953# Virtual USB controller
954#pseudo-device	vhci
955
956# PCI USB controllers
957xhci*	at pci?	dev ? function ?	# eXtensible Host Controller
958ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
959ohci*	at pci?	dev ? function ?	# Open Host Controller
960uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
961
962# CardBus USB controllers
963ehci*	at cardbus? function ?	# Enhanced Host Controller
964ohci*	at cardbus? function ?	# Open Host Controller
965uhci*	at cardbus? function ?		# Universal Host Controller (Intel)
966
967# ISA USB controllers
968#slhci0	at isa? port 0x300 irq 5	# ScanLogic SL811HS
969
970# PCMCIA USB controllers
971slhci*	at pcmcia? function ?		# ScanLogic SL811HS
972
973# USB bus support
974#usb*	at vhci?
975usb*	at xhci?
976usb*	at ehci?
977usb*	at ohci?
978usb*	at uhci?
979usb*	at slhci?
980
981include "dev/usb/usbdevices.config"
982
983# PCI IEEE1394 controllers
984fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
985
986# CardBus IEEE1394 controllers
987fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
988
989ieee1394if* at fwohci?
990fwip*	at ieee1394if?			# IP over IEEE1394
991sbp*	at ieee1394if? euihi ? euilo ?
992
993# Audio Devices
994
995# PCI audio devices
996auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
997auich*	at pci? dev ? function ?	# Intel/AMD/nVidia AC'97 Audio
998auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
999autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
1000auvia*	at pci? dev ? function ?	# VIA AC'97 audio
1001clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
1002clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
1003cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
1004eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
1005emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
1006esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
1007esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
1008eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
1009fms*	at pci? dev ? function ?	# Forte Media FM801
1010neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
1011sv*	at pci? dev ? function ?	# S3 SonicVibes
1012yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
1013
1014# OPL[23] FM synthesizers
1015#opl0	at isa? port 0x388	# use only if not attached to sound card
1016opl*	at cmpci? flags 1
1017opl*	at eso?
1018opl*	at fms?
1019opl*	at sv?
1020
1021# High Definition Audio
1022hdaudio*	at pci? dev ? function ?	# High Definition Audio
1023hdafg*		at hdaudiobus?
1024
1025# Audio support
1026audio*	at audiobus?
1027
1028# The spkr driver provides a simple tone interface to the built in speaker.
1029spkr*	at pcppi?		# PC speaker
1030spkr*	at audio?		# PC speaker (synthesized)
1031#wsbell* at spkr?		# Bell for wscons display (module by default)
1032
1033# MPU 401 UARTs
1034#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
1035mpu*	at cmpci?
1036mpu*	at eso?
1037mpu*	at yds?
1038
1039# MIDI support
1040midi*	at midibus?
1041midi*	at pcppi?		# MIDI interface to the PC speaker
1042
1043# FM-Radio devices
1044# PCI radio devices
1045#gtp*	at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card
1046
1047# Radio support
1048#radio*	at gtp?
1049
1050
1051# Video capture devices
1052
1053coram*	at pci? dev ? function ?	# Conexant CX23885 PCI-E TV
1054cxdtv*	at pci? dev ? function ?	# Conexant CX2388[0-3] PCI TV
1055
1056video*	at videobus?			# Analog capture interface
1057dtv*	at dtvbus?			# Digital capture interface
1058
1059
1060# TV cards
1061
1062# Brooktree 848/849/878/879 based TV cards
1063bktr* at pci? dev ? function ?
1064radio* at bktr?
1065
1066
1067# Bluetooth Controller and Device support
1068
1069# Bluetooth PCMCIA Controllers
1070bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
1071btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
1072
1073# Bluetooth SDIO Controllers
1074sbt* at sdmmc?
1075
1076# Bluetooth USB Controllers
1077ubt* at uhub? port ?
1078aubtfwl* at uhub? port ?
1079
1080# Bluetooth Device Hub
1081bthub* at bcsp?
1082bthub* at bt3c?
1083bthub* at btbc?
1084bthub* at btuart?
1085bthub* at sbt?
1086bthub* at ubt?
1087
1088# Bluetooth HID support
1089bthidev* at bthub?
1090
1091# Bluetooth Mouse
1092btms* at bthidev? reportid ?
1093wsmouse* at btms? mux 0
1094
1095# Bluetooth Keyboard
1096btkbd* at bthidev? reportid ?
1097wskbd* at btkbd? console ? mux 1
1098
1099# Bluetooth Apple Magic Mouse
1100btmagic* at bthub?
1101wsmouse* at btmagic? mux 0
1102
1103# Bluetooth Audio support
1104btsco* at bthub?
1105
1106
1107# SD/MMC/SDIO Controller and Device support
1108
1109# SD/MMC controller
1110sdhc*	at pci?		# SD Host Controller
1111rtsx*	at pci?		# Realtek RTS5209/RTS5229 Card Reader
1112sdhc*	at cardbus?	# SD Host Controller
1113sdmmc*	at sdhc?	# SD/MMC bus
1114sdmmc*	at rtsx?	# SD/MMC bus
1115
1116ld*	at sdmmc?
1117
1118
1119# Middle Digital, Inc. PCI-Weasel serial console board control
1120# devices (watchdog timer, etc.)
1121weasel* at pci?
1122
1123# Virtio devices
1124virtio* at pci? dev ? function ?	# Virtio PCI device
1125viomb*	at virtio?			# Virtio memory balloon device
1126ld*	at virtio?			# Virtio disk device
1127vioif*	at virtio?			# Virtio network device
1128viornd* at virtio?			# Virtio entropy device
1129vioscsi* at virtio?			# Virtio SCSI device
1130#vio9p*	at virtio?			# Virtio 9P device
1131
1132# Hyper-V devices
1133vmbus*		at acpi?		# Hyper-V VMBus
1134genfb*		at vmbus?		# Hyper-V Synthetic Video Framebuffer
1135hvkbd*		at vmbus?		# Hyper-V Synthetic Keyboard
1136wskbd*		at hvkbd? console ? mux 1
1137hvn*		at vmbus?		# Hyper-V NetVSC
1138hvs*		at vmbus?		# Hyper-V StorVSC
1139hvheartbeat*	at vmbus?		# Hyper-V Heartbeat Service
1140hvshutdown*	at vmbus?		# Hyper-V Guest Shutdown Service
1141hvtimesync*	at vmbus?		# Hyper-V Time Synchronization Service
1142#hvkvp*		at vmbus?		# Hyper-V Data Exchange Service
1143
1144# Pseudo-Devices
1145
1146pseudo-device	crypto			# /dev/crypto device
1147pseudo-device	swcrypto		# software crypto implementation
1148
1149# disk/mass storage pseudo-devices
1150pseudo-device	bio			# RAID control device driver
1151pseudo-device	ccd			# concatenated/striped disk devices
1152pseudo-device	cgd			# cryptographic disk devices
1153pseudo-device	raid			# RAIDframe disk driver
1154options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1155# Options to enable various other RAIDframe RAID types.
1156#options 	RF_INCLUDE_EVENODD=1
1157#options 	RF_INCLUDE_RAID5_RS=1
1158#options 	RF_INCLUDE_PARITYLOGGING=1
1159#options 	RF_INCLUDE_CHAINDECLUSTER=1
1160#options 	RF_INCLUDE_INTERDECLUSTER=1
1161#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1162#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1163pseudo-device	fss			# file system snapshot device
1164
1165pseudo-device	md			# memory disk device (ramdisk)
1166options 	MEMORY_DISK_HOOKS	# enable md specific hooks
1167options 	MEMORY_DISK_DYNAMIC	# enable dynamic resizing
1168
1169pseudo-device	vnd			# disk-like interface to files
1170options 	VND_COMPRESSION		# compressed vnd(4)
1171
1172
1173# network pseudo-devices
1174pseudo-device	bpfilter		# Berkeley packet filter
1175pseudo-device	carp			# Common Address Redundancy Protocol
1176pseudo-device	loop			# network loopback
1177#pseudo-device	mpls			# MPLS pseudo-interface
1178pseudo-device	ppp			# Point-to-Point Protocol
1179pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1180pseudo-device	sl			# Serial Line IP
1181pseudo-device	irframetty		# IrDA frame line discipline
1182pseudo-device	tun			# network tunneling over tty
1183pseudo-device	tap			# virtual Ethernet
1184pseudo-device	gre			# generic L3 over IP tunnel
1185pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1186pseudo-device	ipsecif			# tunnel interface for routing based ipsec
1187#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1188pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1189pseudo-device	vlan			# IEEE 802.1q encapsulation
1190pseudo-device	bridge			# simple inter-network bridging
1191pseudo-device	vether			# Virtual Ethernet for bridge
1192pseudo-device	agr			# IEEE 802.3ad link aggregation
1193pseudo-device	l2tp			# L2TPv3 interface
1194pseudo-device	lagg			# Link aggregation interface
1195pseudo-device	npf			# NPF packet filter
1196
1197#pseudo-device	canloop			# CAN loopback interface
1198
1199#
1200# accept filters
1201pseudo-device	accf_data		# "dataready" accept filter
1202pseudo-device	accf_http		# "httpready" accept filter
1203
1204# miscellaneous pseudo-devices
1205pseudo-device	pty			# pseudo-terminals
1206pseudo-device	sequencer		# MIDI sequencer
1207# rnd works; RND_COM does not on port i386 yet.
1208#options 	RND_COM			# use "com" randomness as well (BROKEN)
1209pseudo-device	clockctl		# user control of clock subsystem
1210pseudo-device	ksyms			# /dev/ksyms
1211pseudo-device	lockstat		# lock profiling
1212pseudo-device	bcsp			# BlueCore Serial Protocol
1213pseudo-device	btuart			# Bluetooth HCI UART (H4)
1214#pseudo-device	nvmm			# NetBSD Virtual Machine Monitor
1215pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
1216
1217# wscons pseudo-devices
1218pseudo-device	wsmux			# mouse & keyboard multiplexor
1219pseudo-device	wsfont
1220# Give us a choice of fonts based on monitor size
1221options 	FONT_BOLD8x16
1222options 	FONT_BOLD16x32
1223
1224# pseudo audio device driver
1225pseudo-device	pad
1226
1227# userland interface to drivers, including autoconf and properties retrieval
1228pseudo-device	drvctl
1229
1230# EFI runtime support
1231options 	EFI_RUNTIME
1232pseudo-device 	efi			# /dev/efi
1233
1234include "dev/veriexec.config"
1235
1236options 	PAX_SEGVGUARD=0		# PaX Segmentation fault guard
1237options 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
1238options 	PAX_MPROTECT_DEBUG=1	# PaX mprotect debug
1239options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
1240options 	PAX_ASLR_DEBUG=1	# PaX ASLR debug
1241
1242# Pull in optional local configuration - always at end
1243cinclude	"arch/amd64/conf/GENERIC.local"
1244