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