GENERIC_TINY revision 1.37 1 # $NetBSD: GENERIC_TINY,v 1.37 2002/04/17 02:22:50 mycroft Exp $
2 #
3 # GENERIC_TINY -- suitable default for 4M machines
4 # No EISA, PCI, or SCSI.
5 #
6
7 include "arch/i386/conf/std.i386"
8
9 makeoptions COPTS="-Os"
10
11 maxusers 8 # estimated number of users
12
13 # CPU support. At least one is REQUIRED.
14 options I386_CPU
15 options I486_CPU
16 options I586_CPU
17 options I686_CPU
18
19 # CPU-related options.
20 options MATH_EMULATE # floating point emulation
21 #options VM86 # virtual 8086 emulation
22 #options USER_LDT # user-settable LDT; used by WINE
23 # eliminate delay no-ops in I/O; recommended on all but very old machines
24 #options DUMMY_NOPS
25
26 # Misc. i386-specific options
27 #options XSERVER # X server support in console drivers
28
29 # This option allows you to force a serial console at the specified
30 # I/O address. see console(4) for details.
31 #options CONSDEVNAME="\"com\""
32
33 # The following options override the memory sizes passed in from the boot
34 # block. Use them *only* if the boot block is unable to determine the correct
35 # values. Note that the BIOS may *correctly* report less than 640k of base
36 # memory if the extended BIOS data area is located at the top of base memory
37 # (as is the case on most recent systems).
38 #options REALBASEMEM=... # size of base memory
39 #options REALEXTMEM=... # size of extended memory
40
41 # Standard system options
42
43 #options UCONSOLE # users can use TIOCCONS (for xconsole)
44 options INSECURE # disable kernel security levels
45
46 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
47 #options NTP # NTP phase/frequency locked loop
48
49 #options KTRACE # system call tracing via ktrace(1)
50
51 #options SYSVMSG # System V-like message queues
52 #options SYSVSEM # System V-like semaphores
53 #options SYSVSHM # System V-like memory sharing
54 #options SHMMAXPGS=1024 # 1024 pages is the default
55
56 options NMBCLUSTERS=256
57
58 #options LKM # loadable kernel modules
59
60 #options USERCONF # userconf(4) support
61 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
62
63 # Diagnostic/debugging support options
64 #options DIAGNOSTIC # expensive kernel consistency checks
65 #options DEBUG # expensive debugging checks/support
66 #options KMEMSTATS # kernel memory statistics (vmstat -m)
67 #options DDB # in-kernel debugger
68 #options DDB_HISTORY_SIZE=512 # enable history editing in DDB
69 #options KGDB # remote debugger
70 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
71 #makeoptions DEBUG="-g" # compile full symbol table
72
73 # Compatibility options
74 #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
75 #options COMPAT_09 # NetBSD 0.9,
76 #options COMPAT_10 # NetBSD 1.0,
77 #options COMPAT_11 # NetBSD 1.1,
78 options COMPAT_12 # NetBSD 1.2,
79 options COMPAT_13 # NetBSD 1.3,
80 options COMPAT_14 # NetBSD 1.4,
81 #options COMPAT_43 # and 4.3BSD
82 options COMPAT_386BSD_MBRPART # recognize old partition ID
83 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
84
85 #options COMPAT_SVR4 # binary compatibility with SVR4
86 #options COMPAT_IBCS2 # binary compatibility with SCO and ISC
87 #options COMPAT_LINUX # binary compatibility with Linux
88 #options COMPAT_FREEBSD # binary compatibility with FreeBSD
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 options VNODE_OP_NOINLINE # don't inline vnode op calls
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 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
130
131 # These options enable verbose messages for several subsystems.
132 # Warning, these may compile large string tables into the kernel!
133 #options EISAVERBOSE # verbose EISA device autoconfig messages
134 #options PCIVERBOSE # verbose PCI device autoconfig messages
135 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
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 # wscons options
149 #
150 # builtin terminal emulations
151 #options WSEMUL_SUN # sun terminal emulation
152 options WSEMUL_VT100 # VT100 / VT220 emulation
153 # different kernel output - see dev/wscons/wsdisplayvar.h
154 options WS_KERNEL_FG=WSCOL_GREEN
155 #options WS_KERNEL_BG=WSCOL_BLACK
156 # compatibility to other console drivers
157 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
158 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
159 options WSDISPLAY_COMPAT_USL # VT handling
160 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
161 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
162 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
163 # allocate a number of virtual screens at autoconfiguration time
164 #options WSDISPLAY_DEFAULTSCREENS=4
165 # use a large software cursor that doesn't blink
166 options PCDISPLAY_SOFTCURSOR
167
168 #
169 # Device configuration
170 #
171
172 mainbus0 at root
173
174 #apm0 at mainbus0 # Advanced power management
175
176
177 # Basic Bus Support
178
179 # PCI bus support
180 #pci* at mainbus? bus ?
181 #pci* at pchb? bus ?
182 #pci* at ppb? bus ?
183
184 # PCI bridges
185 #pchb* at pci? dev ? function ? # PCI-Host bridges
186 #pceb* at pci? dev ? function ? # PCI-EISA bridges
187 #pcib* at pci? dev ? function ? # PCI-ISA bridges
188 #ppb* at pci? dev ? function ? # PCI-PCI bridges
189 # XXX 'puc's aren't really bridges, but there's no better place for them here
190 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
191
192 # EISA bus support
193 #eisa0 at mainbus?
194 #eisa0 at pceb?
195
196 # ISA bus support
197 isa0 at mainbus?
198 #isa0 at pceb?
199 #isa0 at pcib?
200
201 # PCMCIA bus support
202 pcmcia* at pcic? controller ? socket ?
203
204 # ISA PCMCIA controllers
205 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
206 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
207
208 # ISA Plug-and-Play bus support
209 #isapnp0 at isa?
210
211 # ISA Plug-and-Play PCMCIA controllers
212 #pcic* at isapnp?
213
214 # Coprocessor Support
215
216 # Math Coprocessor support
217 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
218
219 # Console Devices
220
221 # ISA console
222 #pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
223
224 # wscons
225 pckbc0 at isa? # pc keyboard controller
226 pckbd* at pckbc? # PC keyboard
227 # "opms" should not be enabled together with "pms"
228 #pms* at pckbc? # PS/2 mouse for wsmouse
229 #opms* at pckbc? # backwards compatible PS/2 mouse
230 vga0 at isa?
231 #vga* at pci? dev ? function ?
232 pcdisplay0 at isa? # CGA, MDA, EGA, HGA
233 wsdisplay* at vga? console ?
234 wsdisplay* at pcdisplay? console ?
235 wskbd* at pckbd? console ?
236 #wsmouse* at pms? mux 0
237
238
239 #pcppi0 at isa?
240 #sysbeep0 at pcppi?
241
242 # Serial Devices
243
244 # PCI serial interfaces
245 #com* at puc? port ? # 16x50s on "universal" comm boards
246 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
247
248 # ISA Plug-and-Play serial interfaces
249 #com* at isapnp? # Modems and serial boards
250
251 # PCMCIA serial interfaces
252 com* at pcmcia? function ? # Modems and serial cards
253
254 # ISA serial interfaces
255 #options COM_HAYESP # adds Hayes ESP serial board support
256 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
257 com1 at isa? port 0x2f8 irq 3
258 com2 at isa? port 0x3e8 irq 5
259 #com3 at isa? port 0x2e8 irq 9
260 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
261 #com* at ast? slave ?
262 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
263 #com* at boca? slave ?
264 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
265 #com* at rtfps? slave ?
266 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
267
268
269 # Parallel Printer Interfaces
270
271 # PCI parallel printer interfaces
272 #lpt* at puc? port ? # || ports on "universal" comm boards
273
274 # ISA parallel printer interfaces
275 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
276 #lpt1 at isa? port 0x278
277 #lpt2 at isa? port 0x3bc
278
279
280 # SCSI Controllers and Devices
281
282 # PCI SCSI controllers
283 #ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
284 #dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
285 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
286 #isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
287 #siop* at pci? dev ? function ? # NCR 53c8xx SCSI
288
289 # EISA SCSI controllers
290 #ahb* at eisa? slot ? # Adaptec 174[02] SCSI
291 #ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
292 #bha* at eisa? slot ? # BusLogic 7xx SCSI
293 #dpt* at eisa? slot ? # DPT SmartCache/SmartRAID
294 #uha* at eisa? slot ? # UltraStor 24f SCSI
295
296 # PCMCIA SCSI controllers
297 #aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
298
299 # ISA Plug-and-Play SCSI controllers
300 #aic* at isapnp? # Adaptec AHA-1520B
301
302 # ISA SCSI controllers
303 #aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
304 #aha1 at isa? port 0x334 irq ? drq ?
305 #ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
306 #aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
307 #bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
308 #bha1 at isa? port 0x334 irq ? drq ?
309 #sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
310 #uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
311 #uha1 at isa? port 0x340 irq ? drq ?
312 #wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
313 #wds1 at isa? port 0x358 irq 11 drq 5
314
315 # SCSI bus support
316 #scsibus* at aha?
317 #scsibus* at ahb?
318 #scsibus* at ahc?
319 #scsibus* at aic?
320 #scsibus* at bha?
321 #scsibus* at dpt?
322 #scsibus* at isp?
323 #scsibus* at sea?
324 #scsibus* at siop?
325 #scsibus* at uha?
326 #scsibus* at wds?
327
328 # SCSI devices
329 #sd* at scsibus? target ? lun ? # SCSI disk drives
330 #st* at scsibus? target ? lun ? # SCSI tape drives
331 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
332 #ch* at scsibus? target ? lun ? # SCSI autochangers
333 #ss* at scsibus? target ? lun ? # SCSI scanners
334 #uk* at scsibus? target ? lun ? # SCSI unknown
335
336
337 # IDE and related devices
338
339 # ISA Plug-and-Play IDE controllers
340 #wdc* at isapnp?
341
342 # PCMCIA IDE controllers
343 wdc* at pcmcia? function ?
344
345 # ISA IDE controllers
346 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
347 wdc1 at isa? port 0x170 irq 15
348
349 # IDE drives
350 wd* at wdc? drive ? # the drives themselves
351
352 # ATAPI bus support
353 atapibus* at wdc?
354
355 # ATAPI devices
356 cd* at atapibus? drive ? # ATAPI CD-ROM drives
357 sd* at atapibus? drive ? # ATAPI disk drives
358
359
360 # Miscellaneous mass storage devices
361
362 # ISA floppy
363 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
364 #fdc1 at isa? port 0x370 irq ? drq ?
365 fd* at fdc? drive ? # the drives themselves
366 # some machines need you to do this instead of fd*
367 #fd0 at fdc0 drive 0
368
369 # ISA CD-ROM devices
370 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
371
372 # ISA tape devices
373 # note: the wt driver conflicts unpleasantly with SMC boards at the
374 # same I/O address. The probe reprograms their EEPROMs. Don't
375 # uncomment it unless you are actually using it.
376 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
377
378
379 # Network Interfaces
380
381 # PCI network interfaces
382 #en* at pci? dev ? function ? # ENI/Adaptec ATM
383 #ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
384 #epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
385 #esh* at pci? dev ? function ? # Essential HIPPI card
386 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
387 #fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
388 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
389 #ne* at pci? dev ? function ? # NE2000-compatible Ethernet
390 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
391 #tlp* at pci? dev ? function ? # DECchip 21x4x and clones
392
393 # EISA network interfaces
394 #ep* at eisa? slot ? # 3Com 3c579 Ethernet
395 #fea* at eisa? slot ? # DEC DEFEA FDDI
396
397 # ISA Plug-and-Play network interfaces
398 #ep* at isapnp? # 3Com 3c509 Ethernet
399 #ne* at isapnp? # NE2000-compatible Ethernet
400
401 # PCMCIA network interfaces
402 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
403 mbe* at pcmcia? function ? # MB8696x based Ethernet
404 ne* at pcmcia? function ? # NE2000-compatible Ethernet
405 sm* at pcmcia? function ? # Megahertz Ethernet
406
407 # ISA network interfaces
408 ate0 at isa? port 0x2a0 irq ? # AT1700
409 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
410 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
411 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
412 ep0 at isa? port ? irq ? # 3C509 ethernet cards
413 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
414 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
415 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
416 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
417 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
418 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
419 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
420 #le* at depca?
421 nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
422 le* at nele?
423 bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
424 le* at bicc?
425 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
426 ne1 at isa? port 0x300 irq 10
427 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
428 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
429 we1 at isa? port 0x300 iomem 0xcc000 irq 10
430
431 # MII bus support
432 #mii* at tl?
433
434 # MII PHY network interfaces
435 #tlphy* at mii? dev ? # ThunderLAN PHYs
436 #nsphy* at mii? dev ? # NS and compatible PHYs
437 #ukphy* at mii? phy ? # generic unknown PHYs
438
439
440 # USB Controller and Devices
441
442 # PCI USB controllers
443 #uhci* at pci? # Universal Host Controller (Intel)
444 #ohci* at pci? # Open Host Controller
445
446 # USB bus support
447 #usb* at uhci?
448 #usb* at ohci?
449
450 # USB Hubs
451 #uhub* at usb?
452 #uhub* at uhub? port ?
453
454 # USB Mice
455 #ums* at uhub? port ?
456
457 # USB Keyboards
458 #ukbd* at uhub? port ?
459
460 # USB Generic HID devices
461 #uhid* at uhub? port ?
462
463 # USB Printer
464 #ulpt* at uhub? port ?
465
466 # USB Mass Storage
467 #umass* at uhub? port ? configuration ? interface ?
468 #atapibus* at umass? channel ?
469 #scsibus* at umass? channel ?
470
471 # USB Ethernet adapters
472 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
473 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
474 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
475
476 # Y@P firmware loader
477 #uyap* at uhub? port ?
478
479 # USB Generic driver
480 #ugen* at uhub? port ?
481
482 # Audio Devices
483
484 # PCI audio devices
485 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
486
487 # ISA Plug-and-Play audio devices
488 #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
489 #sb* at isapnp? # SoundBlaster-compatible audio
490 #ym* at isapnp? # Yamaha OPL3-SA3 audio
491
492 # ISA audio devices
493 #aria0 at isa? port 0x290 irq 10 # Aria
494 #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
495 #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
496 #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
497 #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
498 #sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
499 #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
500
501 # Audio support
502 #audio* at aria?
503 #audio* at eap?
504 #audio* at gus?
505 #audio* at guspnp?
506 #audio* at pas?
507 #audio* at sb?
508 #audio* at sp?
509 #audio* at wss?
510 #audio* at ym?
511
512 # The spkr driver provides a simple tone interface to the built in speaker.
513 #spkr0 at pcppi? # PC speaker
514
515
516 # Mice
517
518 # ISA busmice
519 #olms0 at isa? port 0x23c irq 5 # Logitech bus mouse
520 #olms1 at isa? port 0x238 irq 5
521 #omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
522 #omms1 at isa? port 0x238 irq 5
523 #opms0 at pc? irq 12 # PS/2 auxiliary port mouse
524
525
526 # Joysticks
527
528 # ISA Plug-and-Play joysticks
529 #joy* at isapnp? # Game ports (usually on audio cards)
530
531 # ISA joysticks. Probe is a little strange; add only if you have one.
532 #joy0 at isa? port 0x201
533
534
535 # Miscellaneous Devices
536
537 # Planetconnect Satellite receiver driver.
538 #satlink0 at isa? port 0x300 drq 1
539
540
541 # Pull in optional local configuration
542 include "arch/i386/conf/GENERIC.local"
543
544
545 # Pseudo-Devices
546
547 # disk/mass storage pseudo-devices
548 #pseudo-device ccd 4 # concatenated/striped disk devices
549 #pseudo-device md 1 # memory disk device (ramdisk)
550 pseudo-device vnd 4 # disk-like interface to files
551
552 # network pseudo-devices
553 pseudo-device bpfilter 8 # Berkeley packet filter
554 pseudo-device bridge # simple inter-network bridging
555 pseudo-device ipfilter # IP filter (firewall) and NAT
556 pseudo-device loop # network loopback
557 pseudo-device ppp 2 # Point-to-Point Protocol
558 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
559 #pseudo-device sl 2 # Serial Line IP
560 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
561 pseudo-device tun 2 # network tunneling over tty
562
563 # miscellaneous pseudo-devices
564 pseudo-device pty # pseudo-terminals
565 #pseudo-device tb 1 # tablet line discipline
566 pseudo-device rnd # /dev/random and in-kernel generator
567 #options RND_COM # use "com" randomness as well (BROKEN)
568