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