1 # $NetBSD: GENERIC_TINY,v 1.121 2010/01/03 03:50:38 dholland Exp $
3 # GENERIC_TINY -- suitable default for 4M machines
4 # No EISA, PCI, or SCSI.
7 include "arch/i386/conf/std.i386"
9 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11 makeoptions COPTS="-Os"
12 makeoptions USE_SSP="no"
14 maxusers 8 # estimated number of users
16 # CPU-related options.
17 #options VM86 # virtual 8086 emulation
18 #options USER_LDT # user-settable LDT; used by WINE
20 # This option allows you to force a serial console at the specified
21 # I/O address. see console(4) for details.
22 #options CONSDEVNAME="\"com\""
24 # The following options override the memory sizes passed in from the boot
25 # block. Use them *only* if the boot block is unable to determine the correct
26 # values. Note that the BIOS may *correctly* report less than 640k of base
27 # memory if the extended BIOS data area is located at the top of base memory
28 # (as is the case on most recent systems).
29 #options REALBASEMEM=... # size of base memory
30 #options REALEXTMEM=... # size of extended memory
32 # Standard system options
34 options INSECURE # disable kernel security levels - X needs this
36 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
37 #options NTP # NTP phase/frequency locked loop
39 #options KTRACE # system call tracing via ktrace(1)
41 #options SYSVMSG # System V-like message queues
42 #options SYSVSEM # System V-like semaphores
43 #options SYSVSHM # System V-like memory sharing
44 #options P1003_1B_SEMAPHORE # p1003.1b semaphore support
46 options NMBCLUSTERS=256
49 #options USERCONF # userconf(4) support
50 options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
51 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
53 # Diagnostic/debugging support options
54 #options DIAGNOSTIC # expensive kernel consistency checks
55 #options DEBUG # expensive debugging checks/support
56 #options KMEMSTATS # kernel memory statistics (vmstat -m)
57 #options DDB # in-kernel debugger
58 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
59 #options DDB_HISTORY_SIZE=512 # enable history editing in DDB
60 #options KGDB # remote debugger
61 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
62 #makeoptions DEBUG="-g" # compile full symbol table
64 # Compatibility options
65 #options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
66 #options COMPAT_09 # NetBSD 0.9
67 #options COMPAT_10 # NetBSD 1.0
68 #options COMPAT_11 # NetBSD 1.1
69 options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
70 options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
71 options COMPAT_14 # NetBSD 1.4
72 options COMPAT_15 # NetBSD 1.5
73 options COMPAT_16 # NetBSD 1.6
74 options COMPAT_20 # NetBSD 2.0
75 options COMPAT_30 # NetBSD 3.0 compatibility.
76 options COMPAT_40 # NetBSD 4.0
77 options COMPAT_50 # NetBSD 5.0 compatibility.
78 options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
79 #options COMPAT_386BSD_MBRPART # recognize old partition ID
80 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
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 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
90 #file-system EXT2FS # second extended file system (linux)
91 #file-system LFS # log-structured file system
92 #file-system MFS # memory file system
93 file-system NFS # Network File System client
94 file-system CD9660 # ISO 9660 + Rock Ridge file system
95 file-system MSDOSFS # MS-DOS file system
96 #file-system FDESC # /dev/fd
97 file-system KERNFS # /kern
98 #file-system NULLFS # loopback file system
99 #file-system PROCFS # /proc
100 #file-system UMAPFS # NULLFS + uid and gid remapping
101 #file-system UNION # union file system
102 #file-system PTYFS # /dev/pts/N support
103 #file-system TMPFS # Efficient memory file-system
105 # File system options
106 #options QUOTA # UFS quotas
107 #options FFS_EI # FFS Endian Independant support
108 #options NFSSERVER # Network File System server
109 options FFS_NO_SNAPSHOT # No FF snapshot support
110 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
111 # immutable) behave as system flags.
114 #options GATEWAY # packet forwarding
115 options INET # IP + ICMP + TCP + UDP
116 #options MROUTING # IP multicast routing
117 #options PIM # Protocol Independent Multicast
118 #options ISO,TPIP # OSI
119 #options EON # OSI tunneling over IP
120 #options NETATALK # AppleTalk networking protocols
121 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
122 #options PPP_DEFLATE # Deflate compression support for PPP
123 #options PPP_FILTER # Active filter support for PPP (requires bpf)
124 #options PFIL_HOOKS # pfil(9) packet filter hooks
125 #options IPFILTER_LOG # ipmon(8) log support
126 #options IPFILTER_LOOKUP # ippool(8) support
127 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
128 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
130 #options ALTQ # Manipulate network interfaces' output queues
131 #options ALTQ_BLUE # Stochastic Fair Blue
132 #options ALTQ_CBQ # Class-Based Queueing
133 #options ALTQ_CDNR # Diffserv Traffic Conditioner
134 #options ALTQ_FIFOQ # First-In First-Out Queue
135 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
136 #options ALTQ_HFSC # Hierarchical Fair Service Curve
137 #options ALTQ_LOCALQ # Local queueing discipline
138 #options ALTQ_PRIQ # Priority Queueing
139 #options ALTQ_RED # Random Early Detection
140 #options ALTQ_RIO # RED with IN/OUT
141 #options ALTQ_WFQ # Weighted Fair Queueing
143 # These options enable verbose messages for several subsystems.
144 # Warning, these may compile large string tables into the kernel!
145 #options EISAVERBOSE # verbose EISA device autoconfig messages
146 #options PCIVERBOSE # verbose PCI device autoconfig messages
147 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
148 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
149 #options SCSIVERBOSE # human readable SCSI error messages
150 #options USBVERBOSE # verbose USB device autoconfig messages
152 #options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
154 # Kernel root file system and dump configuration.
155 config netbsd root on ? type ?
156 #config netbsd root on sd0a type ffs
157 #config netbsd root on ? type nfs
162 # builtin terminal emulations
163 #options WSEMUL_SUN # sun terminal emulation
164 options WSEMUL_VT100 # VT100 / VT220 emulation
165 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
166 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
167 #options WS_DEFAULT_FG=WSCOL_WHITE
168 #options WS_DEFAULT_BG=WSCOL_BLACK
169 #options WS_DEFAULT_COLATTR="(0)"
170 #options WS_DEFAULT_MONOATTR="(0)"
171 options WS_KERNEL_FG=WSCOL_GREEN
172 #options WS_KERNEL_BG=WSCOL_BLACK
173 #options WS_KERNEL_COLATTR=""
174 #options WS_KERNEL_MONOATTR=""
175 # customization of console border color
176 #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
177 #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
178 # compatibility to other console drivers
179 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
180 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
181 options WSDISPLAY_COMPAT_USL # VT handling
182 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
183 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
184 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
185 #options UKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for ukbd driver
186 # allocate a number of virtual screens at autoconfiguration time
187 #options WSDISPLAY_DEFAULTSCREENS=4
188 # use a large software cursor that doesn't blink
189 options PCDISPLAY_SOFTCURSOR
192 # Device configuration
195 #apm0 at mainbus0 # Advanced power management
201 #pci* at mainbus? bus ?
206 #pchb* at pci? dev ? function ? # PCI-Host bridges
207 #pceb* at pci? dev ? function ? # PCI-EISA bridges
208 #pcib* at pci? dev ? function ? # PCI-ISA bridges
209 #ichlpcib* at pci? dev ? function ? # Intel ICH PCI-ISA w/ watchdog and
211 #ppb* at pci? dev ? function ? # PCI-PCI bridges
212 # XXX 'puc's aren't really bridges, but there's no better place for them here
213 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
226 pcmcia* at pcic? controller ? socket ?
228 # ISA PCMCIA controllers
229 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
230 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
232 # ISA Plug-and-Play bus support
235 # ISA Plug-and-Play PCMCIA controllers
238 # Coprocessor Support
240 # Math Coprocessor support
241 npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
246 pckbc0 at isa? # PC keyboard controller
247 pckbd* at pckbc? # PC keyboard
248 #pms* at pckbc? # PS/2 mouse for wsmouse
250 #vga* at pci? dev ? function ?
251 pcdisplay0 at isa? # CGA, MDA, EGA, HGA
252 wsdisplay* at vga? console ?
253 wsdisplay* at pcdisplay? console ?
254 wskbd* at pckbd? console ?
255 #wsmouse* at pms? mux 0
264 # PCI serial interfaces
265 #com* at puc? port ? # 16x50s on "universal" comm boards
266 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
268 # ISA Plug-and-Play serial interfaces
269 #com* at isapnp? # Modems and serial boards
271 # PCMCIA serial interfaces
272 com* at pcmcia? function ? # Modems and serial cards
274 # ISA serial interfaces
275 #options COM_HAYESP # adds Hayes ESP serial board support
276 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
277 com1 at isa? port 0x2f8 irq 3
278 com2 at isa? port 0x3e8 irq 5
279 #com3 at isa? port 0x2e8 irq 9
280 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
281 #com* at ast? slave ?
282 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
283 #com* at boca? slave ?
284 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
285 #com* at rtfps? slave ?
286 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
289 # Parallel Printer Interfaces
291 # PCI parallel printer interfaces
292 #lpt* at puc? port ? # || ports on "universal" comm boards
294 # ISA parallel printer interfaces
295 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
296 #lpt1 at isa? port 0x278
297 #lpt2 at isa? port 0x3bc
300 # SCSI Controllers and Devices
302 # PCI SCSI controllers
303 #ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
304 #dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
305 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
306 #isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
307 #siop* at pci? dev ? function ? # NCR 53c8xx SCSI
308 #esiop* at pci? dev ? function ? # NCR 53c875 SCSI and newer
309 #options SIOP_SYMLED # drive the act. LED in software
311 # EISA SCSI controllers
312 #ahb* at eisa? slot ? # Adaptec 174[02] SCSI
313 #ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
314 #bha* at eisa? slot ? # BusLogic 7xx SCSI
315 #dpt* at eisa? slot ? # DPT SmartCache/SmartRAID
316 #uha* at eisa? slot ? # UltraStor 24f SCSI
318 # PCMCIA SCSI controllers
319 #aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
321 # ISA Plug-and-Play SCSI controllers
322 #aic* at isapnp? # Adaptec AHA-1520B
324 # ISA SCSI controllers
325 #aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
326 #aha1 at isa? port 0x334 irq ? drq ?
327 #ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
328 #aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
329 #bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
330 #bha1 at isa? port 0x334 irq ? drq ?
331 #sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
332 #uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
333 #uha1 at isa? port 0x340 irq ? drq ?
334 #wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
335 #wds1 at isa? port 0x358 irq 11 drq 5
341 #sd* at scsibus? target ? lun ? # SCSI disk drives
342 #st* at scsibus? target ? lun ? # SCSI tape drives
343 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
344 #ch* at scsibus? target ? lun ? # SCSI autochangers
345 #ss* at scsibus? target ? lun ? # SCSI scanners
346 #uk* at scsibus? target ? lun ? # SCSI unknown
349 # IDE and related devices
351 # ISA Plug-and-Play IDE controllers
354 # PCMCIA IDE controllers
355 wdc* at pcmcia? function ?
357 # ISA IDE controllers
358 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
359 wdc1 at isa? port 0x170 irq 15
361 # ATA (IDE) bus support
366 wd* at atabus? drive ? # the drives themselves
372 cd* at atapibus? drive ? # ATAPI CD-ROM drives
373 sd* at atapibus? drive ? # ATAPI disk drives
376 # Miscellaneous mass storage devices
379 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
380 #fdc1 at isa? port 0x370 irq ? drq ?
381 fd* at fdc? drive ? # the drives themselves
382 # some machines need you to do this instead of fd*
386 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
389 # note: the wt driver conflicts unpleasantly with SMC boards at the
390 # same I/O address. The probe reprograms their EEPROMs. Don't
391 # uncomment it unless you are actually using it.
392 #wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
397 # PCI network interfaces
398 #en* at pci? dev ? function ? # ENI/Adaptec ATM
399 #ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
400 #epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
401 #esh* at pci? dev ? function ? # Essential HIPPI card
402 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
403 #fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
404 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
405 #ne* at pci? dev ? function ? # NE2000-compatible Ethernet
406 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
407 #tlp* at pci? dev ? function ? # DECchip 21x4x and clones
409 # EISA network interfaces
410 #ep* at eisa? slot ? # 3Com 3c579 Ethernet
411 #fea* at eisa? slot ? # DEC DEFEA FDDI
413 # ISA Plug-and-Play network interfaces
414 #ep* at isapnp? # 3Com 3c509 Ethernet
415 #ne* at isapnp? # NE2000-compatible Ethernet
417 # PCMCIA network interfaces
418 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
419 mbe* at pcmcia? function ? # MB8696x based Ethernet
420 ne* at pcmcia? function ? # NE2000-compatible Ethernet
421 sm* at pcmcia? function ? # Megahertz Ethernet
423 # ISA network interfaces
424 ate0 at isa? port 0x2a0 irq ? # AT1700
425 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
426 eg0 at isa? port 0x280 irq 9 # 3c505 Ethernet cards
427 el0 at isa? port 0x300 irq 9 # 3c501 Ethernet cards
428 ep0 at isa? port ? irq ? # 3c509 Ethernet cards
429 ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3c507
430 ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
431 fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
432 ix0 at isa? port 0x300 irq 10 # EtherExpress/16
433 iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
434 lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
435 #depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
437 nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
439 bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
441 ne0 at isa? port 0x280 irq 9 # NE[12]000 Ethernet cards
442 ne1 at isa? port 0x300 irq 10
443 sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
444 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
445 we1 at isa? port 0x300 iomem 0xcc000 irq 10
450 # MII PHY network interfaces
451 #tlphy* at mii? dev ? # ThunderLAN PHYs
452 #nsphy* at mii? dev ? # NS and compatible PHYs
453 #ukphy* at mii? phy ? # generic unknown PHYs
456 # USB Controller and Devices
458 # PCI USB controllers
459 #uhci* at pci? # Universal Host Controller (Intel)
460 #ohci* at pci? # Open Host Controller
468 #uhub* at uhub? port ?
471 #ums* at uhub? port ?
474 #ukbd* at uhub? port ?
476 # USB Generic HID devices
477 #uhid* at uhub? port ?
480 #ulpt* at uhub? port ?
483 #umass* at uhub? port ? configuration ? interface ?
486 # USB Ethernet adapters
487 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
488 #axe* at uhub? port ? # ASIX AX88172 based adapters
489 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
490 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
491 #url* at uhub? port ? # Realtek RTL8150L based adapters
493 # Y@P firmware loader
494 #uyap* at uhub? port ?
497 #ugen* at uhub? port ?
502 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
504 # ISA Plug-and-Play audio devices
505 #guspnp* at isapnp? # Gravis Ultra Sound PnP audio
506 #sb* at isapnp? # SoundBlaster-compatible audio
507 #ym* at isapnp? # Yamaha OPL3-SA[23] audio
510 #aria0 at isa? port 0x290 irq 10 # Aria
511 #gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
512 #pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
513 #sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
514 #wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
519 # The spkr driver provides a simple tone interface to the built in speaker.
520 #spkr0 at pcppi? # PC speaker
525 # ISA Plug-and-Play joysticks
526 #joy* at isapnp? # Game ports (usually on audio cards)
528 # ISA joysticks. Probe is a little strange; add only if you have one.
529 #joy0 at isa? port 0x201
532 # Miscellaneous Devices
534 # Planetconnect Satellite receiver driver.
535 #satlink0 at isa? port 0x300 drq 1
538 # Pull in optional local configuration
539 cinclude "arch/i386/conf/GENERIC.local"
544 # disk/mass storage pseudo-devices
545 #pseudo-device ccd 4 # concatenated/striped disk devices
546 pseudo-device fss 4 # file system snapshot device
547 #pseudo-device md 1 # memory disk device (ramdisk)
548 pseudo-device vnd # disk-like interface to files
549 #options VND_COMPRESSION # compressed vnd(4)
551 # network pseudo-devices
552 pseudo-device bpfilter # Berkeley packet filter
553 pseudo-device bridge # simple inter-network bridging
554 pseudo-device ipfilter # IP filter (firewall) and NAT
555 pseudo-device loop # network loopback
556 pseudo-device ppp # Point-to-Point Protocol
557 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
558 #pseudo-device sl # Serial Line IP
559 #pseudo-device strip # Starmode Radio IP (Metricom)
560 pseudo-device tun # network tunneling over tty
561 #pseudo-device tap # virtual Ethernet
563 # miscellaneous pseudo-devices
564 pseudo-device pty # pseudo-terminals
565 pseudo-device rnd # /dev/random and in-kernel generator
566 #options RND_COM # use "com" randomness as well (BROKEN)
567 pseudo-device clockctl # user control of clock subsystem