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