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