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