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