GENERIC revision 1.165
1# $NetBSD: GENERIC,v 1.165 2007/10/04 00:00:01 christos Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include	"arch/amd64/conf/std.amd64"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.165 $"
26
27maxusers	32		# 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# Standard system options
48
49options 	INSECURE	# disable kernel security levels - X needs this
50
51options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
52options 	NTP		# NTP phase/frequency locked loop
53
54options 	KTRACE		# system call tracing via ktrace(1)
55#options 	SYSTRACE	# system call vetting via systrace(1)
56
57options 	SYSVMSG		# System V-like message queues
58options 	SYSVSEM		# System V-like semaphores
59#options 	SEMMNI=10	# number of semaphore identifiers
60#options 	SEMMNS=60	# number of semaphores in system
61#options 	SEMUME=10	# max number of undo entries per process
62#options 	SEMMNU=30	# number of undo structures in system
63options 	SYSVSHM		# System V-like memory sharing
64#options 	SHMMAXPGS=2048	# 2048 pages is the default
65options 	P1003_1B_SEMAPHORE
66
67options 	LKM		# loadable kernel modules
68
69options 	USERCONF	# userconf(4) support
70#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
71options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
72
73# Intel Enhanced Speedstep for EM64T CPUs
74#options 	ENHANCED_SPEEDSTEP
75#options 	EST_FREQ_USERWRITE
76
77# AMD PowerNow! and Cool`n'Quiet technology
78options 	POWERNOW_K8
79
80# Intel(R) On Demand Clock Modulation (aka ODCM)
81# options       INTEL_ONDEMAND_CLOCKMOD
82
83# Enable experimental buffer queue strategy for better responsiveness under 
84# high disk I/O load. Use it with caution - it's not proven to be stable yet.
85#options 	BUFQ_READPRIO
86#options 	BUFQ_PRIOCSCAN
87
88# Diagnostic/debugging support options
89#options 	DIAGNOSTIC	# expensive kernel consistency checks
90#options 	DEBUG		# expensive debugging checks/support
91#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
92
93#
94# Because gcc omits the frame pointer for any -O level, the line below
95# is needed to make backtraces in DDB work.
96#
97#makeoptions 	COPTS="-O2 -fno-omit-frame-pointer"
98#options 	DDB		# in-kernel debugger
99#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
100#options 	KGDB		# remote debugger
101#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
102#makeoptions	DEBUG="-g"	# compile full symbol table
103
104# Compatibility options
105options 	COMPAT_15	# compatibility with NetBSD 1.5,
106options 	COMPAT_16	# NetBSD 1.6,
107options 	COMPAT_20	# NetBSD 2.0,
108options 	COMPAT_30	# NetBSD 3.0,
109options 	COMPAT_40	# NetBSD 4.0 compatibility.
110options 	COMPAT_43	# and 4.3BSD
111#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
112
113options 	COMPAT_NETBSD32
114#options 	COMPAT_LINUX
115#options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
116options 	EXEC_ELF32
117options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
118
119# File systems
120file-system 	FFS		# UFS
121file-system 	EXT2FS		# second extended file system (linux)
122file-system 	LFS		# log-structured file system
123file-system 	MFS		# memory file system
124file-system 	NFS		# Network File System client
125file-system 	NTFS		# Windows/NT file system (experimental)
126file-system 	CD9660		# ISO 9660 + Rock Ridge file system
127file-system 	MSDOSFS		# MS-DOS file system
128file-system 	FDESC		# /dev/fd
129file-system 	KERNFS		# /kern
130file-system 	NULLFS		# loopback file system
131file-system 	OVERLAY		# overlay file system
132file-system 	PORTAL		# portal filesystem (still experimental)
133file-system 	PROCFS		# /proc
134file-system 	SMBFS		# experimental - SMB/CIFS file-system
135file-system 	UMAPFS		# NULLFS + uid and gid remapping
136file-system 	UNION		# union file system
137file-system 	CODA		# Coda File System; also needs vcoda (below)
138file-system 	PTYFS		# /dev/pts/N support
139file-system 	TMPFS		# Efficient memory file-system
140#file-system 	UDF		# experimental - OSTA UDF CD/DVD file-system
141#file-system 	HFS		# experimental - Apple HFS+ (read-only)
142
143# File system options
144options 	QUOTA		# UFS quotas
145#options 	FFS_EI		# FFS Endian Independent support
146options 	SOFTDEP		# FFS soft updates support.
147# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
148# It is not recommended for general use.
149#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
150options 	NFSSERVER	# Network File System server
151#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
152				# immutable) behave as system flags.
153#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
154
155# Networking options
156#options 	GATEWAY		# packet forwarding
157options 	INET		# IP + ICMP + TCP + UDP
158options 	INET6		# IPV6
159#options 	IPSEC		# IP security
160#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
161#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
162#options 	IPSEC_DEBUG	# debug for IP security
163#options 	MROUTING	# IP multicast routing
164#options 	PIM		# Protocol Independent Multicast
165#options 	ISO,TPIP	# OSI
166#options 	EON		# OSI tunneling over IP
167options 	NETATALK	# AppleTalk networking protocols
168options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
169options 	PPP_DEFLATE	# Deflate compression support for PPP
170options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
171options 	PFIL_HOOKS	# pfil(9) packet filter hooks
172options 	IPFILTER_LOG	# ipmon(8) log support
173options 	IPFILTER_LOOKUP	# ippool(8) support
174#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
175#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
176
177#options 	ALTQ		# Manipulate network interfaces' output queues
178#options 	ALTQ_BLUE	# Stochastic Fair Blue
179#options 	ALTQ_CBQ	# Class-Based Queueing
180#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
181#options 	ALTQ_FIFOQ	# First-In First-Out Queue
182#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
183#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
184#options 	ALTQ_LOCALQ	# Local queueing discipline
185#options 	ALTQ_PRIQ	# Priority Queueing
186#options 	ALTQ_RED	# Random Early Detection
187#options 	ALTQ_RIO	# RED with IN/OUT
188#options 	ALTQ_WFQ	# Weighted Fair Queueing
189
190# These options enable verbose messages for several subsystems.
191# Warning, these may compile large string tables into the kernel!
192options		ACPIVERBOSE	# verbose ACPI configuration messages
193options 	MIIVERBOSE	# verbose PHY autoconfig messages
194options 	PCIVERBOSE	# verbose PCI device autoconfig messages
195#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
196#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
197options 	SCSIVERBOSE	# human readable SCSI error messages
198options 	USBVERBOSE	# verbose USB device autoconfig messages
199
200options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
201
202#
203# wscons options
204#
205# builtin terminal emulations
206#options 	WSEMUL_SUN		# sun terminal emulation
207options 	WSEMUL_VT100		# VT100 / VT220 emulation
208# different kernel output - see dev/wscons/wsdisplayvar.h
209options 	WS_KERNEL_FG=WSCOL_GREEN
210#options 	WS_KERNEL_BG=WSCOL_BLACK
211# compatibility to other console drivers
212options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
213options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
214options 	WSDISPLAY_COMPAT_USL		# VT handling
215options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
216# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
217#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
218# allocate a number of virtual screens at autoconfiguration time
219#options 	WSDISPLAY_DEFAULTSCREENS=4
220# use a large software cursor that doesn't blink
221options 	PCDISPLAY_SOFTCURSOR
222# modify the screen type of the console; defaults to "80x25"
223#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
224# work around a hardware bug that loaded fonts don't work; found on ATI cards
225#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
226# console scrolling support.
227options 	WSDISPLAY_SCROLLSUPPORT
228# enable VGA raster mode capable of displaying multilingual text on console
229#options 	VGA_RASTERCONSOLE
230
231# Kernel root file system and dump configuration.
232config		netbsd	root on ? type ?
233#config		netbsd	root on sd0a type ffs
234#config		netbsd	root on ? type nfs
235
236#
237# Device configuration
238#
239
240mainbus0 at root
241
242#IPMI support
243#ipmi0		at mainbus?
244
245# ACPI will be used if present. If not it will fall back to MPBIOS
246acpi0 		at mainbus0
247options 	ACPI_SCANPCI		# find PCI roots using ACPI
248options 	MPBIOS			# configure CPUs and APICs using MPBIOS 
249options 	MPBIOS_SCANPCI		# MPBIOS configures PCI roots
250#options 	PCI_INTR_FIXUP		# PCI interrupt routing via ACPI
251#options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
252#options	ACPICA_PEDANTIC		# force strict conformance to the Spec.
253
254# ACPI devices
255#acpiacad* 	at acpi?		# ACPI AC Adapter
256#acpibat* 	at acpi?		# ACPI Battery
257#acpibut* 	at acpi?		# ACPI Button
258#acpiec* 	at acpi?		# ACPI Embedded Controller
259#acpilid* 	at acpi?		# ACPI Lid Switch
260#acpitz* 	at acpi?		# ACPI Thermal Zone
261
262# Mainboard devices
263#aiboost* 	at acpi?		# ASUS AI Booster Hardware monitor
264#com* 		at acpi?		# Serial communications interface
265#fdc* 		at acpi?		# Floppy disk controller
266#hpet*		at acpi?		# High Precision Event Timer
267#joy*		at acpi?		# Joystick/Game port
268#lpt* 		at acpi?		# Parallel port
269#mpu*		at acpi?		# Roland MPU-401 MIDI UART
270#pckbc*  	at acpi?		# PC keyboard controller
271#attimer*	at acpi?		# AT Timer
272#pcppi*  	at acpi?                # AT-style speaker sound
273#ug* 		at acpi?		# Abit uGuru Hardware monitor
274#wss* 		at acpi?		# NeoMagic 256AV in wss mode
275
276cpu* 		at mainbus?
277ioapic* 	at mainbus? apid ?
278
279#apm0	at mainbus0			# Advanced power management
280
281# Tuning for power management, see apm(4) for more details.
282#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
283#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
284#options 	APM_NO_POWEROFF		# Don't power off on halt(8)
285#options 	APM_POWER_PRINT		# Print stats on the console
286#options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
287
288
289# Basic Bus Support
290
291# PCI bus support
292pci*	at mainbus? bus ?
293pci*	at pchb? bus ?
294pci*	at ppb? bus ?
295
296# PCI bridges
297pchb*	at pci? dev ? function ?	# PCI-Host bridges
298pcib*	at pci? dev ? function ?	# PCI-ISA bridges
299ppb*	at pci? dev ? function ?	# PCI-PCI bridges
300# XXX 'puc's aren't really bridges, but there's no better place for them here
301puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
302
303#amdpcib* at pci? dev ? function ?	# AMD 8111 PCI-ISA w/ HPET
304#hpet* 	at amdpcib?
305
306#ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ timecounter,
307					# watchdog and Speedstep support.
308
309aapic* 	at pci? dev ? function ?	# AMD 8131 IO apic
310
311#agp* 	at pchb?
312
313# ISA bus support
314isa0	at mainbus?
315isa0	at pcib?
316#isa0 	at amdpcib?
317#isa0 	at ichlpcib?
318
319# CardBus bridge support
320#cbb*		at pci? dev ? function ?
321#cardslot*	at cbb?
322
323# CardBus bus support
324#cardbus*	at cardslot?
325#pcmcia* 	at cardslot?
326
327# Coprocessor Support
328
329# Console Devices
330
331# wscons
332pckbc0		at isa?			# pc keyboard controller
333pckbd*		at pckbc?		# PC keyboard
334pms*		at pckbc?		# PS/2 mouse for wsmouse
335#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
336#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
337vga*		at pci? dev ? function ?
338wsdisplay*	at vga? console ?
339wskbd*		at pckbd? console ?
340wsmouse*	at pms? mux 0
341
342attimer0	at isa?
343pcppi0		at isa?
344sysbeep0	at pcppi?
345
346# Cryptographic Devices
347
348# PCI cryptographic devices
349hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
350ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
351
352# Serial Devices
353
354# PCI serial interfaces
355com*	at puc? port ?			# 16x50s on "universal" comm boards
356cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
357cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
358
359# PCMCIA serial interfaces
360#com*	at pcmcia? function ?		# Modems and serial cards
361
362#pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
363#com*	at pcmcom? slave ?		# ...and the slave devices
364
365# CardBus serial interfaces
366#com*	at cardbus? function ?	# Modems and serial cards
367
368# ISA serial interfaces
369#options 	COM_HAYESP		# adds Hayes ESP serial board support
370com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
371com1	at isa? port 0x2f8 irq 3
372
373# Parallel Printer Interfaces
374
375# PCI parallel printer interfaces
376lpt*	at puc? port ?			# || ports on "universal" comm boards
377
378# ISA parallel printer interfaces
379lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
380lpt1	at isa? port 0x278
381
382# Hardware monitors
383
384# LM7[89] and compatible hardware monitors
385#lm0	at isa?	port 0x290		# other common ports: 0x280, 0x310
386
387# SMSC LPC47B397 hardware monitor functions
388#smsc0   at isa? port 0x02e
389
390# AMD 768 and 8111 power/ACPI controllers
391amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
392#iic*	at amdpm?			# sensors below are on this bus
393
394# NVIDIA nForce2/3/4 SMBus controller
395nfsmbc*	at pci? dev ? function ?
396nfsmb*	at nfsmbc?
397iic*	at nfsmb?
398
399# Intel ICH SMBus controller
400ichsmb*	at pci? dev ? function ?
401iic*	at ichsmb?
402
403#adt7463c* at iic? addr 0x2C		# Unknown other motherboard(s)
404#adt7463c* at iic? addr 0x2D		# Tyan S2881
405#adt7463c* at iic? addr 0x2E            # Tyan S2882-D
406
407# iTE IT87xxF and compatible hardware monitors
408#it0 	at isa? port 0x290 		# other ports: 0xc00, 0xd00.
409
410# Abit uGuru Hardware system monitor
411#ug0	at isa? port 0xe0
412
413# Serial Presence Detect capable memory modules
414#spdmem* at iic? addr 0x50
415#spdmem* at iic? addr 0x51
416#spdmem* at iic? addr 0x52
417#spdmem* at iic? addr 0x53
418
419# I2O devices
420iop*	at pci? dev ? function ?	# I/O processor
421iopsp*	at iop? tid ?			# SCSI/FC-AL ports
422ld*	at iop? tid ?			# block devices
423# XXX dpti.c wants a processor type that is not assigned for x86-64
424#dpti*	at iop? tid 0			# DPT/Adaptec control interface
425
426
427# SCSI Controllers and Devices
428
429# PCI SCSI controllers
430adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
431adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
432ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
433ahd*	at pci? dev ? function ?	# Adaptec aic790x SCSI
434bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
435dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
436iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
437isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
438mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
439mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
440mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030
441pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
442siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
443esiop*	at pci? dev ? function ?	# Symbios 53c875 and newer SCSI
444#options 	SIOP_SYMLED		# drive the act. LED in software
445trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
446
447# PCMCIA SCSI controllers
448#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
449#esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
450#spc*	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI
451
452# CardBus SCSI cards
453#adv*	at cardbus? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
454#ahc*	at cardbus? function ?	# Adaptec ADP-1480
455
456# SCSI bus support
457scsibus* at scsi?
458
459# SCSI devices
460sd*	at scsibus? target ? lun ?	# SCSI disk drives
461st*	at scsibus? target ? lun ?	# SCSI tape drives
462cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
463ch*	at scsibus? target ? lun ?	# SCSI autochangers
464ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
465ss*	at scsibus? target ? lun ?	# SCSI scanners
466uk*	at scsibus? target ? lun ?	# SCSI unknown
467
468
469# RAID controllers and devices
470aac*	at pci? dev ? function ?	# Adaptec AAC family
471amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
472cac*	at pci? dev ? function ?	# Compaq PCI array controllers
473ciss*	at pci? dev ? function ?	# HP Smart Array controllers
474icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
475mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
476twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
477twa*	at pci? dev ? function ?	# 3ware Escalade 9xxx RAID controllers
478
479ld*	at aac? unit ?
480ld*	at amr? unit ?
481ld*	at cac? unit ?
482ld*	at icp? unit ?
483ld*	at twe? unit ?
484ld*	at twa? unit ?
485ld*	at mlx? unit ?
486
487icpsp*	at icp? unit ?			# SCSI pass-through
488
489# IDE and related devices
490# PCI IDE controllers - see pciide(4) for supported hardware.
491# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
492# how to set up DMA modes for this chip. This may work, or may cause
493# a machine hang with some controllers.
494pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
495acardide* at pci? dev ? function ?	# Acard IDE controllers
496aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
497ahcisata* at pci? dev ? function ?	# AHCI SATA controllers
498artsata* at pci? dev ? function ?	# Intel i31244 SATA controller
499cmdide* at pci? dev ? function ?	# CMD tech IDE controllers
500cypide* at pci? dev ? function ?	# Cypress IDE controllers
501hptide* at pci? dev ? function ?	# Triones/HighPoint IDE controllers
502iteide* at pci? dev ? function ?	# IT Express IDE controllers
503ixpide* at pci? dev ? function ?	# ATI IXP IDE controllers
504jmide* at pci? dev ? function ? 	# JMicron PCI-e PATA/SATA controllers
505ahcisata* at jmide?
506optiide* at pci? dev ? function ?	# Opti IDE controllers
507piixide* at pci? dev ? function ?	# Intel IDE controllers
508pdcide* at pci? dev ? function ?	# Promise IDE controllers
509pdcsata* at pci? dev ? function ?	# Promise SATA150 controllers
510satalink* at pci? dev ? function ?	# SiI SATALink controllers
511siside* at pci? dev ? function ?	# SiS IDE controllers
512slide*  at pci? dev ? function ?	# Symphony Labs IDE controllers
513svwsata* at pci? dev ? function ?	# ServerWorks SATA controllers
514viaide* at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
515
516# PCMCIA IDE controllers
517#wdc*	at pcmcia? function ?
518
519# ISA ST506, ESDI, and IDE controllers
520# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
521# fall back to 16bits I/O if 32bits I/O are not functional).
522# Some controllers pass the initial 32bit test, but will fail later.
523wdc0	at isa? port 0x1f0 irq 14 flags 0x00
524wdc1	at isa? port 0x170 irq 15 flags 0x00
525
526# ATA (IDE) bus support
527atabus* at ata?
528options	ATADEBUG
529
530# IDE drives
531# Flags are used only with controllers that support DMA operations
532# and mode settings (e.g. some pciide controllers)
533# The lowest order four bits (rightmost digit) of the flags define the PIO
534# mode to use, the next set of four bits the DMA mode and the third set the
535# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
536# to use, and the last bit must be 1 for this setting to be used.
537# For DMA and UDMA, 0xf (1111) means 'disable'.
538# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
539# (0xc=1100, 0xa=1010, 0xf=1111)
540# 0x0000 means "use whatever the drive claims to support".
541wd*	at atabus? drive ? flags 0x0000
542
543# ATAPI bus support
544atapibus* at atapi?
545
546# ATA RAID configuration support, as found on some Promise controllers.  
547pseudo-device ataraid  
548ld*     at ataraid? vendtype ? unit ?
549
550# ATAPI devices
551# flags have the same meaning as for IDE drives.
552cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
553sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
554st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
555uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
556
557
558# Miscellaneous mass storage devices
559
560# ISA floppy
561fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
562#fdc1	at isa? port 0x370 irq ? drq ?
563fd*	at fdc? drive ?			# the drives themselves
564# some machines need you to do this instead of fd*
565#fd0	at fdc0 drive 0
566
567# Network Interfaces
568
569# PCI network interfaces
570an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
571ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
572bce* 	at pci? dev ? function ?	# Broadcom 440x 10/100 Ethernet
573bge* 	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
574bnx* 	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
575dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
576en*	at pci? dev ? function ?	# ENI/Adaptec ATM
577ep*	at pci? dev ? function ?	# 3Com 3c59x
578epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
579esh*	at pci? dev ? function ?	# Essential HIPPI card
580ex*	at pci? dev ? function ?	# 3Com 90x[BC]
581fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
582fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
583gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
584#hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
585le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
586lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
587mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
588msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
589mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
590ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
591nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
592ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
593pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
594ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
595re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
596rtk*	at pci? dev ? function ?	# Realtek 8129/8139
597sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
598sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
599skc* 	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
600sk* 	at skc?				# SysKonnect SK9821 Gigabit Ethernet
601ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
602stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
603ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
604tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
605tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
606vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
607vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
608wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
609wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit
610wpi* 	at pci? dev ? function ? 	# Intel PRO/Wireless 3945ABG
611xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
612
613# PCMCIA network interfaces
614#an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
615#awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
616#cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
617#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
618#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
619#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
620#ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
621#sm*	at pcmcia? function ?		# Megahertz Ethernet
622# tr at pcmcia has problems with Cardbus bridges
623#tr*	at pcmcia? function ?		# TROPIC based Token-Ring
624#wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
625#xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
626#com*	at xirc?
627#xi*	at xirc?
628
629#mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
630#com*	at mhzc?
631#sm*	at mhzc?
632
633# CardBus network cards
634#ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
635#ex*	at cardbus? function ?	# 3Com 3C575TX
636#fxp*	at cardbus? function ?	# Intel i8255x
637#rtk*	at cardbus? function ?	# Realtek 8129/8139
638#rtw*	at cardbus? function ?	# Realtek 8180L (802.11)
639#tlp*	at cardbus? function ?	# DECchip 21143
640
641# MII/PHY support
642acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
643amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
644bmtphy*	at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
645brgphy*	at mii? phy ?			# Broadcom BCM5400-family PHYs
646ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
647dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
648exphy*	at mii? phy ?			# 3Com internal PHYs
649glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
650gphyter* at mii? phy ?			# NS83861 Gig-E PHY
651icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
652igphy* 	at mii? phy ?			# Intel IGP01E1000
653ikphy*	at mii? phy ?			# Intel 82563 PHYs
654inphy*	at mii? phy ?			# Intel 82555 PHYs
655iophy*	at mii? phy ?			# Intel 82553 PHYs
656lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
657makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
658nsphy*	at mii? phy ?			# NS83840 PHYs
659nsphyter* at mii? phy ?			# NS83843 PHYs
660pnaphy*	at mii? phy ?			# generic HomePNA PHYs
661qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
662rgephy*	at mii? phy ?			# Realtek 8169S/8110 internal PHYs
663rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
664sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
665tlphy*	at mii? phy ?			# ThunderLAN PHYs
666tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
667ukphy*	at mii? phy ?			# generic unknown PHYs
668urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
669
670
671# USB Controller and Devices
672
673# PCI USB controllers
674ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
675ohci*	at pci?	dev ? function ?	# Open Host Controller
676uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
677
678# CardBus USB controllers
679#ehci*	at cardbus? function ?	# Enhanced Host Controller
680#ohci*	at cardbus? function ?	# Open Host Controller
681
682# ISA USB controllers
683#slhci0	at isa? port 0x300 irq 5	# ScanLogic SL811HS
684
685# PCMCIA USB controllers
686#slhci*	at pcmcia? function ?		# ScanLogic SL811HS
687
688# USB bus support
689usb*	at ehci?
690usb*	at ohci?
691usb*	at uhci?
692#usb*	at slhci?
693
694# USB Hubs
695uhub*	at usb?
696uhub*	at uhub? port ?
697
698# USB HID device
699uhidev*	at uhub? port ? configuration ? interface ?
700
701# USB Mice
702ums*	at uhidev? reportid ?
703wsmouse* at ums? mux 0
704
705# USB Keyboards
706ukbd*	at uhidev? reportid ?
707wskbd*	at ukbd? console ? mux 1
708
709# USB serial adapter
710ucycom*	at uhidev? reportid ?
711
712# USB Generic HID devices
713uhid*	at uhidev? reportid ?
714
715# USB Printer
716ulpt*	at uhub? port ? configuration ? interface ?
717
718# USB Modem
719umodem*	at uhub? port ? configuration ?
720ucom*	at umodem?
721
722# USB Mass Storage
723umass*	at uhub? port ? configuration ? interface ?
724#wd* at umass?
725
726# USB audio
727uaudio*	at uhub? port ? configuration ?
728
729# USB MIDI
730umidi* at uhub? port ? configuration ?
731
732# USB IrDA
733# USB-IrDA bridge spec
734uirda* at uhub? port ? configuration ? interface ?
735irframe* at uirda?
736
737# SigmaTel STIr4200 USB/IrDA Bridge
738ustir* at uhub? port ?
739irframe* at ustir?
740
741# USB Ethernet adapters
742aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
743axe*	at uhub? port ?		# ASIX AX88172 based adapters
744cdce*	at uhub? port ? 	# CDC, Ethernet Networking Control Model
745cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
746kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
747url*	at uhub? port ?		# Realtek RTL8150L based adapters
748udav*	at uhub? port ?		# Davicom DM9601 based adapters
749
750# Prolific PL2301/PL2302 host-to-host adapter
751upl*	at uhub? port ?
752
753# Serial adapters
754ubsa*	at uhub? port ?		# Belkin serial adapter
755ucom*	at ubsa? portno ?
756
757uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
758ucom*   at uchcom? portno ?
759
760uftdi*  at uhub? port ? 	# FTDI FT8U100AX serial adapter
761ucom*   at uftdi? portno ?
762
763uipaq*  at uhub? port ? 	# iPAQ PDAs
764ucom*   at uipaq? portno ?
765
766umct*   at uhub? port ? 	# MCT USB-RS232 serial adapter
767ucom*   at umct? portno ?
768
769uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
770ucom*   at uplcom? portno ?
771
772uslsa*  at uhub? port ? 	# Silicon Labs USB-RS232 serial adapter
773ucom*   at uslsa? portno ?
774
775uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
776ucom*	at uvscom? portno ?
777
778# Diamond Multimedia Rio 500
779urio*	at uhub? port ?
780
781# USB Handspring Visor
782uvisor*	at uhub? port ?
783ucom*	at uvisor?
784
785# Kyocera AIR-EDGE PHONE
786ukyopon* at uhub? port ?
787ucom*	at ukyopon? portno ?
788
789# USB scanners
790uscanner* at uhub? port ?
791
792# USB 802.11 adapters
793atu*	at uhub? port ?		# Atmel at76c50x 802.11b
794ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
795rum* 	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
796zyd*	at uhub? port ?		# Zydas ZD1211
797
798# USB scanners that use SCSI emulation, e.g., HP5300
799usscanner* at uhub? port ?
800
801# Y@P firmware loader
802uyap* at uhub? port ?
803
804# D-Link DSB-R100 USB radio
805udsbr*	at uhub? port ?
806radio*	at udsbr?
807
808# USB Generic driver
809ugen*	at uhub? port ?
810# On ugen bulk endpoints, perform read-ahead and write-behind.
811options	UGEN_BULK_RA_WB
812
813
814# IrDA and Consumer Ir devices
815
816# Toshiba Oboe
817#oboe* 	at pci? dev ? function ?	# broken -- vtophys
818#irframe* at oboe?
819
820# PCI IEEE1394 controllers
821fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
822 
823# CardBus IEEE1394 controllers 
824#fwohci*	at cardbus? function ?	# IEEE1394 Open Host Controller
825
826ieee1394if* at fwohci?
827fwip*	at ieee1394if?			# IP over IEEE1394
828sbp*	at ieee1394if? euihi ? euilo ?
829
830# Audio Devices
831
832# PCI audio devices
833auich*	at pci? dev ? function ?	# Intel/AMD/nVidia AC'97 Audio
834auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
835autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
836auvia*	at pci? dev ? function ?	# VIA AC'97 audio
837azalia*	at pci? dev ? function ?	# High Definition Audio
838clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
839clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
840cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
841eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
842emuxki*	at pci? dev ? function ?	# Creative SBLive! and PCI512
843esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
844esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
845eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
846fms*	at pci? dev ? function ?	# Forte Media FM801
847neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
848sv*	at pci? dev ? function ?	# S3 SonicVibes
849yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
850
851# PCMCIA audio devices
852#esl*	at pcmcia? function ?			# ESS 1688 AudioDrive
853
854# OPL[23] FM synthesizers
855#opl0	at isa? port 0x388	# use only if not attached to sound card
856opl*	at cmpci? flags 1
857#opl*	at esl?
858opl*	at eso?
859opl*	at fms?
860opl*	at sv?
861
862# Audio support
863audio*	at audiobus?
864
865# MPU 401 UARTs
866#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
867mpu*	at cmpci?
868mpu*	at eso?
869mpu*	at yds?
870
871# MIDI support
872midi*	at midibus?
873midi*	at pcppi?		# MIDI interface to the PC speaker
874
875# The spkr driver provides a simple tone interface to the built in speaker.
876#spkr0	at pcppi?		# PC speaker
877
878
879# FM-Radio devices
880# PCI radio devices
881#gtp*	at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card
882
883# Radio support
884#radio*	at gtp?
885
886
887# TV cards
888
889# Brooktree 848/849/878/879 based TV cards
890bktr* at pci? dev ? function ?
891radio* at bktr?
892
893
894# Bluetooth Controller and Device support
895
896# Bluetooth PCMCIA Controllers
897#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
898#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
899
900# Bluetooth USB Controllers
901ubt* at uhub? port ?
902
903# Bluetooth Device Hub
904#bthub* at bt3c?
905#bthub* at btbc?
906#bthub* at btuart?
907bthub* at ubt?
908
909# Bluetooth HID support
910bthidev* at bthub?
911
912# Bluetooth Mouse
913btms* at bthidev? reportid ?
914wsmouse* at btms? mux 0
915
916# Bluetooth Keyboard
917btkbd* at bthidev? reportid ?
918wskbd* at btkbd? console ? mux 1
919
920# Bluetooth Audio support
921btsco* at bthub?
922
923
924# Mice
925
926# Middle Digital, Inc. PCI-Weasel serial console board control
927# devices (watchdog timer, etc.)
928weasel* at pci?
929
930# Pull in optional local configuration
931include	"arch/amd64/conf/GENERIC.local"
932
933# Pseudo-Devices
934
935pseudo-device 	crypto			# /dev/crypto device
936pseudo-device	swcrypto		# software crypto implementation
937
938# disk/mass storage pseudo-devices
939pseudo-device	bio			# RAID control device driver
940pseudo-device	ccd		4	# concatenated/striped disk devices
941pseudo-device	cgd		4	# cryptographic disk devices
942pseudo-device	raid		8	# RAIDframe disk driver
943options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
944#Options to enable various other RAIDframe RAID types.
945#options 	RF_INCLUDE_EVENODD=1
946#options 	RF_INCLUDE_RAID5_RS=1
947#options 	RF_INCLUDE_PARITYLOGGING=1
948#options 	RF_INCLUDE_CHAINDECLUSTER=1
949#options 	RF_INCLUDE_INTERDECLUSTER=1
950#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
951#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
952pseudo-device	fss		4	# file system snapshot device
953
954pseudo-device	md		1	# memory disk device (ramdisk)
955pseudo-device	vnd			# disk-like interface to files
956#options 	VND_COMPRESSION		# compressed vnd(4)
957
958# network pseudo-devices
959pseudo-device	bpfilter		# Berkeley packet filter
960#pseudo-device	carp			# Common Address Redundancy Protocol
961pseudo-device	ipfilter		# IP filter (firewall) and NAT
962pseudo-device	loop			# network loopback
963pseudo-device	ppp			# Point-to-Point Protocol
964pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
965pseudo-device	sl			# Serial Line IP
966pseudo-device	strip			# Starmode Radio IP (Metricom)
967pseudo-device	irframetty		# IrDA frame line discipline
968pseudo-device	tun			# network tunneling over tty
969pseudo-device	tap			# virtual Ethernet
970pseudo-device	gre			# generic L3 over IP tunnel
971pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
972#pseudo-device	faith			# IPv[46] tcp relay translation i/f
973pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
974pseudo-device	vlan			# IEEE 802.1q encapsulation
975pseudo-device	bridge			# simple inter-network bridging
976#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
977pseudo-device	agr			# IEEE 802.3ad link aggregation
978
979# miscellaneous pseudo-devices
980pseudo-device	pty			# pseudo-terminals
981pseudo-device	sequencer	1	# MIDI sequencer
982# rnd works; RND_COM does not on port i386 yet.
983pseudo-device	rnd			# /dev/random and in-kernel generator
984#options 	RND_COM			# use "com" randomness as well (BROKEN)
985pseudo-device	clockctl		# user control of clock subsystem
986pseudo-device	ksyms			# /dev/ksyms
987#pseudo-device	pf			# PF packet filter
988#pseudo-device	pflog			# PF log if
989pseudo-device	lockstat		# lock profiling
990#pseudo-device	btuart			# Bluetooth HCI UART (H4)
991
992# a pseudo device needed for Coda	# also needs CODA (above)
993pseudo-device	vcoda		4	# coda minicache <-> venus comm.
994
995# a pseudo device needed for SMBFS
996pseudo-device	nsmb			# experimental - SMB requester
997
998# wscons pseudo-devices
999pseudo-device	wsmux			# mouse & keyboard multiplexor
1000pseudo-device	wsfont
1001
1002options 	FILEASSOC		# fileassoc(9) - required for Veriexec
1003
1004# Veriexec
1005#
1006# a pseudo device needed for veriexec
1007pseudo-device	veriexec		1
1008#
1009# Uncomment the fingerprint methods below that are desired. Note that
1010# removing fingerprint methods will have almost no impact on the kernel
1011# code size.
1012#
1013options VERIFIED_EXEC_FP_RMD160
1014options VERIFIED_EXEC_FP_SHA256
1015options VERIFIED_EXEC_FP_SHA384
1016options VERIFIED_EXEC_FP_SHA512
1017options VERIFIED_EXEC_FP_SHA1
1018options VERIFIED_EXEC_FP_MD5
1019
1020options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
1021