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