GENERIC revision 1.35
1#	$NetBSD: GENERIC,v 1.35 2001/12/11 20:49:18 kleink Exp $
2#
3#	GENERIC -- everything that's currently supported
4#
5
6include "arch/prep/conf/std.prep"
7
8#ident		"GENERIC-$Revision: 1.35 $"
9
10maxusers	32
11
12# Standard system options
13
14options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
15options 	NTP		# NTP phase/frequency locked loop
16
17options 	KTRACE		# system call tracing via ktrace(1)
18
19options 	SYSVMSG		# System V-like message queues
20options 	SYSVSEM		# System V-like semaphores
21#options 	SEMMNI=10	# number of semaphore identifiers
22#options 	SEMMNS=60	# number of semaphores in system
23#options 	SEMUME=10	# max number of undo entries per process
24#options 	SEMMNU=30	# number of undo structures in system
25options 	SYSVSHM		# System V-like memory sharing
26#options 	SHMMAXPGS=1024	# 1024 pages is the default
27
28options 	LKM		# loadable kernel modules
29
30# Diagnostic/debugging support options
31options 	DIAGNOSTIC	# cheap kernel consistency checks
32#options 	DEBUG		# expensive debugging checks/support
33#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
34options 	DDB		# in-kernel debugger
35#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
36#makeoptions	DEBUG="-g"
37
38# Compatibility options
39options 	COMPAT_13	# NetBSD 1.3,
40options 	COMPAT_14	# NetBSD 1.4,
41options 	COMPAT_43	# and 4.3BSD
42#options 	COMPAT_LINUX	# Linux binary compatibility
43#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
44
45# File systems
46file-system 	FFS		# UFS
47file-system	EXT2FS		# second extended file system (linux)
48file-system	LFS		# log-structured file system
49file-system 	MFS		# memory file system
50file-system 	NFS		# Network File System client
51file-system	NTFS		# Windows/NT file system (experimental)
52file-system 	CD9660		# ISO 9660 + Rock Ridge file system
53file-system 	MSDOSFS		# MS-DOS file system
54file-system 	FDESC		# /dev/fd
55file-system 	KERNFS		# /kern
56file-system 	NULLFS		# loopback file system
57file-system	OVERLAY		# overlay file system
58file-system 	PORTAL		# portal filesystem (still experimental)
59file-system 	PROCFS		# /proc
60file-system 	UMAPFS		# NULLFS + uid and gid remapping
61file-system 	UNION		# union file system
62#file-system	CODA		# Coda File System; also needs vcoda (below)
63
64# File system options
65options 	QUOTA		# UFS quotas
66options 	FFS_EI		# FFS Endian Independant support
67options 	SOFTDEP		# FFS soft updates support.
68options 	NFSSERVER	# Network File System server
69#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
70 				# immutable) behave as system flags.
71
72# Networking options
73#options 	GATEWAY		# packet forwarding
74options 	INET		# IP + ICMP + TCP + UDP
75options 	INET6		# IPv6
76#options 	IPSEC		# IP security
77#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
78#options 	IPSEC_DEBUG	# debug for IP security
79#options 	MROUTING	# IP multicast routing
80options 	NETATALK	# AppleTalk networking protocols
81options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
82options 	PPP_DEFLATE	# Deflate compression support for PPP
83options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
84options 	PFIL_HOOKS	# pfil(9) packet filter hooks
85options 	IPFILTER_LOG	# ipmon(8) log support
86#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
87
88# These options enable verbose messages for several subsystems.
89# Warning, these may compile large string tables into the kernel!
90options 	MIIVERBOSE	# verbose PHY autoconfig messages
91options 	PCIVERBOSE	# verbose PCI device autoconfig messages
92#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
93options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
94options 	SCSIVERBOSE	# human readable SCSI error messages
95#options 	USBVERBOSE	# verbose USB device autoconfig messages
96
97options 	NFS_BOOT_BOOTP
98options 	NFS_BOOT_BOOTPARAM
99options 	NFS_BOOT_DHCP
100
101#
102# wscons options
103#
104# builtin terminal emulations
105options 	WSEMUL_VT100		# VT100 / VT220 emulation
106# different kernel output - see dev/wscons/wsdisplayvar.h
107options 	WS_KERNEL_FG=WSCOL_GREEN
108#options 	WS_KERNEL_BG=WSCOL_BLACK
109# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
110#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
111# allocate a number of virtual screens at autoconfiguration time
112#options 	WSDISPLAY_DEFAULTSCREENS=4
113# use a large software cursor that doesn't blink
114options 	PCDISPLAY_SOFTCURSOR
115
116# Kernel root file system and dump configuration.
117config	netbsd	root on ? type ?
118#config	netbsd	root on de0 type nfs
119#config	netbsd	root on le0 type nfs
120
121
122#
123# Device configuration
124#
125
126mainbus0 at root
127cpu0	at mainbus0
128
129
130# Basic Bus Support
131
132# PCI bus support
133pci0	at mainbus0 bus ?
134pci*	at pchb? bus ?
135pci*	at ppb? bus ?
136
137options 	PCI_NETBSD_CONFIGURE
138
139# PCI bridges
140pchb*	at pci? dev ? function ?	# PCI-Host bridges
141ppb*	at pci? dev ? function ?	# PCI-PCI bridges
142pcib*	at pci? dev ? function ?	# PCI-ISA bridges
143
144# ISA bus support
145isa*	at pcib?			# ISA on PCI-ISA bridge
146
147# PCMCIA bus support
148pcmcia* at pcic? controller ? socket ?
149
150# ISA PCMCIA controllers
151pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
152
153#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
154#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
155#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100
156
157# ISA Plug-and-Play bus support
158isapnp0	at isa?
159
160# Console Devices
161
162# wscons
163pckbc0		at isa?			# pc keyboard controller
164pckbd*		at pckbc?		# PC keyboard
165pms*		at pckbc?		# PS/2 mouse for wsmouse
166pmsi*		at pckbc?		# PS/2 "Intelli"mouse for wsmouse
167vga*		at pci?
168wsdisplay*	at vga? console ?
169wskbd*		at pckbd? console ?
170wsmouse*	at pms? mux 0
171wsmouse*	at pmsi? mux 0
172
173pcppi0	at isa?				# PC prog. periph. interface
174isabeep0 at pcppi?			# "keyboard" beep
175
176mcclock0 at isa? port 0x70		# mc146818 and compatible
177
178
179# Serial Devices
180
181# ISA serial interfaces
182com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
183com1	at isa? port 0x2f8 irq 3
184
185# PCMCIA serial interfaces
186com*	at pcmcia? function ?		# Modems and serial cards
187
188pcmcom* at pcmcia? function ?		# PCMCIA multi-port serial cards
189com*	at pcmcom? slave ?		# ...and the slave devices
190
191
192# Parallel Printer Interfaces
193
194# ISA parallel printer interfaces
195lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
196
197
198# SCSI Controllers and Devices
199
200# PCI SCSI controllers
201adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
202ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
203iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
204pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
205siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
206
207# PCMCIA SCSI controllers
208aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
209
210# SCSI bus support
211scsibus* at adw?
212scsibus* at ahc?
213scsibus* at aic?
214scsibus* at iha?
215scsibus* at pcscp?
216scsibus* at siop?
217
218# SCSI devices
219sd*	at scsibus? target ? lun ?	# SCSI disk drives
220st*	at scsibus? target ? lun ?	# SCSI tape drives
221cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
222ch*	at scsibus? target ? lun ?	# SCSI autochangers
223ss*	at scsibus? target ? lun ?	# SCSI scanners
224uk*	at scsibus? target ? lun ?	# SCSI unknown
225
226
227# IDE and related devices
228
229# PCMCIA IDE controllers
230wdc*	at pcmcia? function ?
231
232# IDE drives
233# Flags are used only with controllers that support DMA operations
234# and mode settings (e.g. some pciide controllers)
235# The lowest order four bits (rightmost digit) of the flags define the PIO
236# mode to use, the next set of four bits the DMA mode and the third set the
237# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
238# to use, and the last bit must be 1 for this setting to be used.
239# For DMA and UDMA, 0xf (1111) means 'disable'.
240# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
241# (0xc=1100, 0xa=1010, 0xf=1111)
242# 0x0000 means "use whatever the drive claims to support".
243wd*	at wdc? channel ? drive ? flags 0x0000
244
245# ATAPI bus support
246atapibus* at wdc? channel ?
247
248# ATAPI devices
249# flags have the same meaning as for IDE drives.
250cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
251sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
252uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
253
254
255# Network Interfaces
256
257# PCI network interfaces
258de*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
259ep*	at pci? dev ? function ?	# 3Com 3c59x
260fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
261ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
262pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
263rtk*	at pci? dev ? function ?	# Realtek 8129/8139
264sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
265tlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
266#options 	TLP_MATCH_21040
267#options 	TLP_MATCH_21041
268#options 	TLP_MATCH_21140
269#options 	TLP_MATCH_21142
270vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
271
272# ISA network interfaces
273ep*	at isa? port ? irq ?		# 3Com 3c509 Ethernet
274ne0	at isa? port 0x280 irq 9	# NE2000-compatible Ethernet
275ne1	at isa? port 0x300 irq 10
276we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
277
278# ISA Plug-and-Play network intefaces
279ep*	at isapnp?			# 3Com 3c509 Ethernet
280ne*	at isapnp?			# NE2000-compatible Ethernet
281
282# PCMCIA network interfaces
283ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
284ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
285
286mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
287com*	at mhzc?
288sm*	at mhzc?
289
290# MII/PHY support
291dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
292exphy*	at mii? phy ?			# 3Com internal PHYs
293icsphy* at mii? phy ?			# Integrated Circuit Systems ICS1890
294inphy*	at mii? phy ?			# Intel 82555 PHYs
295iophy*	at mii? phy ?			# Intel 82553 PHYs
296lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
297nsphy*	at mii? phy ?			# NS83840 PHYs
298nsphyter* at mii? phy ?			# NS83843 PHYs
299qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
300sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
301tlphy*	at mii? phy ?			# ThunderLAN PHYs
302tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
303ukphy*	at mii? phy ?			# generic unknown PHYs
304
305
306# USB Controller and Devices
307
308# PCI USB controllers
309#uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
310#ohci*	at pci? dev ? function ?	# Open Host Controller
311
312# USB bus support
313#usb*	at uhci?
314#usb*	at ohci?
315
316# USB Hubs
317#uhub*	at usb?
318#uhub*	at uhub? port ? configuration ? interface ?
319
320# USB Mice
321#ums*	at uhub? port ? configuration ? interface ?
322#wsmouse* at ums? mux 0
323
324# USB Keyboards
325#ukbd*	at uhub? port ? configuration ? interface ?
326#wskbd*	at ukbd? console ? mux 1
327
328# USB Generic HID devices
329#uhid*	at uhub? port ? configuration ? interface ?
330
331# USB Printer
332#ulpt*	at uhub? port ? configuration ? interface ?
333
334# USB Modem
335#umodem* at uhub? port ? configuration ?
336#ucom*	at umodem?
337
338# USB Mass Storage
339#umass*	at uhub? port ? configuration ? interface ?
340#scsibus* at umass? channel ?
341#atapibus* at umass? channel ?
342
343# USB audio
344#uaudio* at uhub? port ? configuration ?
345
346# USB Ethernet adapters
347#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
348#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
349#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
350
351# Prolofic PL2301/PL2302 host-to-host adapter
352#upl*	at uhub? port ?
353
354# Serial adapters
355# FTDI FT8U100AX serial adapter
356#uftdi*	at uhub? port ?
357#ucom*	at uftdi? portno ?
358
359# Diamond Multimedia Rio 500
360#urio*	at uhub? port ?
361
362# USB Handspring Visor
363#uvisor* at uhub? port ?
364#ucom*	at uvisor?
365
366# Y@P firmware loader
367#uyap* at uhub? port ?
368
369# USB Generic driver
370#ugen*	at uhub? port ?
371
372# USB scanners
373#uscanner* at uhub? port ?
374
375
376# Audio device
377
378# ISA Plug-and-Play audio devices
379#wss*	at isapnp?			# CS4232
380
381# Audio support
382#audio*	at uaudio?
383#audio*	at wss?
384
385# MIDI support
386midi*	at pcppi?		# MIDI interface to the PC speaker
387
388# The spkr driver provides a simple tone interface to the built in speaker.
389spkr0	at pcppi?		# PC speaker
390
391# Joysticks
392
393# ISA joysticks. Probe is a little strange; add only if you have one.
394joy0	at isa? port 0x201
395
396
397# Pseudo-Devices
398
399# disk/mass storage pseudo-devices
400pseudo-device	ccd		4	# concatenated/striped disk devices
401#pseudo-device	raid		4	# RAIDframe disk driver
402#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
403pseudo-device	md		1	# memory disk device (ramdisk)
404pseudo-device	vnd		4	# disk-like interface to files
405
406# network pseudo-devices
407pseudo-device	loop			# network loopback
408pseudo-device	bpfilter	8	# Berkeley packet filter
409pseudo-device	ipfilter		# IP filter (firewall) and NAT
410pseudo-device	ppp		2	# Point-to-Point Protocol
411pseudo-device	sl		2	# Serial Line IP
412pseudo-device	strip		2	# Starmode Radio IP (Metricom)
413pseudo-device	tun		2	# network tunneling over tty
414pseudo-device	gre		2	# generic L3 over IP tunnel
415pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
416pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
417#pseudo-device	faith		2	# IPv[46] tcp relay translation i/f
418#pseudo-device	stf		2	# 6to4 IPv6 over IPv4 encapsulation
419pseudo-device	vlan			# IEEE 802.1q encapsulation
420pseudo-device	bridge			# simple inter-network bridging
421
422# miscellaneous pseudo-devices
423pseudo-device	pty			# pseudo-terminals
424pseudo-device	tb		1	# tablet line discipline
425pseudo-device	sequencer	1	# MIDI sequencer
426pseudo-device	rnd			# /dev/random and in-kernel generator
427#options 	RND_COM			# use "com" randomness as well
428
429# a pseudo device needed for Coda	# also needs CODA (above)
430#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
431
432# wscons pseudo-devices
433pseudo-device	wsmux			# mouse & keyboard multiplexor
434pseudo-device	wsfont
435