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