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