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