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