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