GENERIC revision 1.160
1# $NetBSD: GENERIC,v 1.160 2003/08/22 07:52:50 itojun 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.160 $"
26
27maxusers	32
28
29options 	ALTIVEC		# Include AltiVec support
30
31# Standard system options
32#options 	INSECURE	# disable kernel security levels
33
34options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
35options 	NTP		# NTP phase/frequency locked loop
36options 	KTRACE		# system call tracing via ktrace(1)
37options 	SYSTRACE	# system call vetting via systrace(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# Enable experimental buffer queue strategy for better responsiveness under
54# high disk I/O load. Use it with caution - it's not proven to be stable yet.
55#options 	NEW_BUFQ_STRATEGY
56
57# Diagnostic/debugging support options
58options 	DIAGNOSTIC	# cheap kernel consistency checks
59#options 	DEBUG		# expensive debugging checks/support
60options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
61options 	DDB		# in-kernel debugger
62#options 	DDB_ONPANIC=0	# don't go into ddb on panic.
63options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
64#options 	TRAP_PANICWAIT
65
66#makeoptions 	DEBUG="-g"	# compile full symbol table
67
68# Compatibility options
69options 	COMPAT_09	# NetBSD 0.9,
70options 	COMPAT_10	# NetBSD 1.0,
71options 	COMPAT_11	# NetBSD 1.1,
72options 	COMPAT_12	# NetBSD 1.2,
73options 	COMPAT_13	# NetBSD 1.3,
74options 	COMPAT_14	# NetBSD 1.4,
75options 	COMPAT_43	# and 4.3BSD
76#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
77options 	COMPAT_LINUX	# Linux binary compatibility
78#options 	COMPAT_DARWIN	# Darwin binary compatibility (experimental)
79#options 	COMPAT_MACH	# Mach compatibility, needed for COMPAT_DARWIN 
80#options 	EXEC_MACHO	# Mach-O binary support, needed for COMPAT_MACH
81#options	DEBUG_DARWIN	# COMPAT_DARWIN debugging
82#options	DEBUG_MACH	# COMPAT_MACH debugging
83#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
84
85# File systems
86file-system 	FFS		# UFS
87file-system 	EXT2FS		# second extended file system (linux)
88file-system 	LFS		# log-structured file system
89file-system 	MFS		# memory file system
90file-system 	NFS		# Network File System client
91file-system 	CD9660		# ISO 9660 + Rock Ridge file system
92file-system 	MSDOSFS		# MS-DOS file system
93file-system 	FDESC		# /dev/fd
94file-system 	KERNFS		# /kern
95file-system 	NULLFS		# loopback file system
96file-system 	OVERLAY		# overlay file system
97file-system 	PORTAL		# portal filesystem (still experimental)
98file-system 	PROCFS		# /proc
99file-system 	UMAPFS		# NULLFS + uid and gid remapping
100file-system 	UNION		# union file system
101
102# File system options
103options 	QUOTA		# UFS quotas
104#options 	FFS_EI		# FFS Endian Independant support
105options 	SOFTDEP		# FFS soft updates support.
106options 	NFSSERVER	# Network File System server
107#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
108				# immutable) behave as system flags.
109options 	APPLE_UFS	# Apple UFS support in FFS
110
111options 	NFS_BOOT_DHCP	# Support DHCP NFS root
112
113# Networking options
114#options 	GATEWAY		# packet forwarding
115options 	INET		# IP + ICMP + TCP + UDP
116options 	INET6		# IPV6
117#options 	IPSEC		# IP security
118#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
119#options 	IPSEC_DEBUG	# debug for IP security
120#options 	MROUTING	# IP multicast routing
121#options 	NS		# XNS
122#options 	NSIP		# XNS tunneling over IP
123#options 	ISO,TPIP	# OSI
124#options 	EON		# OSI tunneling over IP
125#options 	CCITT,LLC,HDLC	# X.25
126options 	NETATALK	# AppleTalk networking protocols
127options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
128options 	PPP_DEFLATE	# Deflate compression support for PPP
129options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
130options 	PFIL_HOOKS	# pfil(9) packet filter hooks
131options 	IPFILTER_LOG	# ipmon(8) log support
132#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
133#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
134
135# These options enable verbose messages for several subsystems.
136# Warning, these may compile large string tables into the kernel!
137options 	PCIVERBOSE	# verbose PCI device autoconfig messages
138options 	MIIVERBOSE	# verbose PHY autoconfig messages
139#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
140options 	SCSIVERBOSE	# human readable SCSI error messages
141options 	USBVERBOSE	# verbose USB device autoconfig messages
142
143# wscons options
144#options 	WSEMUL_SUN			# sun terminal emulation
145options 	WSEMUL_VT100			# VT100 / VT220 emulation
146#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
147options 	FONT_GALLANT12x22
148
149# Optional Mac keyboard tweaks
150
151# Tweak the keyboard driver to treat the caps lock key on an ADB
152# keyboard as a control key; requires special remapping because of
153# ADB's strange emulation of a mechanically-locked key.
154#options	CAPS_IS_CONTROL
155
156# On Mac laptops, several function keys double as "hot keys"
157# (brightness, volume, eject) when the Fn modifier is held down.  Mac
158# OS X likes to reprogram the keyboard controller to send hot key
159# events when Fn is not held down and send function key events when it
160# is.  This option transforms the non-keyboard "button" events back
161# into function key events.
162#options	FORCE_FUNCTION_KEYS
163
164# Kernel root file system and dump configuration.
165config		netbsd	root on ? type ?
166
167#
168# Device configuration
169#
170
171mainbus* at root
172
173cpu*	at mainbus?
174bandit*	at mainbus?
175grackle* at mainbus?
176uninorth* at mainbus?
177
178pci*	at bandit? bus ?
179pci*	at grackle? bus ?
180pci*	at uninorth? bus ?
181pci*	at ppb? bus ?
182
183pchb*	at pci? dev ? function ?	# PCI-Host bridges
184ppb*	at pci? dev ? function ?	# PCI-PCI bridges
185# XXX 'puc's aren't really bridges, but there's no better place for them here
186puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
187
188# PCI Network devices
189an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
190bge*	at pci? dev ? function ?	# Broadcom 570x Gigabit Ethernet
191ep*	at pci? dev ? function ?	# 3Com 3c59x
192epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
193ex*	at pci? dev ? function ?	# 3Com 90x[BC]
194fpa*	at pci? dev ? function ?	# DEC PCI FDDI (DEFPA) Controller
195fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
196gem*	at pci? dev ? function ?	# gmac ethernet
197#gm*	at pci? dev ? function ?	# gmac ethernet (old)
198gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
199le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
200lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
201mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
202ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
203pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
204rtk*	at pci? dev ? function ?	# Realtek 8129/8139
205sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
206sip*	at pci? dev ? function ?	# SiS 900/7016 Ethernet
207ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
208stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
209#ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
210tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
211tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
212vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
213wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
214wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit
215
216# PCI SCSI controllers
217adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
218adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
219ahc*	at pci? dev ? function ?	# Adaptec 294x, aic78x0 SCSI
220bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
221esiop*	at pci? dev ? function ?	# NCR 53c8xx SCSI (enhanced)
222iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
223isp*	at pci? dev ? function ?	# Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan
224pcscp*	at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
225siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
226trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
227
228# Other  PCI devices
229ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
230#options 	OFB_ENABLE_CACHE	# Speed up console
231pciide*	at pci? dev ? function ?
232wdc*	at pci? dev ? function ?	# Kauai ATA
233cbb*	at pci? dev ? function ?	# PCI-CardBus bridge
234obio0	at pci? dev ? function ?
235#macofcons0 at pci? dev ? function ?	# OpenFirmware console (for debugging)
236
237acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
238amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
239bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
240brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
241dmphy*	at mii? phy ?                   # Davicom DM9101 PHYs
242exphy*	at mii? phy ?			# 3Com internal PHYs
243glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
244gphyter* at mii? phy ?			# NS83861 Gig-E PHY
245icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
246inphy*	at mii? phy ?			# Intel 82555 PHYs
247iophy*	at mii? phy ?			# Intel 82553 PHYs
248lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
249makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
250nsphy*	at mii? phy ?			# NS83840 PHYs
251nsphyter* at mii? phy ?			# NS83843 PHYs
252pnaphy* at mii? phy ?			# generic HomePNA PHYs
253qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
254sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
255tlphy*	at mii? phy ?			# ThunderLAN PHYs
256tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
257ukphy*	at mii? phy ?			# generic unknown PHYs
258urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
259
260# PCI serial interfaces
261com*	at puc? port ?			# 16x50s on "universal" comm boards
262cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
263#cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
264
265bktr*   at      pci? dev ? function ?           # Brooktree video/audio capture/tuner
266radio*  at      bktr?
267
268bm*	at obio?			# bmac ethernet
269mc*	at obio?			# MACE ethernet
270esp*	at obio? flags 0x00ff		# 53c9x SCSI
271mesh*	at obio? flags 0xffff		# MESH SCSI
272nvram*	at obio?			# nvram
273adb*	at obio?			# Apple Desktop Bus
274apm0	at adb?				# APM emulation
275aed*	at adb?				# ADB Event Device
276akbd*	at adb?				# ADB keyboard
277ams*	at adb?				# ADB mouse
278abtn*	at adb?
279zsc*	at obio?
280zstty*	at zsc? channel ?
281mediabay* at obio?
282wdc*	at mediabay? flags 0
283# awacs is disabled because on some systems--e.g., a 350MHz G4 GigE--
284# it may generate interrupt storms, rendering the machine unusable.
285# If you uncomment this, you'll also want to uncomment "audio* at awacs?"
286# below.
287#awacs*	at obio?			# Apple audio device
288wi*	at obio?			# AirMac
289
290cardslot* at cbb?
291cardbus* at cardslot?
292pcmcia*	at cardslot?
293
294com*	at pcmcia? function ?		# Modems and serial cards
295wdc*	at pcmcia? function ?		# PCMCIA IDE controllers
296ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
297mbe*	at pcmcia? function ?		# MB8696x based Ethernet
298ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
299awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
300wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
301ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
302tlp*	at cardbus? dev ? function ?	# DECchip 21143
303rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139
304
305wsdisplay0 at ofb? console ?
306wskbd0	at akbd? console ?
307wsmouse0 at ams?
308
309scsibus* at adv?
310scsibus* at adw?
311scsibus* at ahc?
312scsibus* at bha?
313scsibus* at iha?
314scsibus* at isp?
315scsibus* at esp?
316scsibus* at mesh?
317scsibus* at pcscp?
318scsibus* at siop?
319scsibus* at esiop?
320scsibus* at trm?
321
322sd*	at scsibus? target ? lun ?	# SCSI disks
323st*	at scsibus? target ? lun ?	# SCSI tape drives
324cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
325ch*	at scsibus? target ? lun ?	# SCSI autochangers
326ss*	at scsibus? target ? lun ?	# SCSI scanners
327uk*	at scsibus? target ? lun ?	# SCSI unknown
328
329wdc*	at obio? flags 0x1
330wd*	at pciide? channel ? drive ?
331wd*	at wdc? channel ? drive ? flags 0x0000
332
333atapibus* at pciide? channel ?
334atapibus* at wdc? channel ?
335
336cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
337sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
338uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
339
340# PCI USB controllers
341ohci*	at pci? dev ? function ?			# Open Host Controller
342
343usb*	at ohci?					# USB bus support
344uhub*	at usb?						# USB Hubs
345uhub*	at uhub? port ? configuration ? interface ?
346
347uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
348
349ums*	at uhidev? reportid ?				# USB Mice
350wsmouse* at ums?
351
352ukbd*	at uhidev? reportid ?				# USB Keyboards
353wskbd*	at ukbd? console ?
354
355uhid*	at uhidev? reportid ?				# USB Generic HID
356
357ulpt*	at uhub? port ? configuration ? interface ?	# USB Printer
358
359umodem*	at uhub? port ? configuration ?			# USB Modem
360ucom*	at umodem?
361
362umass*	at uhub? port ? configuration ? interface ?	# USB Mass Storage
363atapibus* at umass? channel ?
364scsibus* at umass? channel ?
365
366uaudio*	at uhub? port ? configuration ?			# USB audio
367
368# D-Link DSB-R100 USB FM radio tuner
369udsbr* at uhub? port ?
370radio* at udsbr?
371
372# USB Ethernet adapters
373aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
374cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
375kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
376uax*	at uhub? port ?		# ASIX AX88172 based adapters
377url*	at uhub? port ?		# Realtek RTL8150L based adapters
378udav*	at uhub? port ?		# Davicom DM9601 based adapters
379
380uscanner* at uhub? port ?				# USB scanners
381uyap* at uhub? port ?					# Y@P firmware loader
382ugen*	at uhub? port ? configuration ? interface ?	# USB Generic driver
383
384# PCI IEEE1394 controllers
385fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
386#fwlynx* at pci? dev ? function ?	# IEEE1394 TI Lynx Controller
387fw*	at fwbus?			# IP over 1394
388
389# IEEE1394 nodes
390#fwnode* at fwbus? idhi ? idlo ?
391#sbpscsi* at fwnode?
392#scsibus* at sbpscsi?
393
394# Audio Devices
395
396# PCI audio devices
397#clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
398#cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
399eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
400#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
401#fms*	at pci? dev ? function ?	# Forte Media FM801
402#sv*	at pci? dev ? function ?	# S3 SonicVibes
403
404# OPL[23] FM synthesizers
405#opl*	at cmpci? flags 1
406#opl*	at eso?
407#opl*	at fms?
408
409# Audio support
410#audio* at awacs?
411#audio*	at clcs?
412#audio*	at cmpci?
413audio*	at eap?
414#audio*	at eso?
415#audio*	at fms?
416#audio*	at sv?
417audio*	at uaudio?
418
419# MPU 401 UARTs
420#mpu*	at cmpci?
421#mpu*	at eso?
422#mpu*	at fms?
423
424# MIDI support
425midi*	at eap?			# 137[01] MIDI port
426#midi*	at mpu?			# MPU 401
427
428pseudo-device	vnd		4	# disk-like interface to files
429pseudo-device	ccd		4	# concatenated/striped disk devices
430#pseudo-device	cgd		4	# cryptographic disk devices
431#pseudo-device	raid		8	# RAIDframe disk driver
432#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
433# Options to enable various other RAIDframe RAID types.
434# options 	RF_INCLUDE_EVENODD=1
435# options 	RF_INCLUDE_RAID5_RS=1
436# options 	RF_INCLUDE_PARITYLOGGING=1
437# options 	RF_INCLUDE_CHAINDECLUSTER=1
438# options 	RF_INCLUDE_INTERDECLUSTER=1
439# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
440# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
441pseudo-device	md		1	# memory disk device
442pseudo-device	loop			# network loopback
443pseudo-device	bpfilter	8	# packet filter
444pseudo-device	ipfilter		# IP filter (firewall) and NAT
445pseudo-device	ppp		2	# Point-to-Point Protocol
446pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
447pseudo-device	sl		2	# Serial Line IP
448pseudo-device	tun		4	# network tunneling over tty
449#pseudo-device	gre		2	# generic L3 over IP tunnel
450pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
451#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
452#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
453pseudo-device	vlan			# IEEE 802.1q encapsulation
454pseudo-device	bridge			# simple inter-network bridging
455#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
456pseudo-device	pty			# pseudo-terminals
457pseudo-device	rnd			# /dev/random and in-kernel generator
458pseudo-device	openfirm		# /dev/openfirm
459pseudo-device	wsmux			# mouse and keyboard multiplexor
460pseudo-device	clockctl		# user control of clock subsystem
461pseudo-device	ksyms			# /dev/ksyms
462