GENERIC revision 1.180 1 # $NetBSD: GENERIC,v 1.180 1998/08/31 17:58:46 thorpej 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 debugger 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=... # size of base memory
40 #options REALEXTMEM=... # size of extended memory
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
103 # File system options
104 options QUOTA # UFS quotas
105 #options FFS_EI # FFS Endian Independant support
106 options NFSSERVER # Network File System server
107 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
108 # immutable) behave as system flags.
109
110 # Networking options
111 #options GATEWAY # packet forwarding
112 options INET # IP + ICMP + TCP + UDP
113 #options MROUTING # IP multicast routing
114 options NS # XNS
115 #options NSIP # XNS tunneling over IP
116 options ISO,TPIP # OSI
117 options EON # OSI tunneling over IP
118 options CCITT,LLC,HDLC # X.25
119 options NETATALK # AppleTalk networking protocols
120 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
121 #options PPP_DEFLATE # Deflate compression support for PPP
122 #options PPP_FILTER # Active filter support for PPP (requires bpf)
123 #options PFIL_HOOKS # pfil(9) packet filter hooks
124 #options IPFILTER_LOG # ipmon(8) log support
125
126 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
127 #options TCP_COMPAT_42
128
129 # These options enable verbose messages for several subsystems.
130 # Warning, these may compile large string tables into the kernel!
131 options EISAVERBOSE # verbose EISA device autoconfig messages
132 options PCIVERBOSE # verbose PCI device autoconfig messages
133 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
134 options SCSIVERBOSE # human readable SCSI error messages
135 options USBVERBOSE # verbose USB device autoconfig messages
136
137 options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
138
139 # Kernel root file system and dump configuration.
140 config netbsd root on ? type ?
141 #config netbsd root on sd0a type ffs
142 #config netbsd root on ? type nfs
143
144 #
145 # Device configuration
146 #
147
148 mainbus0 at root
149
150 #apm0 at mainbus0 # Advanced power management
151
152
153 # Basic Bus Support
154
155 # PCI bus support
156 pci* at mainbus? bus ?
157 pci* at pchb? bus ?
158 pci* at ppb? bus ?
159
160 # PCI bridges
161 pchb* at pci? dev ? function ? # PCI-Host bridges
162 pceb* at pci? dev ? function ? # PCI-EISA bridges
163 pcib* at pci? dev ? function ? # PCI-ISA bridges
164 ppb* at pci? dev ? function ? # PCI-PCI bridges
165 # XXX 'puc's aren't really bridges, but there's no better place for them here
166 puc* at pci? dev ? function ? # PCI "universal" comm. cards
167
168 # EISA bus support
169 eisa* at mainbus?
170 eisa* at pceb?
171
172 # ISA bus support
173 isa* at mainbus?
174 isa* at pceb?
175 isa* at pcib?
176
177 # PCMCIA bus support
178 pcmcia* at pcic? controller ? socket ?
179
180 # ISA PCMCIA controllers
181 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
182 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
183
184 # ISA Plug-and-Play bus support
185 isapnp0 at isa?
186
187 # ISA Plug-and-Play PCMCIA controllers
188 pcic* at isapnp?
189
190 # Coprocessor Support
191
192 # Math Coprocessor support
193 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
194
195
196 # Console Devices
197
198 # ISA console. You can only configure one of these!
199 pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
200 #vt0 at isa? port 0x60 irq 1 # PCVT console driver
201
202 # Keyboard layout configuration for pccons
203 #options FRENCH_KBD
204 #options FINNISH_KBD
205 #options GERMAN_KBD
206 #options NORWEGIAN_KBD
207
208 pcppi0 at isa?
209 sysbeep0 at pcppi?
210
211 # Serial Devices
212
213 # PCI serial interfaces
214 com* at puc? port ? # 16x450s on "universal" comm boards
215 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
216
217 # ISA Plug-and-Play serial interfaces
218 com* at isapnp? # Modems and serial boards
219
220 # PCMCIA serial interfaces
221 com* at pcmcia? function ? # Modems and serial cards
222
223 # ISA serial interfaces
224 #options COM_HAYESP # adds Hayes ESP serial board support
225 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
226 com1 at isa? port 0x2f8 irq 3
227 com2 at isa? port 0x3e8 irq 5
228 #com3 at isa? port 0x2e8 irq 9
229 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
230 #com* at ast? slave ?
231 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
232 #com* at boca? slave ?
233 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
234 #com* at rtfps? slave ?
235 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
236
237
238 # Parallel Printer Interfaces
239
240 # PCI parallel printer interfaces
241 lpt* at puc? port ? # || ports on "universal" comm boards
242
243 # ISA parallel printer interfaces
244 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
245 lpt1 at isa? port 0x278
246 lpt2 at isa? port 0x3bc
247
248
249 # SCSI Controllers and Devices
250
251 # PCI SCSI controllers
252 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI
253 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
254 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
255 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
256 ncr* at pci? dev ? function ? # NCR 53c8xx SCSI
257
258 # EISA SCSI controllers
259 ahb* at eisa? slot ? # Adaptec 174[02] SCSI
260 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
261 bha* at eisa? slot ? # BusLogic 7xx SCSI
262 uha* at eisa? slot ? # UltraStor 24f SCSI
263
264 # PCMCIA SCSI controllers
265 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
266
267 # ISA Plug-and-Play SCSI controllers
268 aic* at isapnp? # Adaptec AHA-1520B
269
270 # ISA SCSI controllers
271 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
272 aha1 at isa? port 0x334 irq ? drq ?
273 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
274 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
275 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
276 bha1 at isa? port 0x334 irq ? drq ?
277 sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
278 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
279 uha1 at isa? port 0x340 irq ? drq ?
280 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
281 wds1 at isa? port 0x358 irq 11 drq 5
282
283 # SCSI bus support
284 scsibus* at adv?
285 scsibus* at aha?
286 scsibus* at ahb?
287 scsibus* at ahc?
288 scsibus* at aic?
289 scsibus* at bha?
290 scsibus* at isp?
291 scsibus* at ncr?
292 scsibus* at sea?
293 scsibus* at uha?
294 scsibus* at wds?
295
296 # SCSI devices
297 sd* at scsibus? target ? lun ? # SCSI disk drives
298 st* at scsibus? target ? lun ? # SCSI tape drives
299 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
300 ch* at scsibus? target ? lun ? # SCSI autochangers
301 ss* at scsibus? target ? lun ? # SCSI scanners
302 uk* at scsibus? target ? lun ? # SCSI unknown
303
304
305 # IDE and Related Devices
306
307 # ISA Plug-and-Play IDE controllers
308 wdc* at isapnp?
309
310 # PCMCIA IDE controllers
311 wdc* at pcmcia? function ?
312
313 # ISA IDE controllers
314 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
315 wdc1 at isa? port 0x170 irq 15
316
317 # IDE drives
318 wd* at wdc? drive ? # the drives themselves
319
320 # ATAPI bus support
321 atapibus* at wdc?
322
323 # ATAPI devices
324 cd* at atapibus? drive ? # ATAPI CD-ROM drives
325 sd* at atapibus? drive ? # ATAPI disk drives
326
327
328 # Miscellaneous mass storage devices
329
330 # ISA floppy
331 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
332 #fdc1 at isa? port 0x370 irq ? drq ?
333 fd* at fdc? drive ? # the drives themselves
334 # some machines need you to do this instead of fd*
335 #fd0 at fdc0 drive 0
336
337 # ISA CD-ROM devices
338 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
339
340 # ISA tape devices
341 # note: the wt driver conflicts unpleasantly with SMC boards at the
342 # same I/O address. The probe reprograms their EEPROMs. Don't
343 # uncomment it unless you are actually using it.
344 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
345
346
347 # Network Interfaces
348
349 # PCI network interfaces
350 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
351 en* at pci? dev ? function ? # ENI/Adaptec ATM
352 ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
353 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
354 esh* at pci? dev ? function ? # Essential HIPPI card
355 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
356 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
357 le* at pci? dev ? function ? # PCnet-PCI Ethernet
358 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
359 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
360
361 # EISA network interfaces
362 ep* at eisa? slot ? # 3Com 3c579 Ethernet
363 fea* at eisa? slot ? # DEC DEFEA FDDI
364
365 # ISA Plug-and-Play network interfaces
366 ep* at isapnp? # 3Com 3c509 Ethernet
367 ne* at isapnp? # NE2000-compatible Ethernet
368
369 # PCMCIA network interfaces
370 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
371 mbe* at pcmcia? function ? # MB8696x based Ethernet
372 ne* at pcmcia? function ? # NE2000-compatible Ethernet
373 sm* at pcmcia? function ? # Megahertz Ethernet
374
375 # ISA network interfaces
376 ate0 at isa? port 0x2a0 irq ? # AT1700
377 cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
378 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
379 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
380 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
381 ep0 at isa? port ? irq ? # 3C509 ethernet cards
382 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
383 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
384 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
385 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
386 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
387 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
388 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
389 #le* at depca?
390 nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
391 le* at nele?
392 bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
393 le* at bicc?
394 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
395 ne1 at isa? port 0x300 irq 10
396 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
397 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
398 we1 at isa? port 0x300 iomem 0xcc000 irq 10
399
400 # MII/PHY support
401 inphy* at mii? phy ? # Intel 82555 PHYs
402 nsphy* at mii? phy ? # NS83840 PHYs
403 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
404 tlphy* at mii? phy ? # ThunderLAN PHYs
405
406 # USB Controller and Devices
407
408 # PCI USB controllers
409 uhci* at pci? # Universal Host Controller (Intel)
410 ohci* at pci? # Open Host Controller
411
412 # USB bus support
413 usb* at uhci?
414 usb* at ohci?
415
416 # USB Hubs
417 uhub* at usb?
418 uhub* at uhub? port ?
419
420 # USB Mice
421 ums* at uhub? port ?
422 wsmouse* at ums?
423
424 # USB Keyboards
425 ukbd* at uhub? port ?
426 wskbd* at ukbd? console ?
427
428 # USB Generic HID devices
429 uhid* at uhub? port ?
430
431 # USB Printer
432 ulpt* at uhub? port ?
433
434 # USB Generic driver
435 #ugen* at uhub? port ?
436
437 # Audio Devices
438
439 # PCI audio devices
440 eap* at pci? dev ? function ? # Ensoniq AudioPCI
441
442 # ISA Plug-and-Play audio devices
443 ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
444 guspnp* at isapnp? # Gravis Ultra Sound PnP audio
445 sb* at isapnp? # SoundBlaster-compatible audio
446 wss* at isapnp? # Windows Sound System
447 ym* at isapnp? # Yamaha OPL3-SA3 audio
448
449 # ISA audio devices
450 aria0 at isa? port 0x290 irq 10 # Aria
451 gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
452 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
453 pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
454 sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
455 sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
456 wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
457
458 # OPL[23] FM syntheziers
459 #opl0 at isa? port 0x388 # use only if not attached to sound card
460 opl* at ess?
461 opl* at sb?
462
463 # USB Audio devices
464 #uaudio* at uhub? port ?
465
466 # Audio support
467 audio* at aria?
468 audio* at eap?
469 audio* at ess?
470 audio* at gus?
471 audio* at guspnp?
472 audio* at pas?
473 audio* at sb?
474 audio* at sp?
475 #audio* at uaudio?
476 audio* at wss?
477 audio* at ym?
478
479 # MIDI support
480 midi* at pcppi? # MIDI interface to the PC speaker
481 midi* at sb? # SB MPU401 port
482 midi* at opl? # OPL FM synth
483
484 # The spkr driver provides a simple tone interface to the built in speaker.
485 #spkr0 at pcppi? # PC speaker
486
487
488 # Mice
489
490 # ISA busmice
491 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
492 lms1 at isa? port 0x238 irq 5
493 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
494 mms1 at isa? port 0x238 irq 5
495 #pms0 at pc? irq 12 # PS/2 auxiliary port mouse
496 #pms0 at vt? irq 12 # PS/2 auxiliary port mouse
497
498
499 # Joysticks
500
501 # ISA Plug-and-Play joysticks
502 joy* at isapnp? # Game ports (usually on audio cards)
503
504 # ISA joysticks. Probe is a little strange; add only if you have one.
505 #joy0 at isa? port 0x201
506
507
508 # Miscellaneous Devices
509
510 # Planetconnect Satellite receiver driver.
511 #satlink0 at isa? port 0x300 drq 1
512
513
514 # Pull in optional local configuration
515 include "arch/i386/conf/GENERIC.local"
516
517
518 # Pseudo-Devices
519
520 # disk/mass storage pseudo-devices
521 pseudo-device ccd 4 # concatenated/striped disk devices
522 pseudo-device md 1 # memory disk device (ramdisk)
523 pseudo-device vnd 4 # disk-like interface to files
524
525 # network pseudo-devices
526 pseudo-device bpfilter 8 # Berkeley packet filter
527 pseudo-device ipfilter # IP filter (firewall) and NAT
528 pseudo-device loop # network loopback
529 pseudo-device ppp 2 # Point-to-Point Protocol
530 pseudo-device sl 2 # Serial Line IP
531 pseudo-device strip 2 # Starmode Radio IP (Metricom)
532 pseudo-device tun 2 # network tunneling over tty
533
534 # miscellaneous pseudo-devices
535 pseudo-device pty 64 # pseudo-terminals
536 pseudo-device tb 1 # tablet line discipline
537 pseudo-device sequencer 1 # MIDI sequencer
538
539 # rnd is EXPERIMENTAL at this point.
540 #pseudo-device rnd # /dev/random and in-kernel generator
541 #options RND_COM # use "com" randomness as well (BROKEN)
542