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