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