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