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