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