GENERIC revision 1.5
1#	$NetBSD: GENERIC,v 1.5 2001/06/16 13:58:18 tsutsui Exp $
2#
3#	CATS -- CHALTECH CATS Development kernel
4#
5
6include	"arch/cats/conf/std.cats"
7
8# estimated number of users
9
10maxusers	32
11
12# Standard system options
13
14options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
15options 	INSECURE	# disable kernel securelevel
16
17options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
18options 	NTP		# NTP phase/frequency locked loop
19
20# CPU options
21
22# For StrongARM systems
23options 	CPU_SA110	# Support the SA110 core
24makeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
25
26# Architecture options
27options 	FOOTBRIDGE	# We have DC21285 'Footbridge' core logic
28options 	EBSA285		# We are an EBSA285
29
30# FPA options
31
32#options 	ARMFPE		# ARM Ltd FPE
33
34# File systems
35
36file-system	FFS		# UFS
37file-system	LFS		# log-structured file system
38file-system	MFS		# memory file system
39file-system	NFS		# Network file system
40file-system 	ADOSFS		# AmigaDOS-compatible file system
41file-system 	EXT2FS		# second extended file system (linux)
42file-system	CD9660		# ISO 9660 + Rock Ridge file system
43file-system	MSDOSFS		# MS-DOS file system
44file-system	FDESC		# /dev/fd
45file-system	KERNFS		# /kern
46file-system	NULLFS		# loopback file system
47file-system 	OVERLAY		# overlay filesystem
48file-system	PORTAL		# portal filesystem (still experimental)
49file-system	PROCFS		# /proc
50file-system	UMAPFS		# NULLFS + uid and gid remapping
51file-system	UNION		# union file system
52file-system	CODA		# Coda File System; also needs vcode (below)
53
54# File system options
55options 	QUOTA		# UFS quotas
56#options 	FFS_EI		# FFS Endian Independant support
57options 	NFSSERVER
58options 	SOFTDEP         # FFS soft updates support
59
60# Networking options
61
62#options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
67#options 	IPSEC_DEBUG	# debug for IP security
68#options 	MROUTING	# IP multicast routing
69options 	NS		# XNS
70#options 	NSIP		# XNS tunneling over IP
71options 	ISO,TPIP	# OSI
72#options 	EON		# OSI tunneling over IP
73options 	CCITT,LLC,HDLC	# X.25
74options 	NETATALK	# AppleTalk networking
75options 	PFIL_HOOKS	# pfil(9) packet filter hooks
76options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
77options 	PPP_DEFLATE	# Deflate compression support for PPP
78options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
79options 	IPFILTER_LOG	# ipmon(8) log support
80
81options 	NFS_BOOT_BOOTP
82options 	NFS_BOOT_DHCP
83#options 	NFS_BOOT_BOOTPARAM
84
85# Compatibility options
86
87#options 	COMPAT_43	# 4.3BSD compatibility.
88options 	COMPAT_14	# NetBSD 1.4 compatibility.
89options 	COMPAT_13	# NetBSD 1.3 compatibility.
90#options 	COMPAT_12	# NetBSD 1.2 compatibility.
91#options 	COMPAT_11	# NetBSD 1.1 compatibility.
92#options 	COMPAT_10	# NetBSD 1.0 compatibility.
93#options 	COMPAT_09	# NetBSD 0.9 compatibility.
94#options 	TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD
95
96# Shared memory options
97
98options 	SYSVMSG		# System V-like message queues
99options 	SYSVSEM		# System V-like semaphores
100options 	SYSVSHM		# System V-like memory sharing
101#options 	SHMMAXPGS=1024	# 1024 pages is the default
102
103# Device options
104
105#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
106#options 	MEMORY_DISK_SIZE=0	# Size in blocks
107#options 	MINIROOTSIZE=3400	# Size in blocks
108#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
109
110# Miscellaneous kernel options
111options 	KTRACE		# system call tracing, a la ktrace(1)
112options 	IRQSTATS	# manage IRQ statistics
113#options 	LKM		# loadable kernel modules
114#options 	KMEMSTATS	# kernel memory statistics
115options 	SCSIVERBOSE	# Verbose SCSI errors
116options 	PCIVERBOSE	# Verbose PCI descriptions
117options 	MIIVERBOSE	# verbose PHY autoconfig messages
118#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
119options 	USBVERBOSE	# verbose USB device autoconfig messages
120#options 	DDB_KEYCODE=0x40
121options		PMAP_STATIC_L1S=128
122
123# wscons options
124#options 	WSEMUL_SUN		# sun terminal emulation
125options 	WSEMUL_VT100		# VT100 / VT220 emulation
126# different kernel output - see dev/wscons/wsdisplayvar.h
127options 	WS_KERNEL_FG=WSCOL_GREEN
128options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
129options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
130options 	WSDISPLAY_COMPAT_USL		# VT handling
131options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
132# see dev/wscons/wskbdmap_mfii.h for implemented layouts
133#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
134
135# Development and Debugging options
136
137#options 	ARM700BUGTRACK	# track the ARM700 swi bug
138#options 	PORTMASTER	# Enable PortMaster only options
139options 	DIAGNOSTIC	# internally consistency checks
140#options  	PMAP_DEBUG	# Enable pmap_debug_level code
141#options 	IPKDB		# remote kernel debugging
142options 	DDB		# in-kernel debugger
143options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
144#makeoptions	DEBUG="-g"	# compile full symbol table
145
146config		netbsd	root on ? type ?
147
148# The main bus device
149mainbus0 at root
150
151# The boot cpu
152cpu0 at mainbus?
153
154# Core logic
155footbridge0	at mainbus?
156
157# footbridge uart
158fcom0	at footbridge?
159
160# system clock via footbridge
161#clock*	at footbridge?
162
163# time-of-day device via footbridge or RTC
164todclock0	at todservice?
165
166# PCI bus support
167# PCI bus via footbridge
168pci0	at footbridge?			# PCI bus
169
170pci*	at ppb? bus ?
171
172# PCI bridges
173ppb*	at pci? dev ? function ?	# PCI-PCI bridges
174# XXX 'puc's aren't really bridges, but there's no better place for them here
175#puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
176
177# PCI serial interfaces
178#com*	at puc? port ?			# 16x50s on "universal" comm boards
179#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
180
181# PCI parallel printer interfaces
182#lpt*	at puc? port ?			# || ports on "universal" comm boards
183
184# PCI SCSI Controllers and Buses
185adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], ULTRA SCSI
186scsibus* at adv?
187#adw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
188#scsibus* at adw?
189ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI controllers
190scsibus* at ahc?
191#bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
192#scsibus* at bha?
193iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
194scsibus* at iha?
195isp*	at pci? dev ? function ?	# Qlogic ISP 10x0 SCSI controllers
196scsibus* at isp?
197pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
198scsibus* at pcscp?
199siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
200scsibus* at siop?
201
202# SCSI devices
203sd*	at scsibus? target ? lun ?	# SCSI disk drives
204st*	at scsibus? target ? lun ?	# SCSI tape drives
205cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
206#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
207#uk*	at scsibus? target ? lun ?	# SCSI unknown device
208#ss*	at scsibus? target ? lun ?	# SCSI scanner
209
210# PCI IDE Controllers and Devices
211# PCI IDE controllers - see pciide(4) for supported hardware.
212# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
213# how to set up DMA modes for this chip. This may work, or may cause
214# a machine hang with some controllers.
215pciide* at pci? dev ? function ? flags 0x0000
216
217# IDE drives
218# Flags are used only with controllers that support DMA operations
219# and mode settings (e.g. some pciide controllers)
220# The lowest order four bits (rightmost digit) of the flags define the PIO
221# mode to use, the next set of four bits the DMA mode and the third set the
222# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
223# to use, and the last bit must be 1 for this setting to be used.
224# For DMA and UDMA, 0xf (1111) means 'disable'.
225# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
226# (0xc=1100, 0xa=1010, 0xf=1111)
227# 0x0000 means "use whatever the drive claims to support".
228wd*	at pciide? channel ? drive ? flags 0x0000	# the drives themselves
229
230# ATAPI bus support
231atapibus* at pciide? channel ?
232
233# ATAPI devices
234cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
235sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
236uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
237
238# PCI network interfaces
239de*	at pci? dev ? function ?	# DC21X4X-based ethernet cards
240#en*	at pci? dev ? function ?	# ENI/Adaptec ATM
241#ep*	at pci? dev ? function ?	# 3C590 ethernet cards
242ex*	at pci? dev ? function ?	# 3Com 90x[B]
243epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
244#esh*	at pci? dev ? function ?	# Essential HIPPI card
245#fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
246fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
247#le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
248ne*	at pci? dev ? function ?	# NE2000 compat ethernet
249#ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
250sip*	at pci? dev ? function ?	# SiS 900 Ethernet
251#tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
252tlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
253#options 	TLP_MATCH_21040
254#options 	TLP_MATCH_21041
255#options 	TLP_MATCH_21140
256#options 	TLP_MATCH_21142
257vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
258#lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
259rtk*	at pci? dev ? function ?	# Realtek 8129/8139
260
261# MII/PHY support
262exphy*	at mii? phy ?			# 3Com internal PHYs
263#icsphy* at mii? phy ?			# Integrated Circuit Systems ICS1890
264inphy*	at mii? phy ?			# Intel 82555 PHYs
265#iophy*	at mii? phy ?			# Intel 82553 PHYs
266#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
267nsphy*	at mii? phy ?			# NS83840 PHYs
268#nsphyter* at mii? phy ?		# NS83843 PHYs
269qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
270#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
271#tlphy*	at mii? phy ?			# ThunderLAN PHYs
272#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
273ukphy*	at mii? phy ?			# generic unknown PHYs
274
275# USB Controller and Devices
276
277# PCI USB controllers
278ohci*	at pci?				# Open Host Controller
279
280# USB bus support
281usb*	at ohci?
282
283# USB Hubs
284uhub*	at usb?
285uhub*	at uhub? port ? configuration ? interface ?
286
287# USB Mice
288ums*	at uhub? port ? configuration ? interface ?
289wsmouse*	at ums?
290
291# USB Keyboards
292ukbd*	at uhub? port ? configuration ? interface ?
293wskbd*	at ukbd? console ?
294
295# USB Generic HID devices
296uhid*	at uhub? port ? configuration ? interface ?
297
298# USB Printer
299ulpt*	at uhub? port ? configuration ? interface ?
300
301# USB Modem
302umodem*	at uhub? port ? configuration ?
303ucom*	at umodem?
304
305# USB Mass Storage
306umass*	at uhub? port ? configuration ? interface ?
307atapibus* at umass? channel ?
308scsibus* at umass? channel ?
309
310# USB audio
311uaudio*	at uhub? port ? configuration ?
312audio*	at uaudio?
313
314# USB MIDI
315umidi* at uhub? port ? configuration ?
316midi*   at umidi?
317
318# USB Ethernet adapters
319aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
320cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
321kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
322
323# Prolofic PL2301/PL2302 host-to-host adapter
324upl*	at uhub? port ?
325
326# Serial adapters
327# FTDI FT8U100AX serial adapter
328uftdi*	at uhub? port ?
329ucom*	at uftdi? portno ?
330
331uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
332ucom*	at uplcom? portno ? 
333
334umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
335ucom*	at umct? portno ?
336
337# Diamond Multimedia Rio 500
338urio*	at uhub? port ?
339
340# USB Handspring Visor
341uvisor*	at uhub? port ?
342ucom*	at uvisor?
343
344# USB scanners
345uscanner* at uhub? port ?
346
347# USB scanners that use SCSI emulation, e.g., HP5300
348usscanner* at uhub? port ?
349scsibus* at usscanner? channel ?
350
351# Y@P firmware loader
352uyap* at uhub? port ?
353
354# USB Generic driver
355ugen* at uhub? port ?
356
357# Audio Devices
358
359# PCI audio devices
360#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
361#sv*	at pci? dev ? function ?	# S3 SonicVibes
362
363# Audio support
364#audio*	at eap?
365#audio*	at sv?
366
367vga*		at pci?
368wsdisplay*	at vga? console ?
369
370# ISA bus bridging
371
372pcib*	at pci? dev ? function ?	# PCI-ISA bridge
373isa*	at pcib?			# ISA bus
374
375# ISA Plug-and-Play bus support
376isapnp0	at isa?
377
378# wscons
379pckbc0	at isa?			# pc keyboard controller
380pckbd*	at pckbc?		# PC keyboard
381pms*		at pckbc?		# PS/2 mouse for wsmouse
382pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
383wskbd*		at pckbd? console ?
384wsmouse*	at pms?
385wsmouse*	at pmsi?
386
387pcppi0	at isa?
388sysbeep0	at pcppi?
389
390# ISA Plug-and-Play serial interfaces
391com*	at isapnp?			# Modems and serial boards
392
393# ISA Plug-and-Play network interfaces
394ep*	at isapnp?			# 3Com 3c509 Ethernet
395
396# ISA serial interfaces
397com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
398com1	at isa? port 0x2f8 irq 3
399#com2	at isa? port 0x3e8 irq 9
400#com3	at isa? port 0x2e8 irq 10
401
402# ISA parallel printer interfaces
403lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
404lpt1	at isa? port 0x278 irq 5
405#lpt2	at isa? port 0x3bc
406
407# ISA floppy
408#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
409#fdc1	at isa? port 0x370 irq ? drq ?
410#fd*	at fdc? drive ?			# the drives themselves
411
412# ISA network interface
413#ne0	at isa? port 0x280 irq 9
414#ne1	at isa? port 0x300 irq 10
415#ep*	at isa? port ? irq ?
416
417# The spkr driver provides a simple tone interface to the built in speaker.
418spkr0	at pcppi?			# PC speaker
419
420dsrtc0	at isa? port 0x72		# Dallas RTC
421
422# ISA Plug-and-Play audio devices
423ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
424sb*	at isapnp?			# SoundBlaster-compatible audio
425wss*	at isapnp?			# Windows Sound System
426
427# OPL[23] FM syntheziers
428opl*	at ess?
429opl*	at sb?
430
431# Audio support
432audio*	at ess?
433audio*	at sb?
434audio*	at wss?
435
436# MPU 401 UARTs
437#mpu*	at sb?
438
439# MIDI support
440midi*	at pcppi?		# MIDI interface to the PC speaker
441midi*	at sb?			# SB MPU401 port
442midi*	at opl?			# OPL FM synth
443#midi*	at mpu?			# MPU 401
444
445# Joysticks
446
447# ISA Plug-and-Play joysticks
448joy*	at isapnp?			# Game ports (usually on audio cards)
449
450# ISA joysticks. Probe is a little strange; add only if you have one.
451#joy0	at isa? port 0x201
452
453# Pseudo-Devices
454
455# disk/mass storage pseudo-devices
456pseudo-device	ccd		2	# concatenated/striped disk devices
457pseudo-device	md		1	# memory disk device (ramdisk)
458pseudo-device	vnd		4	# disk-like interface to files
459
460# network pseudo-devices
461pseudo-device	bpfilter	4	# Berkeley packet filter
462pseudo-device	ipfilter		# IP filter (firewall) and NAT
463pseudo-device	loop			# network loopback
464pseudo-device	ppp		2	# Point-to-Point Protocol
465pseudo-device	sl		2	# Serial Line IP
466pseudo-device	strip		2	# Starmode Radio IP (Metricom)
467pseudo-device	tun		2	# network tunneling over tty
468pseudo-device	gre		2	# generic L3 over IP tunnel
469pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
470pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
471#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
472#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
473pseudo-device	vlan			# IEEE 802.1q encapsulation
474
475# miscellaneous pseudo-devices
476pseudo-device	pty			# pseudo-terminals
477pseudo-device	tb		1	# tablet line discipline
478pseudo-device	sequencer	1	# MIDI sequencer
479pseudo-device	rnd			# /dev/random and in-kernel generator
480#options 	RND_COM			# use "com" randomness as well (BROKEN)
481
482# a pseudo device needed for Coda	# also needs CODA (above)
483pseudo-device	vcoda		4	# coda minicache <-> venus comm.
484
485# mouse & keyboard multiplexor pseudo-devices
486pseudo-device	wsmux		2
487