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