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