xref: /netbsd-src/sys/arch/i386/conf/GENERIC_TINY (revision 33881f779a77dce6440bdc44610d94de75bebefe)
1#	$NetBSD: GENERIC_TINY,v 1.167 2020/01/25 18:38:36 thorpej 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"
12makeoptions	USE_SSP="no"
13
14maxusers	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
33options 	INSECURE	# disable kernel security levels - X needs this
34
35options 	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
45options 	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
59include 	"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
66file-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
70file-system	NFS		# Network File System client
71file-system	CD9660		# ISO 9660 + Rock Ridge file system
72file-system	MSDOSFS		# MS-DOS file system
73#file-system	FDESC		# /dev/fd
74file-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
88options 	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
94options 	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 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
102
103#options 	ALTQ		# Manipulate network interfaces' output queues
104#options 	ALTQ_BLUE	# Stochastic Fair Blue
105#options 	ALTQ_CBQ	# Class-Based Queueing
106#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
107#options 	ALTQ_FIFOQ	# First-In First-Out Queue
108#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
109#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
110#options 	ALTQ_LOCALQ	# Local queueing discipline
111#options 	ALTQ_PRIQ	# Priority Queueing
112#options 	ALTQ_RED	# Random Early Detection
113#options 	ALTQ_RIO	# RED with IN/OUT
114#options 	ALTQ_WFQ	# Weighted Fair Queueing
115
116# These options enable verbose messages for several subsystems.
117# Warning, these may compile large string tables into the kernel!
118#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
119#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
120#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
121#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
122#options 	SCSIVERBOSE	# human readable SCSI error messages
123#options 	USBVERBOSE	# verbose USB device autoconfig messages
124
125#options 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
126
127# Kernel root file system and dump configuration.
128config		netbsd	root on ? type ?
129#config		netbsd	root on sd0a type ffs
130#config		netbsd	root on ? type nfs
131
132#
133# wscons options
134#
135# builtin terminal emulations
136#options 	WSEMUL_SUN		# sun terminal emulation
137options 	WSEMUL_VT100		# VT100 / VT220 emulation
138# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
139#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
140#options 	WS_DEFAULT_FG=WSCOL_WHITE
141#options 	WS_DEFAULT_BG=WSCOL_BLACK
142#options 	WS_DEFAULT_COLATTR="(0)"
143#options 	WS_DEFAULT_MONOATTR="(0)"
144options 	WS_KERNEL_FG=WSCOL_GREEN
145#options 	WS_KERNEL_BG=WSCOL_BLACK
146#options 	WS_KERNEL_COLATTR=""
147#options 	WS_KERNEL_MONOATTR=""
148# customization of console border color
149#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
150#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
151# compatibility to other console drivers
152options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
153options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
154options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
155options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
156# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
157#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" # for pckbd driver
158#options 	UKBD_LAYOUT="(KB_DE | KB_NODEAD)"  # for ukbd driver
159# allocate a number of virtual screens at autoconfiguration time
160#options 	WSDISPLAY_DEFAULTSCREENS=4
161# use a large software cursor that doesn't blink
162options 	PCDISPLAY_SOFTCURSOR
163
164#
165# Device configuration
166#
167
168#apm0	at mainbus0			# Advanced power management
169
170
171# Basic Bus Support
172
173# PCI bus support
174#pci*	at mainbus? bus ?
175#pci*	at pchb? bus ?
176#pci*	at ppb? bus ?
177
178# PCI bridges
179#pchb*	at pci? dev ? function ?	# PCI-Host bridges
180#pceb*	at pci? dev ? function ?	# PCI-EISA bridges
181#pcib*	at pci? dev ? function ?	# PCI-ISA bridges
182#ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ watchdog and
183					# SpeedStep support
184#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
185# XXX 'puc's aren't really bridges, but there's no better place for them here
186#puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
187
188# EISA bus support
189#eisa0	at mainbus?
190#eisa0	at pceb?
191
192# ISA bus support
193isa0	at mainbus?
194#isa0	at pceb?
195#isa0	at pcib?
196#isa0	at ichlpcib?
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# Console Devices
212
213# wscons
214pckbc0		at isa?			# PC keyboard controller
215pckbd*		at pckbc?		# PC keyboard
216#pms*		at pckbc?		# PS/2 mouse for wsmouse
217vga0		at isa?
218#vga*		at pci? dev ? function ?
219pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
220wsdisplay*	at vga? console ?
221wsdisplay*	at pcdisplay? console ?
222wskbd*		at pckbd? console ?
223#wsmouse*	at pms? mux 0
224
225
226#attimer0	at isa?
227#pcppi0	at isa?
228#sysbeep0	at pcppi?
229
230# Serial Devices
231
232# PCI serial interfaces
233#com*	at puc? port ?			# 16x50s on "universal" comm boards
234#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
235
236# ISA Plug-and-Play serial interfaces
237#com*	at isapnp?			# Modems and serial boards
238
239# PCMCIA serial interfaces
240com*	at pcmcia? function ?		# Modems and serial cards
241
242# ISA serial interfaces
243#options 	COM_HAYESP		# adds Hayes ESP serial board support
244com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
245com1	at isa? port 0x2f8 irq 3
246com2	at isa? port 0x3e8 irq 5
247#com3	at isa? port 0x2e8 irq 9
248#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
249#com*	at ast? slave ?
250#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
251#com*	at boca? slave ?
252#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
253#com*	at rtfps? slave ?
254#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
255
256
257# Parallel Printer Interfaces
258
259# PCI parallel printer interfaces
260#lpt*	at puc? port ?			# || ports on "universal" comm boards
261
262# ISA parallel printer interfaces
263lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
264#lpt1	at isa? port 0x278
265#lpt2	at isa? port 0x3bc
266
267
268# SCSI Controllers and Devices
269
270# PCI SCSI controllers
271#ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
272#dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
273#bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
274#isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
275#siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
276#esiop*	at pci? dev ? function ?	# NCR 53c875 SCSI and newer
277#options 	SIOP_SYMLED		# drive the act. LED in software
278
279# EISA SCSI controllers
280#ahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
281#ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
282#bha*	at eisa? slot ?			# BusLogic 7xx SCSI
283#dpt*	at eisa? slot ?			# DPT SmartCache/SmartRAID
284#uha*	at eisa? slot ?			# UltraStor 24f SCSI
285
286# PCMCIA SCSI controllers
287#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
288
289# ISA Plug-and-Play SCSI controllers
290#aic*	at isapnp?			# Adaptec AHA-1520B
291
292# ISA SCSI controllers
293#aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
294#aha1	at isa? port 0x334 irq ? drq ?
295#ahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
296#aic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
297#bha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
298#bha1	at isa? port 0x334 irq ? drq ?
299#sea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
300#uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
301#uha1	at isa? port 0x340 irq ? drq ?
302#wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
303#wds1	at isa? port 0x358 irq 11 drq 5
304
305# SCSI bus support
306#scsibus* at scsi?
307
308# SCSI devices
309#sd*	at scsibus? target ? lun ?	# SCSI disk drives
310#st*	at scsibus? target ? lun ?	# SCSI tape drives
311#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
312#ch*	at scsibus? target ? lun ?	# SCSI autochangers
313#ss*	at scsibus? target ? lun ?	# SCSI scanners
314#uk*	at scsibus? target ? lun ?	# SCSI unknown
315
316
317# IDE and related devices
318
319# ISA Plug-and-Play IDE controllers
320#wdc*	at isapnp?
321
322# PCMCIA IDE controllers
323wdc*	at pcmcia? function ?
324
325# ISA IDE controllers
326wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
327wdc1	at isa? port 0x170 irq 15
328
329# ATA (IDE) bus support
330atabus* at ata?
331#options 	ATADEBUG
332
333# IDE drives
334wd*	at atabus? drive ?			# the drives themselves
335
336# ATAPI bus support
337atapibus* at atapi?
338
339# ATAPI devices
340cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
341sd*	at atapibus? drive ?		# ATAPI disk drives
342
343
344# Miscellaneous mass storage devices
345
346# ISA floppy
347fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
348#fdc1	at isa? port 0x370 irq ? drq ?
349fd*	at fdc? drive ?			# the drives themselves
350# some machines need you to do this instead of fd*
351#fd0	at fdc0 drive 0
352
353# ISA CD-ROM devices
354#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
355
356# ISA tape devices
357# note: the wt driver conflicts unpleasantly with SMC boards at the
358# same I/O address. The probe reprograms their EEPROMs. Don't
359# uncomment it unless you are actually using it.
360#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
361
362
363# Network Interfaces
364
365# PCI network interfaces
366#ep*	at pci? dev ? function ?	# 3Com 3c59x/3c90x Ethernet
367#epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
368#fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
369#pcn*	at pci? dev ? function ?	# PCnet-PCI Ethernet
370#ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
371#tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
372#tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
373
374# EISA network interfaces
375#ep*	at eisa? slot ?			# 3Com 3c579 Ethernet
376
377# ISA Plug-and-Play network interfaces
378#ep*	at isapnp?			# 3Com 3c509 Ethernet
379#ne*	at isapnp?			# NE2000-compatible Ethernet
380
381# PCMCIA network interfaces
382ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
383mbe*	at pcmcia? function ?		# MB8696x based Ethernet
384ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
385sm*	at pcmcia? function ?		# Megahertz Ethernet
386
387# ISA network interfaces
388ate0	at isa? port 0x2a0 irq ?		# AT1700
389ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
390eg0	at isa? port 0x280 irq 9		# 3c505 Ethernet cards
391el0	at isa? port 0x300 irq 9		# 3c501 Ethernet cards
392ep0	at isa? port ? irq ?			# 3c509 Ethernet cards
393ef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3c507
394ai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
395fmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
396ix0	at isa? port 0x300 irq 10		# EtherExpress/16
397iy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
398lc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
399#depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
400#le*	at depca?
401nele0	at isa? port 0x320 irq 9 drq 7		# NE2100
402le*	at nele?
403bicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
404le*	at bicc?
405ne0	at isa? port 0x280 irq 9		# NE[12]000 Ethernet cards
406ne1	at isa? port 0x300 irq 10
407sm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
408we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
409we1	at isa? port 0x300 iomem 0xcc000 irq 10
410
411# MII bus support
412#mii*	at tl?
413
414# MII PHY network interfaces
415#nsphy*	at mii? dev ?			# NS and compatible PHYs
416#tlphy*	at mii? dev ?			# ThunderLAN PHYs
417#rgephy* at mii? dev ?			# Realtek 8169S/8110S/8211 PHYs
418#rlphy* at mii? dev ?			# Realtek 8139/8201L PHYs
419#ukphy*	at mii? phy ?			# generic unknown PHYs
420
421
422# USB Controller and Devices
423
424# PCI USB controllers
425#uhci*	at pci?				# Universal Host Controller (Intel)
426#ohci*	at pci?				# Open Host Controller
427
428# USB bus support
429#usb*	at uhci?
430#usb*	at ohci?
431
432# USB Hubs
433#uhub*	at usb?
434#uhub*	at uhub? port ?
435
436# USB Mice
437#ums*	at uhub? port ?
438
439# USB Keyboards
440#ukbd*	at uhub? port ?
441
442# USB Generic HID devices
443#uhid*	at uhub? port ?
444
445# USB Printer
446#ulpt*	at uhub? port ?
447
448# USB Mass Storage
449#umass*	at uhub? port ? configuration ? interface ?
450
451# USB Ethernet adapters
452#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
453#axe*	at uhub? port ?		# ASIX AX88172 based adapters
454#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
455#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
456#mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
457#ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
458#url*	at uhub? port ?		# Realtek RTL8150L based adapters
459
460# Y@P firmware loader
461#uyap* at uhub? port ?
462
463# USB Generic driver
464#ugen*	at uhub? port ?
465
466# Audio Devices
467
468# PCI audio devices
469#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
470
471# ISA Plug-and-Play audio devices
472#guspnp* at isapnp?			# Gravis Ultra Sound PnP audio
473#sb*	at isapnp?			# SoundBlaster-compatible audio
474#ym*	at isapnp?			# Yamaha OPL3-SA[23] audio
475
476# ISA audio devices
477#aria0	at isa? port 0x290 irq 10 		# Aria
478#gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
479#pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
480#sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
481#wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
482
483# Audio support
484#audio*	at audiobus?
485
486# The spkr driver provides a simple tone interface to the built in speaker.
487#spkr*	at pcppi?		# PC speaker
488#spkr*	at audio?		# PC speaker (synthesized)
489
490# Joysticks
491
492# ISA Plug-and-Play joysticks
493#joy*	at isapnp?			# Game ports (usually on audio cards)
494
495# ISA joysticks. Probe is a little strange; add only if you have one.
496#joy0	at isa? port 0x201
497
498# Pull in optional local configuration
499cinclude "arch/i386/conf/GENERIC.local"
500
501
502# Pseudo-Devices
503
504# disk/mass storage pseudo-devices
505#pseudo-device	ccd			# concatenated/striped disk devices
506pseudo-device	fss			# file system snapshot device
507#pseudo-device	md			# memory disk device (ramdisk)
508pseudo-device	vnd			# disk-like interface to files
509#options 	VND_COMPRESSION		# compressed vnd(4)
510
511# network pseudo-devices
512pseudo-device	bpfilter		# Berkeley packet filter
513pseudo-device	bridge			# simple inter-network bridging
514pseudo-device	npf			# NPF packet filter
515pseudo-device	loop			# network loopback
516pseudo-device	ppp			# Point-to-Point Protocol
517pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
518#pseudo-device	sl			# Serial Line IP
519pseudo-device	tun			# network tunneling over tty
520#pseudo-device	tap			# virtual Ethernet
521
522# miscellaneous pseudo-devices
523pseudo-device	pty			# pseudo-terminals
524#options 	RND_COM			# use "com" randomness as well (BROKEN)
525pseudo-device	clockctl		# user control of clock subsystem
526
527# wscons pseudo-devices
528pseudo-device	wsmux			# mouse & keyboard multiplexor
529