GENERIC revision 1.128
1# $NetBSD: GENERIC,v 1.128 2002/04/25 15:21:59 wiz 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/macppc/conf/std.macppc"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.128 $"
26
27maxusers	32
28
29# Standard system options
30#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
31#options 	INSECURE	# disable kernel security levels
32
33options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
34#options 	NTP		# NTP phase/frequency locked loop
35options 	KTRACE		# system call tracing via ktrace(1)
36
37options 	SYSVMSG		# System V message queues
38options 	SYSVSEM		# System V semaphores
39#options 	SEMMNI=10	# number of semaphore identifiers
40#options 	SEMMNS=60	# number of semaphores in system
41#options 	SEMUME=10	# max number of undo entries per process
42#options 	SEMMNU=30	# number of undo structures in system
43options 	SYSVSHM		# System V shared memory
44#options 	SHMMAXPGS=1024	# 1024 pages is the default
45
46options 	LKM		# loadable kernel modules
47
48#options 	USERCONF	# userconf(4) support
49#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
50
51# Diagnostic/debugging support options
52options 	DIAGNOSTIC	# cheap kernel consistency checks
53#options 	DEBUG		# expensive debugging checks/support
54options 	DDB		# in-kernel debugger
55options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
56options 	TRAP_PANICWAIT
57
58#makeoptions 	DEBUG="-g"	# compile full symbol table
59
60# Compatibility options
61options 	COMPAT_09	# NetBSD 0.9,
62options 	COMPAT_10	# NetBSD 1.0,
63options 	COMPAT_11	# NetBSD 1.1,
64options 	COMPAT_12	# NetBSD 1.2,
65options 	COMPAT_13	# NetBSD 1.3,
66options 	COMPAT_14	# NetBSD 1.4,
67options 	COMPAT_43	# and 4.3BSD
68#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
69#options 	COMPAT_LINUX	# Linux binary compatibility
70#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
71
72# File systems
73file-system 	FFS		# UFS
74file-system 	EXT2FS		# second extended file system (linux)
75file-system 	LFS		# log-structured file system
76file-system 	MFS		# memory file system
77file-system 	NFS		# Network File System client
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
89# File system options
90options 	QUOTA		# UFS quotas
91#options 	FFS_EI		# FFS Endian Independant support
92options 	SOFTDEP		# FFS soft updates support.
93options 	NFSSERVER	# Network File System server
94#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
95				# immutable) behave as system flags.
96
97options 	NFS_BOOT_DHCP	# Support DHCP NFS root
98
99# Networking options
100#options 	GATEWAY		# packet forwarding
101options 	INET		# IP + ICMP + TCP + UDP
102options 	INET6		# IPV6
103#options 	IPSEC		# IP security
104#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
105#options 	IPSEC_DEBUG	# debug for IP security
106#options 	MROUTING	# IP multicast routing
107#options 	NS		# XNS
108#options 	NSIP		# XNS tunneling over IP
109#options 	ISO,TPIP	# OSI
110#options 	EON		# OSI tunneling over IP
111#options 	CCITT,LLC,HDLC	# X.25
112options 	NETATALK	# AppleTalk networking protocols
113options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
114options 	PPP_DEFLATE	# Deflate compression support for PPP
115options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
116options 	PFIL_HOOKS	# pfil(9) packet filter hooks
117options 	IPFILTER_LOG	# ipmon(8) log support
118#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
119
120# These options enable verbose messages for several subsystems.
121# Warning, these may compile large string tables into the kernel!
122options 	PCIVERBOSE	# verbose PCI device autoconfig messages
123options 	MIIVERBOSE	# verbose PHY autoconfig messages
124#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
125options 	SCSIVERBOSE	# human readable SCSI error messages
126options 	USBVERBOSE	# verbose USB device autoconfig messages
127
128# wscons options
129#options 	WSEMUL_SUN		# sun terminal emulation
130options 	WSEMUL_VT100		# VT100 / VT220 emulation
131options 	FONT_GALLANT12x22
132
133# Kernel root file system and dump configuration.
134config		netbsd	root on ? type ?
135
136#
137# Device configuration
138#
139
140mainbus* at root
141
142cpu*	at mainbus?
143bandit*	at mainbus?
144grackle* at mainbus?
145uninorth* at mainbus?
146
147pci*	at bandit? bus ?
148pci*	at grackle? bus ?
149pci*	at uninorth? bus ?
150pci*	at ppb? bus ?
151
152pchb*	at pci? dev ? function ?	# PCI-Host bridges
153ppb*	at pci? dev ? function ?	# PCI-PCI bridges
154
155fpa*	at pci? dev ? function ?	# DEC PCI FDDI (DEFPA) Controller
156ep*	at pci? dev ? function ?	# 3Com 3c59x
157epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
158ex*	at pci? dev ? function ?	# 3Com 90x[BC]
159fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
160lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
161ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
162rtk*	at pci? dev ? function ?	# Realtek 8129/8139
163sip*	at pci? dev ? function ?	# SiS 900/7016 Ethernet
164tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
165adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
166adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
167ahc*	at pci? dev ? function ?	# Adaptec 294x, aic78x0 SCSI
168bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
169iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
170isp*	at pci? dev ? function ?	# Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan
171pcscp*	at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
172siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
173trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
174ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
175#options 	OFB_ENABLE_CACHE	# Speed up console
176pciide*	at pci? dev ? function ?
177cbb*	at pci? dev ? function ?	# PCI-CardBus bridge
178gm*	at pci? dev ? function ?	# gmac ethernet
179obio0	at pci? dev ? function ?
180#macofcons0 at pci? dev ? function ?	# OpenFirmware console (for debugging)
181
182bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
183brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
184exphy*	at mii? phy ?			# 3Com internal PHYs
185icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
186inphy*	at mii? phy ?			# Intel 82555 PHYs
187iophy*	at mii? phy ?			# Intel 82553 PHYs
188lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
189nsphy*	at mii? phy ?			# NS83840 PHYs
190nsphyter* at mii? phy ?			# NS83843 PHYs
191qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
192sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
193tlphy*	at mii? phy ?			# ThunderLAN PHYs
194tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
195ukphy*	at mii? phy ?			# generic unknown PHYs
196
197# PCI serial interfaces
198cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
199#cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
200
201bm*	at obio?			# bmac ethernet
202mc*	at obio?			# MACE ethernet
203esp*	at obio? flags 0x00ff		# 53c9x SCSI
204mesh*	at obio? flags 0xffff		# MESH SCSI
205nvram*	at obio?			# nvram
206adb*	at obio?			# Apple Desktop Bus
207aed*	at adb?				# ADB Event Device
208akbd*	at adb?				# ADB keyboard
209ams*	at adb?				# ADB mouse
210abtn*	at adb?
211zsc*	at obio?
212zstty*	at zsc? channel ?
213mediabay* at obio?
214wdc*	at mediabay? flags 0
215awacs*	at obio?			# Apple audio device
216wi*	at obio?			# AirMac
217
218cardslot* at cbb?
219cardbus* at cardslot?
220pcmcia*	at cardslot?
221
222com*	at pcmcia? function ?		# Modems and serial cards
223wdc*	at pcmcia? function ?		# PCMCIA IDE controllers
224ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
225mbe*	at pcmcia? function ?		# MB8696x based Ethernet
226ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
227awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
228wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
229ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
230tlp*	at cardbus? dev ? function ?	# DECchip 21143
231rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139
232
233wsdisplay0 at ofb? console ?
234wskbd0	at akbd? console ?
235wsmouse0 at ams?
236
237scsibus* at adv?
238scsibus* at adw?
239scsibus* at ahc?
240scsibus* at bha?
241scsibus* at iha?
242scsibus* at isp?
243scsibus* at esp?
244scsibus* at mesh?
245scsibus* at pcscp?
246scsibus* at siop?
247scsibus* at trm?
248
249sd*	at scsibus? target ? lun ?	# SCSI disks
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
256wdc*	at obio? flags 0x1
257wd*	at pciide? channel ? drive ?
258wd*	at wdc? channel ? drive ? flags 0x0000
259
260atapibus* at pciide? channel ?
261atapibus* at wdc? channel ?
262
263cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
264sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
265uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
266
267# PCI USB controllers
268ohci*	at pci? dev ? function ?			# Open Host Controller
269
270usb*	at ohci?					# USB bus support
271uhub*	at usb?						# USB Hubs
272uhub*	at uhub? port ? configuration ? interface ?
273
274uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
275
276ums*	at uhidev? reportid ?				# USB Mice
277wsmouse* at ums?
278
279ukbd*	at uhidev? reportid ?				# USB Keyboards
280wskbd*	at ukbd? console ?
281
282uhid*	at uhidev? reportid ?				# USB Generic HID
283
284ulpt*	at uhub? port ? configuration ? interface ?	# USB Printer
285
286umodem*	at uhub? port ? configuration ?			# USB Modem
287ucom*	at umodem?
288
289umass*	at uhub? port ? configuration ? interface ?	# USB Mass Storage
290atapibus* at umass? channel ?
291scsibus* at umass? channel ?
292
293uaudio*	at uhub? port ? configuration ?			# USB audio
294
295# USB Ethernet adapters
296aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
297cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
298kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
299
300uscanner* at uhub? port ?				# USB scanners
301uyap* at uhub? port ?					# Y@P firmware loader
302ugen*	at uhub? port ? configuration ? interface ?	# USB Generic driver
303
304# PCI IEEE1394 controllers
305fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
306#fwlynx* at pci? dev ? function ?	# IEEE1394 TI Lynx Controller
307fw*	at fwbus?			# IP over 1394
308
309# IEEE1394 nodes
310#fwnode* at fwbus? oui ? devhi ? devlo ?
311#scsibus* at fwnode?
312
313# Audio Devices
314
315# PCI audio devices
316#clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
317#cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
318eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
319#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
320#fms*	at pci? dev ? function ?	# Forte Media FM801
321#sv*	at pci? dev ? function ?	# S3 SonicVibes
322
323# OPL[23] FM synthesizers
324#opl*	at cmpci? flags 1
325#opl*	at eso?
326#opl*	at fms?
327
328# Audio support
329audio* at awacs?
330#audio*	at clcs?
331#audio*	at cmpci?
332audio*	at eap?
333#audio*	at eso?
334#audio*	at fms?
335#audio*	at sv?
336audio*	at uaudio?
337
338# MPU 401 UARTs
339#mpu*	at cmpci?
340#mpu*	at eso?
341#mpu*	at fms?
342
343# MIDI support
344midi*	at eap?			# 137[01] MIDI port
345#midi*	at mpu?			# MPU 401
346
347pseudo-device	vnd		4	# disk-like interface to files
348pseudo-device	ccd		4	# concatenated/striped disk devices
349#pseudo-device	raid		8	# RAIDframe disk driver
350#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
351# Options to enable various other RAIDframe RAID types.
352# options 	RF_INCLUDE_EVENODD=1
353# options 	RF_INCLUDE_RAID5_RS=1
354# options 	RF_INCLUDE_PARITYLOGGING=1
355# options 	RF_INCLUDE_CHAINDECLUSTER=1
356# options 	RF_INCLUDE_INTERDECLUSTER=1
357# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
358# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
359pseudo-device	md		1	# memory disk device
360pseudo-device	loop			# network loopback
361pseudo-device	bpfilter	8	# packet filter
362pseudo-device	ipfilter		# IP filter (firewall) and NAT
363pseudo-device	ppp		2	# Point-to-Point Protocol
364pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
365pseudo-device	sl		2	# Serial Line IP
366pseudo-device	tun		4	# network tunneling over tty
367#pseudo-device	gre		2	# generic L3 over IP tunnel
368pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
369#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
370#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
371pseudo-device	vlan			# IEEE 802.1q encapsulation
372pseudo-device	bridge			# simple inter-network bridging
373pseudo-device	pty			# pseudo-terminals
374pseudo-device	rnd			# /dev/random and in-kernel generator
375pseudo-device	openfirm		# /dev/openfirm
376pseudo-device	wsmux			# mouse and keyboard multiplexor
377