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