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