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