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