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