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