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