GENERIC revision 1.197 1 # $NetBSD: GENERIC,v 1.197 1998/10/30 13:47:02 lukem Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 include "arch/i386/conf/std.i386"
7
8 maxusers 32 # estimated number of users
9
10 # CPU support. At least one is REQUIRED.
11 options I386_CPU
12 options I486_CPU
13 options I586_CPU
14 options I686_CPU
15
16 # CPU-related options.
17 options MATH_EMULATE # floating point emulation
18 #options VM86 # virtual 8086 emulation
19 options USER_LDT # user-settable LDT; used by WINE
20 # eliminate delay no-ops in I/O; recommended on all but very old machines
21 #options DUMMY_NOPS
22
23 # delay between "rebooting ..." message and hardware reset, in milliseconds
24 #options CPURESET_DELAY=2000
25
26 # Misc. i386-specific options
27 options XSERVER # X server support in console drivers
28 #options XSERVER_DDB # PF12 gets you into DDB when X is running
29
30 # This option allows you to force a serial console at the specified
31 # I/O address. see console(4) for details.
32 #options "CONSDEVNAME=\"com\"",CONADDR=0x2f8,CONSPEED=57600
33 # you don't want the option below ON iff you are using the
34 # serial console option of the new boot strap code.
35 #options CONS_OVERRIDE # Always use above! independent of boot info
36
37 # The following options override the memory sizes passed in from the boot
38 # block. Use them *only* if the boot block is unable to determine the correct
39 # values. Note that the BIOS may *correctly* report less than 640k of base
40 # memory if the extended BIOS data area is located at the top of base memory
41 # (as is the case on most recent systems).
42 #options REALBASEMEM=639 # size of base memory (in KB)
43 #options REALEXTMEM=15360 # size of extended memory (in KB)
44
45 # Standard system options
46
47 options UCONSOLE # users can use TIOCCONS (for xconsole)
48 options INSECURE # disable kernel security levels
49
50 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
51 #options NTP # NTP phase/frequency locked loop
52
53 options KTRACE # system call tracing via ktrace(1)
54
55 options SYSVMSG # System V-like message queues
56 options SYSVSEM # System V-like semaphores
57 options SYSVSHM # System V-like memory sharing
58 #options SHMMAXPGS=1024 # 1024 pages is the default
59
60 options LKM # loadable kernel modules
61
62 # Diagnostic/debugging support options
63 options DIAGNOSTIC # cheap kernel consistency checks
64 #options DEBUG # expensive debugging checks/support
65 #options KMEMSTATS # kernel memory statistics (vmstat -m)
66 options DDB # in-kernel debugger
67 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
68 #options KGDB # remote debugger
69 #options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
70 #makeoptions DEBUG="-g" # compile full symbol table
71
72 # Compatibility options
73 options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
74 options COMPAT_09 # NetBSD 0.9,
75 options COMPAT_10 # NetBSD 1.0,
76 options COMPAT_11 # NetBSD 1.1,
77 options COMPAT_12 # NetBSD 1.2,
78 options COMPAT_13 # NetBSD 1.3,
79 options COMPAT_43 # and 4.3BSD
80 options COMPAT_386BSD_MBRPART # recognize old partition ID
81
82 options COMPAT_SVR4 # binary compatibility with SVR4
83 options COMPAT_IBCS2 # binary compatibility with SCO and ISC
84 options COMPAT_LINUX # binary compatibility with Linux
85 options COMPAT_FREEBSD # binary compatibility with FreeBSD
86
87 # Executable format options
88 options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
89
90 # File systems
91 file-system FFS # UFS
92 file-system EXT2FS # second extended file system (linux)
93 file-system LFS # log-structured file system
94 file-system MFS # memory file system
95 file-system NFS # Network File System client
96 file-system CD9660 # ISO 9660 + Rock Ridge file system
97 file-system MSDOSFS # MS-DOS file system
98 file-system FDESC # /dev/fd
99 file-system KERNFS # /kern
100 file-system NULLFS # loopback file system
101 file-system PORTAL # portal filesystem (still experimental)
102 file-system PROCFS # /proc
103 file-system UMAPFS # NULLFS + uid and gid remapping
104 file-system UNION # union file system
105 file-system CODA # Coda File System; also needs vcoda (below)
106
107 # File system options
108 options QUOTA # UFS quotas
109 #options FFS_EI # FFS Endian Independant support
110 options NFSSERVER # Network File System server
111 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
112 # immutable) behave as system flags.
113
114 # Networking options
115 #options GATEWAY # packet forwarding
116 options INET # IP + ICMP + TCP + UDP
117 #options MROUTING # IP multicast routing
118 options NS # XNS
119 #options NSIP # XNS tunneling over IP
120 options ISO,TPIP # OSI
121 options EON # OSI tunneling over IP
122 options CCITT,LLC,HDLC # X.25
123 options NETATALK # AppleTalk networking protocols
124 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
125 #options PPP_DEFLATE # Deflate compression support for PPP
126 #options PPP_FILTER # Active filter support for PPP (requires bpf)
127 #options PFIL_HOOKS # pfil(9) packet filter hooks
128 #options IPFILTER_LOG # ipmon(8) log support
129
130 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
131 #options TCP_COMPAT_42
132
133 # These options enable verbose messages for several subsystems.
134 # Warning, these may compile large string tables into the kernel!
135 options EISAVERBOSE # verbose EISA device autoconfig messages
136 options PCIVERBOSE # verbose PCI device autoconfig messages
137 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
138 options SCSIVERBOSE # human readable SCSI error messages
139 options USBVERBOSE # verbose USB device autoconfig messages
140
141 options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
142
143 # Kernel root file system and dump configuration.
144 config netbsd root on ? type ?
145 #config netbsd root on sd0a type ffs
146 #config netbsd root on ? type nfs
147
148 #
149 # Device configuration
150 #
151
152 mainbus0 at root
153
154 #apm0 at mainbus0 # Advanced power management
155
156
157 # Basic Bus Support
158
159 # PCI bus support
160 pci* at mainbus? bus ?
161 pci* at pchb? bus ?
162 pci* at ppb? bus ?
163
164 # PCI bridges
165 pchb* at pci? dev ? function ? # PCI-Host bridges
166 pceb* at pci? dev ? function ? # PCI-EISA bridges
167 pcib* at pci? dev ? function ? # PCI-ISA bridges
168 ppb* at pci? dev ? function ? # PCI-PCI bridges
169 # XXX 'puc's aren't really bridges, but there's no better place for them here
170 puc* at pci? dev ? function ? # PCI "universal" comm. cards
171
172 # EISA bus support
173 eisa* at mainbus?
174 eisa* at pceb?
175
176 # ISA bus support
177 isa* at mainbus?
178 isa* at pceb?
179 isa* at pcib?
180
181 # PCMCIA bus support
182 pcmcia* at pcic? controller ? socket ?
183
184 # ISA PCMCIA controllers
185 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
186 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
187
188 # ISA Plug-and-Play bus support
189 isapnp0 at isa?
190
191 # ISA Plug-and-Play PCMCIA controllers
192 pcic* at isapnp?
193
194 # Coprocessor Support
195
196 # Math Coprocessor support
197 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
198
199
200 # Console Devices
201
202 # ISA console. You can only configure one of these!
203 pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
204 #vt0 at isa? port 0x60 irq 1 # PCVT console driver
205
206 # Keyboard layout configuration for pccons
207 #options FRENCH_KBD
208 #options FINNISH_KBD
209 #options GERMAN_KBD
210 #options NORWEGIAN_KBD
211
212 pcppi0 at isa?
213 sysbeep0 at pcppi?
214
215 # Serial Devices
216
217 # PCI serial interfaces
218 com* at puc? port ? # 16x450s on "universal" comm boards
219 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
220
221 # ISA Plug-and-Play serial interfaces
222 com* at isapnp? # Modems and serial boards
223
224 # PCMCIA serial interfaces
225 com* at pcmcia? function ? # Modems and serial cards
226
227 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
228 com* at pcmcom? slave ? # ...and the slave devices
229
230 # ISA serial interfaces
231 #options COM_HAYESP # adds Hayes ESP serial board support
232 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
233 com1 at isa? port 0x2f8 irq 3
234 com2 at isa? port 0x3e8 irq 5
235 #com3 at isa? port 0x2e8 irq 9
236 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
237 #com* at ast? slave ?
238 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
239 #com* at boca? slave ?
240 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
241 #com* at rtfps? slave ?
242 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
243
244
245 # Parallel Printer Interfaces
246
247 # PCI parallel printer interfaces
248 lpt* at puc? port ? # || ports on "universal" comm boards
249
250 # ISA parallel printer interfaces
251 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
252 lpt1 at isa? port 0x278
253 lpt2 at isa? port 0x3bc
254
255
256 # SCSI Controllers and Devices
257
258 # PCI SCSI controllers
259 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
260 adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
261 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
262 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
263 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
264 ncr* at pci? dev ? function ? # NCR 53c8xx SCSI
265
266 # EISA SCSI controllers
267 ahb* at eisa? slot ? # Adaptec 174[02] SCSI
268 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
269 bha* at eisa? slot ? # BusLogic 7xx SCSI
270 uha* at eisa? slot ? # UltraStor 24f SCSI
271
272 # PCMCIA SCSI controllers
273 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
274
275 # ISA Plug-and-Play SCSI controllers
276 aic* at isapnp? # Adaptec AHA-1520B
277
278 # ISA SCSI controllers
279 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
280 aha1 at isa? port 0x334 irq ? drq ?
281 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
282 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
283 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
284 bha1 at isa? port 0x334 irq ? drq ?
285 nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 contoller
286 nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.)
287 sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
288 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
289 uha1 at isa? port 0x340 irq ? drq ?
290 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
291 wds1 at isa? port 0x358 irq 11 drq 5
292
293 # SCSI bus support
294 scsibus* at adv?
295 scsibus* at adw?
296 scsibus* at aha?
297 scsibus* at ahb?
298 scsibus* at ahc?
299 scsibus* at aic?
300 scsibus* at bha?
301 scsibus* at isp?
302 scsibus* at nca?
303 scsibus* at ncr?
304 scsibus* at sea?
305 scsibus* at uha?
306 scsibus* at wds?
307
308 # SCSI devices
309 sd* at scsibus? target ? lun ? # SCSI disk drives
310 st* at scsibus? target ? lun ? # SCSI tape drives
311 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
312 ch* at scsibus? target ? lun ? # SCSI autochangers
313 ss* at scsibus? target ? lun ? # SCSI scanners
314 uk* at scsibus? target ? lun ? # SCSI unknown
315
316
317 # IDE and Related Devices
318 # PCI IDE controllers (CMD tech's PCI0640, Intel's PIIx).
319 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
320 # how to set up DMA modes for this chip. This may work, or may cause
321 # a machine hang with some controllers.
322 #pciide* at pci ? dev ? function ? flags 0x0000
323
324 # ISA Plug-and-Play IDE controllers
325 wdc* at isapnp?
326
327 # PCMCIA IDE controllers
328 wdc* at pcmcia? function ?
329
330 # ISA ST506, ESDI, and IDE controllers
331 wdc0 at isa? port 0x1f0 irq 14
332 wdc1 at isa? port 0x170 irq 15
333
334 # IDE drives
335 wd* at wdc? channel ? drive ?
336 #wd* at pciide? channel ? drive ?
337
338 # ATAPI bus support
339 atapibus* at wdc? channel ?
340 #atapibus* at pciide? channel ?
341
342 # ATAPI devices
343 cd* at atapibus? drive ? # ATAPI CD-ROM drives
344 sd* at atapibus? drive ? # ATAPI disk drives
345 uk* at atapibus? drive ? # ATAPI unknown
346
347
348 # Miscellaneous mass storage devices
349
350 # ISA floppy
351 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
352 #fdc1 at isa? port 0x370 irq ? drq ?
353 fd* at fdc? drive ? # the drives themselves
354 # some machines need you to do this instead of fd*
355 #fd0 at fdc0 drive 0
356
357 # ISA CD-ROM devices
358 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
359
360 # ISA tape devices
361 # note: the wt driver conflicts unpleasantly with SMC boards at the
362 # same I/O address. The probe reprograms their EEPROMs. Don't
363 # uncomment it unless you are actually using it.
364 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
365
366
367 # Network Interfaces
368
369 # PCI network interfaces
370 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
371 en* at pci? dev ? function ? # ENI/Adaptec ATM
372 ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
373 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
374 esh* at pci? dev ? function ? # Essential HIPPI card
375 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
376 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
377 le* at pci? dev ? function ? # PCnet-PCI Ethernet
378 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
379 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
380
381 # EISA network interfaces
382 ep* at eisa? slot ? # 3Com 3c579 Ethernet
383 fea* at eisa? slot ? # DEC DEFEA FDDI
384
385 # ISA Plug-and-Play network interfaces
386 ep* at isapnp? # 3Com 3c509 Ethernet
387 ne* at isapnp? # NE2000-compatible Ethernet
388
389 # PCMCIA network interfaces
390 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
391 mbe* at pcmcia? function ? # MB8696x based Ethernet
392 ne* at pcmcia? function ? # NE2000-compatible Ethernet
393 sm* at pcmcia? function ? # Megahertz Ethernet
394
395 # ISA network interfaces
396 ate0 at isa? port 0x2a0 irq ? # AT1700
397 cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
398 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
399 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
400 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
401 ep0 at isa? port ? irq ? # 3C509 ethernet cards
402 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
403 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
404 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
405 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
406 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
407 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
408 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
409 #le* at depca?
410 nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
411 le* at nele?
412 bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
413 le* at bicc?
414 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
415 ne1 at isa? port 0x300 irq 10
416 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
417 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
418 we1 at isa? port 0x300 iomem 0xcc000 irq 10
419
420 # MII/PHY support
421 exphy* at mii? phy ? # 3Com internal PHYs
422 inphy* at mii? phy ? # Intel 82555 PHYs
423 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
424 nsphy* at mii? phy ? # NS83840 PHYs
425 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
426 tlphy* at mii? phy ? # ThunderLAN PHYs
427
428 # USB Controller and Devices
429
430 # PCI USB controllers
431 uhci* at pci? # Universal Host Controller (Intel)
432 ohci* at pci? # Open Host Controller
433
434 # USB bus support
435 usb* at uhci?
436 usb* at ohci?
437
438 # USB Hubs
439 uhub* at usb?
440 uhub* at uhub? port ?
441
442 # USB Mice
443 ums* at uhub? port ?
444 wsmouse* at ums?
445
446 # USB Keyboards
447 ukbd* at uhub? port ?
448 wskbd* at ukbd? console ?
449
450 # USB Generic HID devices
451 uhid* at uhub? port ?
452
453 # USB Printer
454 ulpt* at uhub? port ?
455
456 # USB Generic driver
457 #ugen* at uhub? port ?
458
459 # Audio Devices
460
461 # PCI audio devices
462 eap* at pci? dev ? function ? # Ensoniq AudioPCI
463
464 # ISA Plug-and-Play audio devices
465 ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
466 guspnp* at isapnp? # Gravis Ultra Sound PnP audio
467 sb* at isapnp? # SoundBlaster-compatible audio
468 wss* at isapnp? # Windows Sound System
469 ym* at isapnp? # Yamaha OPL3-SA3 audio
470
471 # ISA audio devices
472 aria0 at isa? port 0x290 irq 10 # Aria
473 gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
474 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
475 pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
476 sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
477 sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
478 wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
479
480 # OPL[23] FM syntheziers
481 #opl0 at isa? port 0x388 # use only if not attached to sound card
482 opl* at ess?
483 opl* at sb?
484
485 # USB Audio devices
486 #uaudio* at uhub? port ?
487
488 # Audio support
489 audio* at aria?
490 audio* at eap?
491 audio* at ess?
492 audio* at gus?
493 audio* at guspnp?
494 audio* at pas?
495 audio* at sb?
496 audio* at sp?
497 #audio* at uaudio?
498 audio* at wss?
499 audio* at ym?
500
501 # MIDI support
502 midi* at pcppi? # MIDI interface to the PC speaker
503 midi* at sb? # SB MPU401 port
504 midi* at opl? # OPL FM synth
505
506 # The spkr driver provides a simple tone interface to the built in speaker.
507 #spkr0 at pcppi? # PC speaker
508
509
510 # Mice
511
512 # ISA busmice
513 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
514 lms1 at isa? port 0x238 irq 5
515 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
516 mms1 at isa? port 0x238 irq 5
517 #pms0 at pc? irq 12 # PS/2 auxiliary port mouse
518 #pms0 at vt? irq 12 # PS/2 auxiliary port mouse
519
520
521 # Joysticks
522
523 # ISA Plug-and-Play joysticks
524 joy* at isapnp? # Game ports (usually on audio cards)
525
526 # ISA joysticks. Probe is a little strange; add only if you have one.
527 #joy0 at isa? port 0x201
528
529
530 # Miscellaneous Devices
531
532 # Planetconnect Satellite receiver driver.
533 #satlink0 at isa? port 0x300 drq 1
534
535
536 # Pull in optional local configuration
537 include "arch/i386/conf/GENERIC.local"
538
539
540 # Pseudo-Devices
541
542 # disk/mass storage pseudo-devices
543 pseudo-device ccd 4 # concatenated/striped disk devices
544 pseudo-device md 1 # memory disk device (ramdisk)
545 pseudo-device vnd 4 # disk-like interface to files
546
547 # network pseudo-devices
548 pseudo-device bpfilter 8 # Berkeley packet filter
549 pseudo-device ipfilter # IP filter (firewall) and NAT
550 pseudo-device loop # network loopback
551 pseudo-device ppp 2 # Point-to-Point Protocol
552 pseudo-device sl 2 # Serial Line IP
553 pseudo-device strip 2 # Starmode Radio IP (Metricom)
554 pseudo-device tun 2 # network tunneling over tty
555 pseudo-device gre 2 # generic L3 over IP tunnel
556
557 # miscellaneous pseudo-devices
558 pseudo-device pty 64 # pseudo-terminals
559 pseudo-device tb 1 # tablet line discipline
560 pseudo-device sequencer 1 # MIDI sequencer
561
562 # rnd is EXPERIMENTAL at this point.
563 #pseudo-device rnd # /dev/random and in-kernel generator
564 #options RND_COM # use "com" randomness as well (BROKEN)
565
566 # a pseudo device needed for Coda # also needs CODA (above)
567 pseudo-device vcoda 4 # coda minicache <-> venus comm.
568