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