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