GENERIC_TINY revision 1.39 1 # $NetBSD: GENERIC_TINY,v 1.39 2002/04/18 12:54:13 wiz 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 #pms* at pckbc? # PS/2 mouse for wsmouse
228 vga0 at isa?
229 #vga* at pci? dev ? function ?
230 pcdisplay0 at isa? # CGA, MDA, EGA, HGA
231 wsdisplay* at vga? console ?
232 wsdisplay* at pcdisplay? console ?
233 wskbd* at pckbd? console ?
234 #wsmouse* at pms? mux 0
235
236
237 #pcppi0 at isa?
238 #sysbeep0 at pcppi?
239
240 # Serial Devices
241
242 # PCI serial interfaces
243 #com* at puc? port ? # 16x50s on "universal" comm boards
244 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
245
246 # ISA Plug-and-Play serial interfaces
247 #com* at isapnp? # Modems and serial boards
248
249 # PCMCIA serial interfaces
250 com* at pcmcia? function ? # Modems and serial cards
251
252 # ISA serial interfaces
253 #options COM_HAYESP # adds Hayes ESP serial board support
254 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
255 com1 at isa? port 0x2f8 irq 3
256 com2 at isa? port 0x3e8 irq 5
257 #com3 at isa? port 0x2e8 irq 9
258 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
259 #com* at ast? slave ?
260 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
261 #com* at boca? slave ?
262 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
263 #com* at rtfps? slave ?
264 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
265
266
267 # Parallel Printer Interfaces
268
269 # PCI parallel printer interfaces
270 #lpt* at puc? port ? # || ports on "universal" comm boards
271
272 # ISA parallel printer interfaces
273 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
274 #lpt1 at isa? port 0x278
275 #lpt2 at isa? port 0x3bc
276
277
278 # SCSI Controllers and Devices
279
280 # PCI SCSI controllers
281 #ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
282 #dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
283 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
284 #isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
285 #siop* at pci? dev ? function ? # NCR 53c8xx SCSI
286 #options SIOP_SYMLED # drive the act. LED in software
287
288 # EISA SCSI controllers
289 #ahb* at eisa? slot ? # Adaptec 174[02] SCSI
290 #ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
291 #bha* at eisa? slot ? # BusLogic 7xx SCSI
292 #dpt* at eisa? slot ? # DPT SmartCache/SmartRAID
293 #uha* at eisa? slot ? # UltraStor 24f SCSI
294
295 # PCMCIA SCSI controllers
296 #aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
297
298 # ISA Plug-and-Play SCSI controllers
299 #aic* at isapnp? # Adaptec AHA-1520B
300
301 # ISA SCSI controllers
302 #aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
303 #aha1 at isa? port 0x334 irq ? drq ?
304 #ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
305 #aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
306 #bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
307 #bha1 at isa? port 0x334 irq ? drq ?
308 #sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
309 #uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
310 #uha1 at isa? port 0x340 irq ? drq ?
311 #wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
312 #wds1 at isa? port 0x358 irq 11 drq 5
313
314 # SCSI bus support
315 #scsibus* at aha?
316 #scsibus* at ahb?
317 #scsibus* at ahc?
318 #scsibus* at aic?
319 #scsibus* at bha?
320 #scsibus* at dpt?
321 #scsibus* at isp?
322 #scsibus* at sea?
323 #scsibus* at siop?
324 #scsibus* at uha?
325 #scsibus* at wds?
326
327 # SCSI devices
328 #sd* at scsibus? target ? lun ? # SCSI disk drives
329 #st* at scsibus? target ? lun ? # SCSI tape drives
330 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
331 #ch* at scsibus? target ? lun ? # SCSI autochangers
332 #ss* at scsibus? target ? lun ? # SCSI scanners
333 #uk* at scsibus? target ? lun ? # SCSI unknown
334
335
336 # IDE and related devices
337
338 # ISA Plug-and-Play IDE controllers
339 #wdc* at isapnp?
340
341 # PCMCIA IDE controllers
342 wdc* at pcmcia? function ?
343
344 # ISA IDE controllers
345 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
346 wdc1 at isa? port 0x170 irq 15
347
348 # IDE drives
349 wd* at wdc? drive ? # the drives themselves
350
351 # ATAPI bus support
352 atapibus* at wdc?
353
354 # ATAPI devices
355 cd* at atapibus? drive ? # ATAPI CD-ROM drives
356 sd* at atapibus? drive ? # ATAPI disk drives
357
358
359 # Miscellaneous mass storage devices
360
361 # ISA floppy
362 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
363 #fdc1 at isa? port 0x370 irq ? drq ?
364 fd* at fdc? drive ? # the drives themselves
365 # some machines need you to do this instead of fd*
366 #fd0 at fdc0 drive 0
367
368 # ISA CD-ROM devices
369 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
370
371 # ISA tape devices
372 # note: the wt driver conflicts unpleasantly with SMC boards at the
373 # same I/O address. The probe reprograms their EEPROMs. Don't
374 # uncomment it unless you are actually using it.
375 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
376
377
378 # Network Interfaces
379
380 # PCI network interfaces
381 #en* at pci? dev ? function ? # ENI/Adaptec ATM
382 #ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
383 #epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
384 #esh* at pci? dev ? function ? # Essential HIPPI card
385 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
386 #fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
387 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
388 #ne* at pci? dev ? function ? # NE2000-compatible Ethernet
389 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
390 #tlp* at pci? dev ? function ? # DECchip 21x4x and clones
391
392 # EISA network interfaces
393 #ep* at eisa? slot ? # 3Com 3c579 Ethernet
394 #fea* at eisa? slot ? # DEC DEFEA FDDI
395
396 # ISA Plug-and-Play network interfaces
397 #ep* at isapnp? # 3Com 3c509 Ethernet
398 #ne* at isapnp? # NE2000-compatible Ethernet
399
400 # PCMCIA network interfaces
401 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
402 mbe* at pcmcia? function ? # MB8696x based Ethernet
403 ne* at pcmcia? function ? # NE2000-compatible Ethernet
404 sm* at pcmcia? function ? # Megahertz Ethernet
405
406 # ISA network interfaces
407 ate0 at isa? port 0x2a0 irq ? # AT1700
408 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
409 eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
410 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
411 ep0 at isa? port ? irq ? # 3C509 ethernet cards
412 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
413 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
414 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
415 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
416 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
417 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
418 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
419 #le* at depca?
420 nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
421 le* at nele?
422 bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
423 le* at bicc?
424 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
425 ne1 at isa? port 0x300 irq 10
426 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
427 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
428 we1 at isa? port 0x300 iomem 0xcc000 irq 10
429
430 # MII bus support
431 #mii* at tl?
432
433 # MII PHY network interfaces
434 #tlphy* at mii? dev ? # ThunderLAN PHYs
435 #nsphy* at mii? dev ? # NS and compatible PHYs
436 #ukphy* at mii? phy ? # generic unknown PHYs
437
438
439 # USB Controller and Devices
440
441 # PCI USB controllers
442 #uhci* at pci? # Universal Host Controller (Intel)
443 #ohci* at pci? # Open Host Controller
444
445 # USB bus support
446 #usb* at uhci?
447 #usb* at ohci?
448
449 # USB Hubs
450 #uhub* at usb?
451 #uhub* at uhub? port ?
452
453 # USB Mice
454 #ums* at uhub? port ?
455
456 # USB Keyboards
457 #ukbd* at uhub? port ?
458
459 # USB Generic HID devices
460 #uhid* at uhub? port ?
461
462 # USB Printer
463 #ulpt* at uhub? port ?
464
465 # USB Mass Storage
466 #umass* at uhub? port ? configuration ? interface ?
467 #atapibus* at umass? channel ?
468 #scsibus* at umass? channel ?
469
470 # USB Ethernet adapters
471 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
472 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
473 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
474
475 # Y@P firmware loader
476 #uyap* at uhub? port ?
477
478 # USB Generic driver
479 #ugen* at uhub? port ?
480
481 # Audio Devices
482
483 # PCI audio devices
484 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
485
486 # ISA Plug-and-Play audio devices
487 #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
488 #sb* at isapnp? # SoundBlaster-compatible audio
489 #ym* at isapnp? # Yamaha OPL3-SA3 audio
490
491 # ISA audio devices
492 #aria0 at isa? port 0x290 irq 10 # Aria
493 #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
494 #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
495 #pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
496 #sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
497 #sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
498 #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
499
500 # Audio support
501 #audio* at aria?
502 #audio* at eap?
503 #audio* at gus?
504 #audio* at guspnp?
505 #audio* at pas?
506 #audio* at sb?
507 #audio* at sp?
508 #audio* at wss?
509 #audio* at ym?
510
511 # The spkr driver provides a simple tone interface to the built in speaker.
512 #spkr0 at pcppi? # PC speaker
513
514
515 # Mice
516
517 # ISA busmice
518 #olms0 at isa? port 0x23c irq 5 # Logitech bus mouse
519 #olms1 at isa? port 0x238 irq 5
520 #omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
521 #omms1 at isa? port 0x238 irq 5
522
523
524 # Joysticks
525
526 # ISA Plug-and-Play joysticks
527 #joy* at isapnp? # Game ports (usually on audio cards)
528
529 # ISA joysticks. Probe is a little strange; add only if you have one.
530 #joy0 at isa? port 0x201
531
532
533 # Miscellaneous Devices
534
535 # Planetconnect Satellite receiver driver.
536 #satlink0 at isa? port 0x300 drq 1
537
538
539 # Pull in optional local configuration
540 include "arch/i386/conf/GENERIC.local"
541
542
543 # Pseudo-Devices
544
545 # disk/mass storage pseudo-devices
546 #pseudo-device ccd 4 # concatenated/striped disk devices
547 #pseudo-device md 1 # memory disk device (ramdisk)
548 pseudo-device vnd 4 # disk-like interface to files
549
550 # network pseudo-devices
551 pseudo-device bpfilter 8 # Berkeley packet filter
552 pseudo-device bridge # simple inter-network bridging
553 pseudo-device ipfilter # IP filter (firewall) and NAT
554 pseudo-device loop # network loopback
555 pseudo-device ppp 2 # Point-to-Point Protocol
556 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
557 #pseudo-device sl 2 # Serial Line IP
558 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
559 pseudo-device tun 2 # network tunneling over tty
560
561 # miscellaneous pseudo-devices
562 pseudo-device pty # pseudo-terminals
563 #pseudo-device tb 1 # tablet line discipline
564 pseudo-device rnd # /dev/random and in-kernel generator
565 #options RND_COM # use "com" randomness as well (BROKEN)
566