GENERIC revision 1.1
1#	$NetBSD: GENERIC,v 1.1 2001/05/22 20:59:26 chris Exp $
2#
3#	CATS -- CHALTECH CATS Development kernel
4#
5
6include	"arch/arm32/conf/std.arm32"
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
105options 	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?
193isp*	at pci? dev ? function ?	# Qlogic ISP 10x0 SCSI controllers
194scsibus* at isp?
195pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
196scsibus* at pcscp?
197siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
198scsibus* at siop?
199
200# SCSI devices
201sd*	at scsibus? target ? lun ?	# SCSI disk drives
202st*	at scsibus? target ? lun ?	# SCSI tape drives
203cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
204#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
205#uk*	at scsibus? target ? lun ?	# SCSI unknown device
206#ss*	at scsibus? target ? lun ?	# SCSI scanner
207
208# PCI IDE Controllers and Devices
209# PCI IDE controllers - see pciide(4) for supported hardware.
210# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
211# how to set up DMA modes for this chip. This may work, or may cause
212# a machine hang with some controllers.
213pciide* at pci? dev ? function ? flags 0x0000
214
215# IDE drives
216# Flags are used only with controllers that support DMA operations
217# and mode settings (e.g. some pciide controllers)
218# The lowest order four bits (rightmost digit) of the flags define the PIO
219# mode to use, the next set of four bits the DMA mode and the third set the
220# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
221# to use, and the last bit must be 1 for this setting to be used.
222# For DMA and UDMA, 0xf (1111) means 'disable'.
223# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
224# (0xc=1100, 0xa=1010, 0xf=1111)
225# 0x0000 means "use whatever the drive claims to support".
226wd*	at pciide? channel ? drive ? flags 0x0000	# the drives themselves
227
228# ATAPI bus support
229atapibus* at pciide? channel ?
230
231# ATAPI devices
232cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
233sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
234uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
235
236# PCI network interfaces
237de*	at pci? dev ? function ?	# DC21X4X-based ethernet cards
238#en*	at pci? dev ? function ?	# ENI/Adaptec ATM
239#ep*	at pci? dev ? function ?	# 3C590 ethernet cards
240ex*	at pci? dev ? function ?	# 3Com 90x[B]
241#epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
242#esh*	at pci? dev ? function ?	# Essential HIPPI card
243#fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
244#fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
245#le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
246ne*	at pci? dev ? function ?	# NE2000 compat ethernet
247#ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
248#sip*	at pci? dev ? function ?	# SiS 900 Ethernet
249#tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
250#tlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
251#options 	TLP_MATCH_21040
252#options 	TLP_MATCH_21041
253#options 	TLP_MATCH_21140
254#options 	TLP_MATCH_21142
255vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
256#lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
257rtk*	at pci? dev ? function ?	# Realtek 8129/8139
258
259# MII/PHY support
260exphy*	at mii? phy ?			# 3Com internal PHYs
261#icsphy* at mii? phy ?			# Integrated Circuit Systems ICS1890
262#inphy*	at mii? phy ?			# Intel 82555 PHYs
263#iophy*	at mii? phy ?			# Intel 82553 PHYs
264#lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
265nsphy*	at mii? phy ?			# NS83840 PHYs
266#nsphyter* at mii? phy ?		# NS83843 PHYs
267#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
268#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
269#tlphy*	at mii? phy ?			# ThunderLAN PHYs
270#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
271ukphy*	at mii? phy ?			# generic unknown PHYs
272
273# USB Controller and Devices
274
275# PCI USB controllers
276ohci*	at pci?				# Open Host Controller
277
278# USB bus support
279usb*	at ohci?
280
281# USB Hubs
282uhub*	at usb?
283uhub*	at uhub? port ? configuration ? interface ?
284
285# USB Mice
286ums*	at uhub? port ? configuration ? interface ?
287wsmouse*	at ums?
288
289# USB Keyboards
290ukbd*	at uhub? port ? configuration ? interface ?
291wskbd*	at ukbd? console ?
292
293# USB Generic HID devices
294uhid*	at uhub? port ? configuration ? interface ?
295
296# USB Printer
297ulpt*	at uhub? port ? configuration ? interface ?
298
299# USB Modem
300umodem*	at uhub? port ? configuration ?
301ucom*	at umodem?
302
303# USB Mass Storage
304umass*	at uhub? port ? configuration ? interface ?
305atapibus* at umass? channel ?
306scsibus* at umass? channel ?
307
308# USB audio
309uaudio*	at uhub? port ? configuration ?
310audio*	at uaudio?
311
312# USB MIDI
313umidi* at uhub? port ? configuration ?
314midi*   at umidi?
315
316# USB Ethernet adapters
317aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
318cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
319kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
320
321# Prolofic PL2301/PL2302 host-to-host adapter
322upl*	at uhub? port ?
323
324# Serial adapters
325# FTDI FT8U100AX serial adapter
326uftdi*	at uhub? port ?
327ucom*	at uftdi? portno ?
328
329uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
330ucom*	at uplcom? portno ? 
331
332umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
333ucom*	at umct? portno ?
334
335# Diamond Multimedia Rio 500
336urio*	at uhub? port ?
337
338# USB Handspring Visor
339uvisor*	at uhub? port ?
340ucom*	at uvisor?
341
342# USB scanners
343uscanner* at uhub? port ?
344
345# USB scanners that use SCSI emulation, e.g., HP5300
346usscanner* at uhub? port ?
347scsibus* at usscanner? channel ?
348
349# Y@P firmware loader
350uyap* at uhub? port ?
351
352# USB Generic driver
353ugen* at uhub? port ?
354
355# Audio Devices
356
357# PCI audio devices
358#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
359#sv*	at pci? dev ? function ?	# S3 SonicVibes
360
361# Audio support
362#audio*	at eap?
363#audio*	at sv?
364
365vga*		at pci?
366wsdisplay*	at vga? console ?
367
368# ISA bus bridging
369
370pcib*	at pci? dev ? function ?	# PCI-ISA bridge
371isa*	at pcib?			# ISA bus
372
373# ISA Plug-and-Play bus support
374isapnp0	at isa?
375
376# wscons
377pckbc0	at isa?			# pc keyboard controller
378pckbd*	at pckbc?		# PC keyboard
379pms*		at pckbc?		# PS/2 mouse for wsmouse
380pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
381wskbd*		at pckbd? console ?
382wsmouse*	at pms?
383wsmouse*	at pmsi?
384
385pcppi0	at isa?
386sysbeep0	at pcppi?
387
388# ISA Plug-and-Play serial interfaces
389com*	at isapnp?			# Modems and serial boards
390
391# ISA Plug-and-Play network interfaces
392ep*	at isapnp?			# 3Com 3c509 Ethernet
393
394# ISA serial interfaces
395com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
396com1	at isa? port 0x2f8 irq 3
397#com2	at isa? port 0x3e8 irq 9
398#com3	at isa? port 0x2e8 irq 10
399
400# ISA parallel printer interfaces
401lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
402lpt1	at isa? port 0x278 irq 5
403#lpt2	at isa? port 0x3bc
404
405# ISA floppy
406#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
407#fdc1	at isa? port 0x370 irq ? drq ?
408#fd*	at fdc? drive ?			# the drives themselves
409
410# ISA network interface
411#ne0	at isa? port 0x280 irq 9
412#ne1	at isa? port 0x300 irq 10
413#ep*	at isa? port ? irq ?
414
415# The spkr driver provides a simple tone interface to the built in speaker.
416spkr0	at pcppi?			# PC speaker
417
418dsrtc0	at isa? port 0x72		# Dallas RTC
419
420# ISA Plug-and-Play audio devices
421ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
422sb*	at isapnp?			# SoundBlaster-compatible audio
423wss*	at isapnp?			# Windows Sound System
424
425# OPL[23] FM syntheziers
426opl*	at ess?
427opl*	at sb?
428
429# Audio support
430audio*	at ess?
431audio*	at sb?
432audio*	at wss?
433
434# MPU 401 UARTs
435#mpu*	at sb?
436
437# MIDI support
438midi*	at pcppi?		# MIDI interface to the PC speaker
439midi*	at sb?			# SB MPU401 port
440midi*	at opl?			# OPL FM synth
441#midi*	at mpu?			# MPU 401
442
443# Joysticks
444
445# ISA Plug-and-Play joysticks
446joy*	at isapnp?			# Game ports (usually on audio cards)
447
448# ISA joysticks. Probe is a little strange; add only if you have one.
449#joy0	at isa? port 0x201
450
451# Pseudo-Devices
452
453# disk/mass storage pseudo-devices
454pseudo-device	ccd		2	# concatenated/striped disk devices
455pseudo-device	md		1	# memory disk device (ramdisk)
456pseudo-device	vnd		4	# disk-like interface to files
457
458# network pseudo-devices
459pseudo-device	bpfilter	4	# Berkeley packet filter
460pseudo-device	ipfilter		# IP filter (firewall) and NAT
461pseudo-device	loop			# network loopback
462pseudo-device	ppp		2	# Point-to-Point Protocol
463pseudo-device	sl		2	# Serial Line IP
464pseudo-device	strip		2	# Starmode Radio IP (Metricom)
465pseudo-device	tun		2	# network tunneling over tty
466pseudo-device	gre		2	# generic L3 over IP tunnel
467pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
468pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
469#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
470#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
471pseudo-device	vlan			# IEEE 802.1q encapsulation
472
473# miscellaneous pseudo-devices
474pseudo-device	pty			# pseudo-terminals
475pseudo-device	tb		1	# tablet line discipline
476pseudo-device	sequencer	1	# MIDI sequencer
477pseudo-device	rnd			# /dev/random and in-kernel generator
478#options 	RND_COM			# use "com" randomness as well (BROKEN)
479
480# a pseudo device needed for Coda	# also needs CODA (above)
481pseudo-device	vcoda		4	# coda minicache <-> venus comm.
482
483# mouse & keyboard multiplexor pseudo-devices
484pseudo-device	wsmux		2
485