GENERIC revision 1.300.2.30 1 # $NetBSD: GENERIC,v 1.300.2.30 2002/06/25 15:44:45 sommerfeld 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/i386/conf/std.i386"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.300.2.30 $"
26
27 maxusers 32 # estimated number of users
28
29 # CPU support. At least one is REQUIRED.
30 options I386_CPU
31 options I486_CPU
32 options I586_CPU
33 options I686_CPU
34
35 # CPU-related options.
36 options MATH_EMULATE # floating point emulation
37 options VM86 # virtual 8086 emulation
38 options USER_LDT # user-settable LDT; used by WINE
39 # eliminate delay no-ops in I/O; recommended on all but very old machines
40 #options DUMMY_NOPS
41
42 options MTRR # memory-type range register syscall support
43 # doesn't work with MP just yet..
44 #options PERFCTRS # performance-monitoring counters support
45
46 # delay between "rebooting ..." message and hardware reset, in milliseconds
47 #options CPURESET_DELAY=2000
48
49 # This option allows you to force a serial console at the specified
50 # I/O address. see console(4) for details.
51 #options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
52 # you don't want the option below ON iff you are using the
53 # serial console option of the new boot strap code.
54 #options CONS_OVERRIDE # Always use above! independent of boot info
55
56 # The following options override the memory sizes passed in from the boot
57 # block. Use them *only* if the boot block is unable to determine the correct
58 # values. Note that the BIOS may *correctly* report less than 640k of base
59 # memory if the extended BIOS data area is located at the top of base memory
60 # (as is the case on most recent systems).
61 #options REALBASEMEM=639 # size of base memory (in KB)
62 #options REALEXTMEM=15360 # size of extended memory (in KB)
63
64 # Standard system options
65
66 options UCONSOLE # users can use TIOCCONS (for xconsole)
67 options INSECURE # disable kernel security levels
68
69 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
70 options NTP # NTP phase/frequency locked loop
71
72 options KTRACE # system call tracing via ktrace(1)
73 options SYSTRACE # system call vetting via systrace(1)
74
75 options SYSVMSG # System V-like message queues
76 options SYSVSEM # System V-like semaphores
77 #options SEMMNI=10 # number of semaphore identifiers
78 #options SEMMNS=60 # number of semaphores in system
79 #options SEMUME=10 # max number of undo entries per process
80 #options SEMMNU=30 # number of undo structures in system
81 options SYSVSHM # System V-like memory sharing
82 #options SHMMAXPGS=1024 # 1024 pages is the default
83
84 options LKM # loadable kernel modules
85
86 #options USERCONF # userconf(4) support
87 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
88
89 # Diagnostic/debugging support options
90 #options DIAGNOSTIC # expensive kernel consistency checks
91 #options DEBUG # expensive debugging checks/support
92 #options KMEMSTATS # kernel memory statistics (vmstat -m)
93 options DDB # in-kernel debugger
94 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
95 #options KGDB # remote debugger
96 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
97 #makeoptions DEBUG="-g" # compile full symbol table
98
99 # Compatibility options
100 options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
101 options COMPAT_09 # NetBSD 0.9,
102 options COMPAT_10 # NetBSD 1.0,
103 options COMPAT_11 # NetBSD 1.1,
104 options COMPAT_12 # NetBSD 1.2,
105 options COMPAT_13 # NetBSD 1.3,
106 options COMPAT_14 # NetBSD 1.4,
107 options COMPAT_15 # NetBSD 1.5,
108 options COMPAT_43 # and 4.3BSD
109 options COMPAT_386BSD_MBRPART # recognize old partition ID
110 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
111
112 options COMPAT_SVR4 # binary compatibility with SVR4
113 options COMPAT_IBCS2 # binary compatibility with SCO and ISC
114 options COMPAT_LINUX # binary compatibility with Linux
115 options COMPAT_FREEBSD # binary compatibility with FreeBSD
116 #options COMPAT_MACH # binary compatibility with Mach binaries
117 #options EXEC_MACHO # exec MACH-O binaries
118 #options COMPAT_PECOFF # kernel support to run Win32 apps
119
120 # File systems
121 file-system FFS # UFS
122 file-system EXT2FS # second extended file system (linux)
123 file-system LFS # log-structured file system
124 file-system MFS # memory file system
125 file-system NFS # Network File System client
126 file-system NTFS # Windows/NT file system (experimental)
127 file-system CD9660 # ISO 9660 + Rock Ridge file system
128 file-system MSDOSFS # MS-DOS file system
129 file-system FDESC # /dev/fd
130 file-system KERNFS # /kern
131 file-system NULLFS # loopback file system
132 file-system OVERLAY # overlay file system
133 file-system PORTAL # portal filesystem (still experimental)
134 file-system PROCFS # /proc
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
139 # File system options
140 options QUOTA # UFS quotas
141 #options FFS_EI # FFS Endian Independent support
142 options SOFTDEP # FFS soft updates support.
143 options NFSSERVER # Network File System server
144 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
145 # immutable) behave as system flags.
146
147 # Networking options
148 #options GATEWAY # packet forwarding
149 options INET # IP + ICMP + TCP + UDP
150 options INET6 # IPV6
151 #options IPSEC # IP security
152 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
153 #options IPSEC_DEBUG # debug for IP security
154 #options MROUTING # IP multicast routing
155 options NS # XNS
156 #options NSIP # XNS tunneling over IP
157 options ISO,TPIP # OSI
158 #options EON # OSI tunneling over IP
159 options CCITT,LLC,HDLC # X.25
160 options NETATALK # AppleTalk networking protocols
161 options PPP_BSDCOMP # BSD-Compress compression support for PPP
162 options PPP_DEFLATE # Deflate compression support for PPP
163 options PPP_FILTER # Active filter support for PPP (requires bpf)
164 options PFIL_HOOKS # pfil(9) packet filter hooks
165 options IPFILTER_LOG # ipmon(8) log support
166 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
167
168 # These options enable verbose messages for several subsystems.
169 # Warning, these may compile large string tables into the kernel!
170 options EISAVERBOSE # verbose EISA device autoconfig messages
171 options MIIVERBOSE # verbose PHY autoconfig messages
172 options PCIVERBOSE # verbose PCI device autoconfig messages
173 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
174 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
175 options SCSIVERBOSE # human readable SCSI error messages
176 options USBVERBOSE # verbose USB device autoconfig messages
177 #options PNPBIOSVERBOSE # verbose PnP BIOS messages
178 #options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages
179 options I2OVERBOSE # verbose I2O driver messages
180 options MCAVERBOSE # verbose MCA device autoconfig messages
181
182 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
183
184 #
185 # wscons options
186 #
187 # builtin terminal emulations
188 #options WSEMUL_SUN # sun terminal emulation
189 options WSEMUL_VT100 # VT100 / VT220 emulation
190 # different kernel output - see dev/wscons/wsdisplayvar.h
191 options WS_KERNEL_FG=WSCOL_GREEN
192 #options WS_KERNEL_BG=WSCOL_BLACK
193 # compatibility to other console drivers
194 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
195 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
196 options WSDISPLAY_COMPAT_USL # VT handling
197 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
198 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
199 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
200 # allocate a number of virtual screens at autoconfiguration time
201 #options WSDISPLAY_DEFAULTSCREENS=4
202 # use a large software cursor that doesn't blink
203 options PCDISPLAY_SOFTCURSOR
204 # modify the screen type of the console; defaults to "80x25"
205 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
206
207 # Kernel root file system and dump configuration.
208 config netbsd root on ? type ?
209 #config netbsd root on sd0a type ffs
210 #config netbsd root on ? type nfs
211
212 #
213 # Device configuration
214 #
215
216 mainbus0 at root
217
218 cpu* at mainbus?
219 #ioapic* at mainbus?
220
221 apm0 at mainbus0 # Advanced power management
222
223 # Tuning for power management, see apm(4) for more details.
224 #options APM_NO_IDLE # Don't call BIOS CPU idle function
225 #options APM_V10_ONLY # Use only the APM 1.0 calls
226 #options APM_NO_POWEROFF # Don't power off on halt(8)
227 #options APM_POWER_PRINT # Print stats on the console
228 #options APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
229
230
231 # Basic Bus Support
232
233 # Plug-and-Play BIOS and attached devices
234
235 #pnpbios* at mainbus?
236
237 # mainboard audio chips
238 #ess* at pnpbios? index ? # ESS AudioDrive
239 #sb* at pnpbios? index ? # NeoMagic 256AV in sb mode
240 #wss* at pnpbios? index ? # NeoMagic 256AV in wss mode
241 #ym* at pnpbios? index ? # OPL3-SA3
242
243 # com port
244 # If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial
245 # Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there
246 # will be no com0. A side effect is pcmcia (and other) com? previously
247 # starting at com3 may attach as com1 or com2.
248 #com* at pnpbios? index ? # serial ports
249
250 # parallel port
251 # The above "com*" comments apply, cf. "lpt0" under "ISA parallel
252 # "printer interfaces".
253 #lpt* at pnpbios? index ? # parallel ports
254
255 #pckbc* at pnpbios? index ? # PC keyboard/mouse controller
256 #fdc* at pnpbios? index ? # floppy controller
257
258 # IDE controller on Toshiba Portege 3000 series (crippled PCI device)
259 #pciide* at pnpbios? index ?
260
261 # PCI bus support
262 pci* at mainbus? bus ?
263 pci* at pchb? bus ?
264 pci* at ppb? bus ?
265
266 # Configure PCI using BIOS information
267 #options PCIBIOS # PCI BIOS support
268 #options PCIBIOSVERBOSE # PCI BIOS verbose info
269 #options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses
270 #options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering
271 #options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing
272 #options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
273 #options PCIBIOS_INTR_GUESS # see pcibios(4)
274 #options PCIINTR_DEBUG # super-verbose PCI interrupt fixup
275
276 # PCI bridges
277 pchb* at pci? dev ? function ? # PCI-Host bridges
278 pceb* at pci? dev ? function ? # PCI-EISA bridges
279 pcib* at pci? dev ? function ? # PCI-ISA bridges
280 pcmb* at pci? dev ? function ? # PCI-MCA bridges
281 ppb* at pci? dev ? function ? # PCI-PCI bridges
282 # XXX 'puc's aren't really bridges, but there's no better place for them here
283 puc* at pci? dev ? function ? # PCI "universal" comm. cards
284
285 agp* at pchb?
286
287 #
288
289 p64h2apic* at pci? dev? function? # P64H2 IOxAPIC
290
291
292 # EISA bus support
293 eisa0 at mainbus?
294 eisa0 at pceb?
295
296 # ISA bus support
297 isa0 at mainbus?
298 isa0 at pceb?
299 isa0 at pcib?
300
301 # PCMCIA bus support
302 pcmcia* at pcic? controller ? socket ?
303 pcmcia* at tcic? controller ? socket ?
304
305 # MCA bus support
306 mca0 at mainbus?
307
308 # ISA PCMCIA controllers
309 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
310 pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
311 pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
312 tcic0 at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
313
314 # PCI PCMCIA controllers
315 pcic0 at pci? dev? function ?
316
317 # ISA Plug-and-Play bus support
318 isapnp0 at isa?
319
320 # ISA Plug-and-Play PCMCIA controllers
321 pcic* at isapnp?
322
323 # CardBus bridge support
324 #cbb* at pci? dev ? function ?
325 #cardslot* at cbb?
326
327 # CardBus bus support
328 #cardbus* at cardslot?
329 #pcmcia* at cardslot?
330
331 # Coprocessor Support
332
333 # Math Coprocessor support
334 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
335
336
337 # Console Devices
338
339 # ISA console
340 #pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
341 # Keyboard layout configuration for pccons
342 #options FRENCH_KBD
343 #options FINNISH_KBD
344 #options GERMAN_KBD
345 #options NORWEGIAN_KBD
346 # pccons-specific options:
347 #options XSERVER_DDB # PF12 gets you into DDB when X is running
348 #options XSERVER # X server support
349
350
351 # wscons
352 pckbc0 at isa? # pc keyboard controller
353 pckbd* at pckbc? # PC keyboard
354 pms* at pckbc? # PS/2 mouse for wsmouse
355 #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume
356 vga0 at isa?
357 vga* at pci? dev ? function ?
358 pcdisplay0 at isa? # CGA, MDA, EGA, HGA
359 wsdisplay* at vga? console ?
360 wsdisplay* at pcdisplay? console ?
361 wskbd* at pckbd? console ?
362 wsmouse* at pms? mux 0
363
364 pcppi0 at isa?
365 sysbeep0 at pcppi?
366
367 # Serial Devices
368
369 # PCI serial interfaces
370 com* at puc? port ? # 16x50s on "universal" comm boards
371 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
372 cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
373
374 # ISA Plug-and-Play serial interfaces
375 com* at isapnp? # Modems and serial boards
376
377 # PCMCIA serial interfaces
378 com* at pcmcia? function ? # Modems and serial cards
379
380 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
381 com* at pcmcom? slave ? # ...and the slave devices
382
383 # CardBus serial interfaces
384 #com* at cardbus? dev ? function ? # Modems and serial cards
385
386 # ISA serial interfaces
387 #options COM_HAYESP # adds Hayes ESP serial board support
388 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
389 com1 at isa? port 0x2f8 irq 3
390 com2 at isa? port 0x3e8 irq 5
391 #com3 at isa? port 0x2e8 irq 9
392 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
393 #com* at ast? slave ?
394 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
395 #boca0 at isa? port 0x100 irq 5 # BOCA 16-port serial cards (BB2016)
396 #boca1 at isa? port 0x140 irq 5 # this line is also needed for BB2016
397 #com* at boca? slave ?
398 #tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards
399 #com* at tcom? slave ?
400 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
401 #com* at rtfps? slave ?
402 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
403 #addcom0 at isa? port 0x108 irq 5 # Addonics FlexPort 8S
404 #com* at addcom? slave ?
405 #moxa0 at isa? port 0x100 irq 5 # MOXA C168H serial card (experimental)
406 #com* at moxa? slave ?
407
408 # MCA serial interfaces
409 com* at mca? slot ? # 16x50s on comm boards
410
411 # Parallel Printer Interfaces
412
413 # PCI parallel printer interfaces
414 lpt* at puc? port ? # || ports on "universal" comm boards
415
416 # ISA parallel printer interfaces
417 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
418 lpt1 at isa? port 0x278
419 lpt2 at isa? port 0x3bc
420
421 # Hardware monitors
422
423 # LM7[89] and compatible hardware monitors
424 #lm0 at isa? port 0x290 # other common ports: 0x280, 0x310
425
426 # VIA VT82C686A hardware monitor
427 #viapm* at pci? dev ? function ?
428 #viaenv* at viapm?
429
430
431 # I2O devices
432 iop* at pci? dev ? function ? # I/O processor
433 iopsp* at iop? tid ? # SCSI/FC-AL ports
434 ld* at iop? tid ? # block devices
435 dpti* at iop? tid 0 # DPT/Adaptec control interface
436
437
438 # SCSI Controllers and Devices
439
440 # PCI SCSI controllers
441 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
442 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
443 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
444 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
445 dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
446 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
447 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
448 mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
449 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
450 siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
451 #options SIOP_SYMLED # drive the act. LED in software
452 trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
453
454 # EISA SCSI controllers
455 ahb* at eisa? slot ? # Adaptec 174[02] SCSI
456 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
457 bha* at eisa? slot ? # BusLogic 7xx SCSI
458 dpt* at eisa? slot ? # DPT EATA SCSI
459 uha* at eisa? slot ? # UltraStor 24f SCSI
460
461 # PCMCIA SCSI controllers
462 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
463 esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI
464
465 # ISA Plug-and-Play SCSI controllers
466 aha* at isapnp? # Adaptec AHA-154[02
467 aic* at isapnp? # Adaptec AHA-1520B
468
469 # ISA SCSI controllers
470 adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02] SCSI
471 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
472 aha1 at isa? port 0x334 irq ? drq ?
473 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
474 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
475 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
476 bha1 at isa? port 0x334 irq ? drq ?
477 # The "nca" and "dpt" probes might give false hits or hang your machine.
478 #dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID
479 #nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller
480 #nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.)
481 sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
482 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
483 uha1 at isa? port 0x340 irq ? drq ?
484 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
485 wds1 at isa? port 0x358 irq 11 drq 5
486
487 # CardBus SCSI cards
488 #adv* at cardbus? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
489 #ahc* at cardbus? dev ? function ? # Adaptec ADP-1480
490
491 # MCA SCSI cards
492 aha* at mca? slot ? # Adaptec AHA-1640
493
494 # SCSI bus support
495 scsibus* at scsi?
496
497 # SCSI devices
498 sd* at scsibus? target ? lun ? # SCSI disk drives
499 st* at scsibus? target ? lun ? # SCSI tape drives
500 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
501 ch* at scsibus? target ? lun ? # SCSI autochangers
502 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
503 ss* at scsibus? target ? lun ? # SCSI scanners
504 uk* at scsibus? target ? lun ? # SCSI unknown
505
506
507 # RAID controllers and devices
508 aac* at pci? dev ? function ? # Adaptec AAC family
509 cac* at eisa? slot ? # Compaq EISA array controllers
510 cac* at pci? dev ? function ? # Compaq PCI array controllers
511 icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID
512 mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
513 mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family
514 twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
515
516 ld* at aac? unit ? # logical disk devices
517 ld* at cac? unit ?
518 ld* at icp? unit ?
519 ld* at twe? unit ?
520 ld* at mlx? unit ?
521
522 icpsp* at icp? unit ? # SCSI pass-through
523
524 # IDE and related devices
525 # PCI IDE controllers - see pciide(4) for supported hardware.
526 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
527 # how to set up DMA modes for this chip. This may work, or may cause
528 # a machine hang with some controllers.
529 pciide* at pci? dev ? function ? flags 0x0000
530
531 # ISA Plug-and-Play IDE controllers
532 wdc* at isapnp?
533
534 # PCMCIA IDE controllers
535 wdc* at pcmcia? function ?
536
537 # ISA ST506, ESDI, and IDE controllers
538 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
539 # fall back to 16bits I/O if 32bits I/O are not functional).
540 # Some controllers pass the initial 32bit test, but will fail later.
541 wdc0 at isa? port 0x1f0 irq 14 flags 0x00
542 wdc1 at isa? port 0x170 irq 15 flags 0x00
543
544 # IDE drives
545 # Flags are used only with controllers that support DMA operations
546 # and mode settings (e.g. some pciide controllers)
547 # The lowest order four bits (rightmost digit) of the flags define the PIO
548 # mode to use, the next set of four bits the DMA mode and the third set the
549 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
550 # to use, and the last bit must be 1 for this setting to be used.
551 # For DMA and UDMA, 0xf (1111) means 'disable'.
552 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
553 # (0xc=1100, 0xa=1010, 0xf=1111)
554 # 0x0000 means "use whatever the drive claims to support".
555 wd* at wdc? channel ? drive ? flags 0x0000
556 wd* at pciide? channel ? drive ? flags 0x0000
557
558 # ATAPI bus support
559 atapibus* at atapi?
560
561 # ATAPI devices
562 # flags have the same meaning as for IDE drives.
563 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
564 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
565 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
566 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
567
568
569 # Miscellaneous mass storage devices
570
571 # ISA floppy
572 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
573 #fdc1 at isa? port 0x370 irq ? drq ?
574 fd* at fdc? drive ? # the drives themselves
575 # some machines need you to do this instead of fd*
576 #fd0 at fdc0 drive 0
577
578 # ISA CD-ROM devices
579 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
580
581 # ISA tape devices
582 # note: the wt driver conflicts unpleasantly with SMC boards at the
583 # same I/O address. The probe reprograms their EEPROMs. Don't
584 # uncomment it unless you are actually using it.
585 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
586
587 # MCA ESDI devices
588 edc* at mca? slot ? # IBM ESDI Disk Controllers
589 ed* at edc?
590
591
592 # Network Interfaces
593
594 # PCI network interfaces
595 an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
596 bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet
597 en* at pci? dev ? function ? # ENI/Adaptec ATM
598 ep* at pci? dev ? function ? # 3Com 3c59x
599 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
600 esh* at pci? dev ? function ? # Essential HIPPI card
601 ex* at pci? dev ? function ? # 3Com 90x[BC]
602 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
603 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
604 gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
605 #hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
606 le* at pci? dev ? function ? # PCnet-PCI Ethernet
607 lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
608 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
609 ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
610 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
611 rtk* at pci? dev ? function ? # Realtek 8129/8139
612 sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
613 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
614 ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
615 stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
616 ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
617 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
618 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
619 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
620 wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
621 wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
622
623 # EISA network interfaces
624 ep* at eisa? slot ? # 3Com 3c579 Ethernet
625 fea* at eisa? slot ? # DEC DEFEA FDDI
626 tlp* at eisa? slot ? # DEC DE-425 Ethernet
627
628 # ISA Plug-and-Play network interfaces
629 an* at isapnp? # Aironet 802.11
630 ep* at isapnp? # 3Com 3c509 Ethernet
631 ne* at isapnp? # NE2000-compatible Ethernet
632 tr* at isapnp? # IBM/3COM TROPIC Token-Ring
633
634 # PCMCIA network interfaces
635 an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
636 awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
637 cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
638 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
639 mbe* at pcmcia? function ? # MB8696x based Ethernet
640 ne* at pcmcia? function ? # NE2000-compatible Ethernet
641 ray* at pcmcia? function ? # Raytheon Raylink (802.11)
642 sm* at pcmcia? function ? # Megahertz Ethernet
643 # tr at pcmcia has problems with Cardbus bridges
644 #tr* at pcmcia? function ? # TROPIC based Token-Ring
645 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
646 xi* at pcmcia? function ? # Xircom CreditCard Ethernet
647
648 mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
649 com* at mhzc?
650 sm* at mhzc?
651
652 # ISA network interfaces
653 ate0 at isa? port 0x2a0 irq ? # AT1700
654 cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
655 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
656 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
657 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
658 ep* at isa? port ? irq ? # 3C509 ethernet cards
659 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
660 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
661 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
662 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
663 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
664 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
665 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
666 #le* at depca?
667 nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
668 le* at nele?
669 #ntwoc0 at isa? port 0x300 irq 5 iomem 0xc8000 flags 1 # Riscom/N2 sync serial
670 bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
671 le* at bicc?
672 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
673 ne1 at isa? port 0x300 irq 10
674 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
675 tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring
676 tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring
677 tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring
678 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
679 we1 at isa? port 0x300 iomem 0xcc000 irq 10
680
681 # CardBus network cards
682 #ex* at cardbus? dev ? function ? # 3Com 3C575TX
683 #fxp* at cardbus? dev ? function ? # Intel i8255x
684 #rtk* at cardbus? dev ? function ? # Realtek 8129/8139
685 #tlp* at cardbus? dev ? function ? # DECchip 21143
686
687 # MCA network cards
688 elmc* at mca? slot ? # 3Com EtherLink/MC (3c523)
689 ep* at mca? slot ? # 3Com EtherLink III (3c529)
690 we* at mca? slot ? # WD/SMC Ethernet
691 ate* at mca? slot ? # Allied Telesis AT1720
692 ne* at mca? slot ? # Novell NE/2 and clones
693 tr* at mca? slot ? # IBM Token Ring adapter
694 le* at mca? slot ? # SKNET Personal/MC2+
695
696 # MII/PHY support
697 acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
698 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
699 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
700 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
701 dmphy* at mii? phy ? # Davicom DM9101 PHYs
702 exphy* at mii? phy ? # 3Com internal PHYs
703 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
704 gphyter* at mii? phy ? # NS83861 Gig-E PHY
705 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
706 inphy* at mii? phy ? # Intel 82555 PHYs
707 iophy* at mii? phy ? # Intel 82553 PHYs
708 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
709 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
710 nsphy* at mii? phy ? # NS83840 PHYs
711 nsphyter* at mii? phy ? # NS83843 PHYs
712 pnaphy* at mii? phy ? # generic HomePNA PHYs
713 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
714 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
715 tlphy* at mii? phy ? # ThunderLAN PHYs
716 tqphy* at mii? phy ? # TDK Semiconductor PHYs
717 ukphy* at mii? phy ? # generic unknown PHYs
718 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
719
720
721 # USB Controller and Devices
722
723 # PCI USB controllers
724 # The EHCI is not ready for prime time.
725 #ehci* at pci? dev ? function ? # Enhanced Host Controller
726 ohci* at pci? dev ? function ? # Open Host Controller
727 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
728
729 # CardBus USB controllers
730 #ehci* at cardbus? dev ? function ? # Enhanced Host Controller
731 #ohci* at cardbus? dev ? function ? # Open Host Controller
732
733 # USB bus support
734 #usb* at ehci?
735 usb* at ohci?
736 usb* at uhci?
737
738 # USB Hubs
739 uhub* at usb?
740 uhub* at uhub? port ? configuration ? interface ?
741
742 # USB HID device
743 uhidev* at uhub? port ? configuration ? interface ?
744
745 # USB Mice
746 ums* at uhidev? reportid ?
747 wsmouse* at ums? mux 0
748
749 # USB Keyboards
750 ukbd* at uhidev? reportid ?
751 wskbd* at ukbd? console ? mux 1
752
753 # USB Generic HID devices
754 uhid* at uhidev? reportid ?
755
756 # USB Printer
757 ulpt* at uhub? port ? configuration ? interface ?
758
759 # USB Modem
760 umodem* at uhub? port ? configuration ?
761 ucom* at umodem?
762
763 # USB Mass Storage
764 umass* at uhub? port ? configuration ? interface ?
765 #wd* at umass?
766
767 # USB audio
768 uaudio* at uhub? port ? configuration ?
769
770 # USB MIDI
771 umidi* at uhub? port ? configuration ?
772
773 # USB IrDA
774 # USB-IrDA bridge spec
775 uirda* at uhub? port ? configuration ? interface ?
776 irframe* at uirda?
777
778 # SigmaTel STIr4200 USB/IrDA Bridge
779 ustir* at uhub? port ?
780 irframe* at ustir?
781
782 # USB Ethernet adapters
783 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
784 cue* at uhub? port ? # CATC USB-EL1201A based adapters
785 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
786 url* at uhub? port ? # Realtek RTL8150L based adapters
787
788 # Prolific PL2301/PL2302 host-to-host adapter
789 upl* at uhub? port ?
790
791 # Serial adapters
792 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
793 ucom* at uftdi? portno ?
794
795 umct* at uhub? port ? # MCT USB-RS232 serial adapter
796 ucom* at umct? portno ?
797
798 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
799 ucom* at uplcom? portno ?
800
801 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
802 ucom* at uvscom? portno ?
803
804 # Diamond Multimedia Rio 500
805 urio* at uhub? port ?
806
807 # USB Handspring Visor
808 uvisor* at uhub? port ?
809 ucom* at uvisor?
810
811 # USB scanners
812 uscanner* at uhub? port ?
813
814 # USB scanners that use SCSI emulation, e.g., HP5300
815 usscanner* at uhub? port ?
816
817 # Y@P firmware loader
818 uyap* at uhub? port ?
819
820 # D-Link DSB-R100 USB radio
821 udsbr* at uhub? port ?
822 radio* at udsbr?
823
824 # USB Generic driver
825 ugen* at uhub? port ?
826
827
828 # IrDA and Consumer Ir devices
829
830 # Toshiba Oboe
831 oboe* at pci? dev ? function ?
832 irframe* at oboe?
833
834
835 # Audio Devices
836
837 # PCI audio devices
838 auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
839 autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio
840 auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio
841 clcs* at pci? dev ? function ? # Cirrus Logic CS4280
842 clct* at pci? dev ? function ? # Cirrus Logic CS4281
843 cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
844 eap* at pci? dev ? function ? # Ensoniq AudioPCI
845 emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512
846 esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio
847 esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator
848 eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
849 fms* at pci? dev ? function ? # Forte Media FM801
850 neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio
851 sv* at pci? dev ? function ? # S3 SonicVibes
852 yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio
853
854 # ISA Plug-and-Play audio devices
855 ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
856 guspnp* at isapnp? # Gravis Ultra Sound PnP audio
857 sb* at isapnp? # SoundBlaster-compatible audio
858 wss* at isapnp? # Windows Sound System
859 ym* at isapnp? # Yamaha OPL3-SA3 audio
860
861 # ISA audio devices
862 # the "aria" probe might give false hits
863 #aria0 at isa? port 0x290 irq 10 # Aria
864 #ess0 at isa? port 0x220 irq 5 drq 1 drq2 5 # ESS 18XX
865 gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
866 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
867 #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
868 #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
869 sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
870 wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
871
872 # PCMCIA audio devices
873 #esl* at pcmcia? function ? # ESS 1688 AudioDrive
874
875 #cms0 at isa? port 0x220 # Creative Music System
876
877 # OPL[23] FM synthesizers
878 #opl0 at isa? port 0x388 # use only if not attached to sound card
879 opl* at cmpci? flags 1
880 #opl* at esl?
881 opl* at eso?
882 opl* at ess?
883 opl* at fms?
884 opl* at sb?
885 opl* at sv?
886 opl* at wss?
887 opl* at yds?
888 opl* at ym?
889
890 # Audio support
891 audio* at audiobus?
892
893 # MPU 401 UARTs
894 #mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card
895 mpu* at cmpci?
896 mpu* at eso?
897 mpu* at fms?
898 mpu* at sb?
899 mpu* at yds?
900 mpu* at ym?
901
902 # MIDI support
903 midi* at midibus?
904 midi* at pcppi? # MIDI interface to the PC speaker
905
906 # The spkr driver provides a simple tone interface to the built in speaker.
907 #spkr0 at pcppi? # PC speaker
908
909
910 # FM-Radio devices
911 # ISA radio devices
912 #az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card
913 #az1 at isa? port 0x358
914 #rt0 at isa? port 0x20c # AIMS Lab Radiotrack & compatible
915 #rt1 at isa? port 0x284
916 #rt2 at isa? port 0x30c
917 #rt3 at isa? port 0x384
918 #rtii0 at isa? port 0x20c # AIMS Lab Radiotrack II FM Radio Card
919 #rtii1 at isa? port 0x30c
920 #sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card
921
922 # PCI radio devices
923 #mr* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card
924
925 # Radio support
926 #radio* at az?
927 #radio* at mr?
928 #radio* at rt?
929 #radio* at rtii?
930 #radio* at sf2r?
931
932
933 # TV cards
934
935 # Brooktree 848/849/878/879 based TV cards
936 bktr* at pci? dev ? function ?
937 radio* at bktr?
938
939
940 # Mice
941
942 # ISA busmice
943 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
944 lms1 at isa? port 0x238 irq 5
945 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
946 mms1 at isa? port 0x238 irq 5
947 wsmouse* at lms? mux 0
948 wsmouse* at mms? mux 0
949 # backwards compatible versions
950 #olms0 at isa? port 0x23c irq 5 # Logitech bus mouse
951 #olms1 at isa? port 0x238 irq 5
952 #omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
953 #omms1 at isa? port 0x238 irq 5
954
955
956 # Joysticks
957
958 #joy* at pnpbios? index ? # Game port
959
960 # ISA Plug-and-Play joysticks
961 joy* at isapnp? # Game ports (usually on audio cards)
962
963 # PCI joysticks
964 joy* at pci? # Game ports (usually on audio cards)
965 joy* at eso? # ESS Solo-1 on-board joystick
966
967 # ISA joysticks. Probe is a little strange; add only if you have one.
968 #joy0 at isa? port 0x201
969
970
971 # Miscellaneous Devices
972
973 # Planetconnect Satellite receiver driver.
974 #satlink0 at isa? port 0x300 drq 1
975
976 # Middle Digital, Inc. PCI-Weasel serial console board control
977 # devices (watchdog timer, etc.)
978 weasel* at pci?
979
980 # Pull in optional local configuration
981 include "arch/i386/conf/GENERIC.local"
982
983
984 # Pseudo-Devices
985
986 # disk/mass storage pseudo-devices
987 pseudo-device ccd 4 # concatenated/striped disk devices
988 # RAIDframe is broken with MULTIPROCESSOR / LOCKDEBUG
989 #pseudo-device raid 8 # RAIDframe disk driver
990 #options RAID_AUTOCONFIG # auto-configuration of RAID components
991 #Options to enable various other RAIDframe RAID types.
992 #options RF_INCLUDE_EVENODD=1
993 #options RF_INCLUDE_RAID5_RS=1
994 #options RF_INCLUDE_PARITYLOGGING=1
995 #options RF_INCLUDE_CHAINDECLUSTER=1
996 #options RF_INCLUDE_INTERDECLUSTER=1
997 #options RF_INCLUDE_PARITY_DECLUSTERING=1
998 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
999
1000 pseudo-device md 1 # memory disk device (ramdisk)
1001 pseudo-device vnd 4 # disk-like interface to files
1002
1003 # network pseudo-devices
1004 pseudo-device bpfilter 8 # Berkeley packet filter
1005 pseudo-device ipfilter # IP filter (firewall) and NAT
1006 pseudo-device loop # network loopback
1007 pseudo-device ppp 2 # Point-to-Point Protocol
1008 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
1009 pseudo-device sl 2 # Serial Line IP
1010 pseudo-device strip 2 # Starmode Radio IP (Metricom)
1011 pseudo-device irframetty # IrDA frame line discipline
1012 pseudo-device tun 2 # network tunneling over tty
1013 pseudo-device gre 2 # generic L3 over IP tunnel
1014 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
1015 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
1016 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
1017 pseudo-device vlan # IEEE 802.1q encapsulation
1018 pseudo-device bridge # simple inter-network bridging
1019
1020 # miscellaneous pseudo-devices
1021 pseudo-device pty # pseudo-terminals
1022 pseudo-device tb 1 # tablet line discipline
1023 pseudo-device sequencer 1 # MIDI sequencer
1024 # rnd works; RND_COM does not on port i386 yet.
1025 pseudo-device rnd # /dev/random and in-kernel generator
1026 #options RND_COM # use "com" randomness as well (BROKEN)
1027 pseudo-device clockctl # user control of clock subsystem
1028
1029 # a pseudo device needed for Coda # also needs CODA (above)
1030 pseudo-device vcoda 4 # coda minicache <-> venus comm.
1031
1032 # wscons pseudo-devices
1033 pseudo-device wsmux # mouse & keyboard multiplexor
1034 pseudo-device wsfont
1035
1036