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