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