TS7200 revision 1.20
1#	$NetBSD: TS7200,v 1.20 2005/08/19 02:03:51 christos Exp $
2#
3#	GENERIC -- Generic kernel
4#
5
6include	"arch/evbarm/conf/std.tsarm"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9options		MSGBUFSIZE=65536
10#options 	KSTACK_CHECK_MAGIC
11
12# estimated number of users
13maxusers	32
14
15# Standard system options
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
22options 	CPU_ARM9	# Support the ARM9TDMI core
23
24# File systems
25
26file-system	FFS		# UFS
27#file-system	LFS		# log-structured file system
28file-system	MFS		# memory file system
29file-system	NFS		# Network file system
30#file-system 	ADOSFS		# AmigaDOS-compatible file system
31file-system 	EXT2FS		# second extended file system (linux)
32#file-system	CD9660		# ISO 9660 + Rock Ridge file system
33file-system	MSDOSFS		# MS-DOS file system
34#file-system	FDESC		# /dev/fd
35#file-system    FILECORE        # Acorn filecore file system
36file-system	KERNFS		# /kern
37file-system	NULLFS		# loopback file system
38#file-system	PORTAL		# portal filesystem (still experimental)
39file-system	PROCFS		# /proc
40#file-system	UMAPFS		# NULLFS + uid and gid remapping
41file-system	UNION		# union file system
42
43# File system options
44#options 	QUOTA		# UFS quotas
45#options 	FFS_EI		# FFS Endian Independant support
46options 	NFSSERVER
47options 	SOFTDEP
48#options 	FFS_NO_SNAPSHOT	# ffs snapshots
49
50# Networking options
51
52#options 	GATEWAY		# packet forwarding
53options 	INET		# IP + ICMP + TCP + UDP
54options 	INET6		# IPV6
55#options 	IPSEC		# IP security
56#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
57#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
58#options 	IPSEC_DEBUG	# debug for IP security
59#options 	MROUTING	# IP multicast routing
60#options 	NS		# XNS
61#options 	NSIP		# XNS tunneling over IP
62#options 	ISO,TPIP	# OSI
63#options 	EON		# OSI tunneling over IP
64#options 	CCITT,LLC,HDLC	# X.25
65#options 	NETATALK	# AppleTalk networking
66#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
67#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
68#options 	PPP_DEFLATE	# Deflate compression support for PPP
69#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
70#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
71
72options 	NFS_BOOT_BOOTP
73options 	NFS_BOOT_DHCP
74#options 	NFS_BOOT_BOOTPARAM
75
76# Compatibility options
77
78#options 	COMPAT_LINUX
79options 	COMPAT_16	# NetBSD 1.6
80options 	COMPAT_30	# NetBSD 3.0 compatibility.
81options 	COMPAT_20	# NetBSD 2.0
82#options 	COMPAT_43	# 4.3BSD compatibility.
83#options 	COMPAT_16	# NetBSD 1.6 compatibility.
84#options 	COMPAT_15	# NetBSD 1.5 compatibility.
85#options 	COMPAT_14	# NetBSD 1.4 compatibility.
86#options 	COMPAT_13	# NetBSD 1.3 compatibility.
87#options 	COMPAT_12	# NetBSD 1.2 compatibility.
88#options 	COMPAT_11	# NetBSD 1.1 compatibility.
89#options 	COMPAT_10	# NetBSD 1.0 compatibility.
90#options 	COMPAT_09	# NetBSD 0.9 compatibility.
91#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
92
93# Shared memory options
94
95options 	SYSVMSG		# System V-like message queues
96options 	SYSVSEM		# System V-like semaphores
97options 	SEMMNI=10	# number of semaphore identifiers
98options 	SEMMNS=60	# number of semaphores in system
99options 	SEMUME=10	# max number of undo entries per process
100options 	SEMMNU=30	# number of undo structures in system
101options 	SYSVSHM		# System V-like memory sharing
102options 	SHMMAXPGS=1024	# 1024 pages is the default
103
104# Device options
105
106#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
107#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
108#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
109
110# Console options.  The default console is speed is 115200 baud.
111#options 	CONSPEED=9600		# Console speed
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
118#options 	SCSIVERBOSE	# Verbose SCSI errors
119#options 	PCIVERBOSE	# Verbose PCI descriptions
120#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
121#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
122#options 	DDB_KEYCODE=0x40
123#options 	USERCONF	# userconf(4) support
124#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
125
126# Development and Debugging options
127
128#options 	PERFCTRS	# performance counters
129options 	DIAGNOSTIC	# internally consistency checks
130#options 	DEBUG
131#options 	PMAP_DEBUG	# Enable pmap_debug_level code
132#options 	IPKDB		# remote kernel debugging
133#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
134options 	DDB		# in-kernel debugger
135options		DDB_ONPANIC=1
136options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
137#makeoptions	DEBUG="-g"	# compile full symbol table
138options 	SYMTAB_SPACE=450000
139
140##options 	PMAP_INCLUDE_PTE_SYNC
141##options 	LOCKDEBUG
142
143config		netbsd		root on ? type ?
144config		netbsd-epe0	root on epe0 type nfs
145config		netbsd-wd0	root on wd0 type ffs
146config		netbsd-sd0	root on sd0 type ffs
147
148# The main bus device
149mainbus0	at root
150
151# The boot cpu
152cpu0		at mainbus?
153
154# Cirrus Logic EP93xx System-on-chip
155epsoc0		at mainbus?
156# On-chip timers
157epclk0		at epsoc? addr 0x80810000 size 0x90 intr 35
158# On-chip serial UARTS
159epcom0		at epsoc? addr 0x808c0000 size 0x1000 intr 52
160epcom1		at epsoc? addr 0x808d0000 size 0x1000 intr 54
161# On-chip USB 1.1
162ohci*		at epsoc? addr 0x80020000 size 0x1000 intr 56
163# On-chip 10/100 Ethernet
164epe0		at epsoc? addr 0x80010000 size 0x10000 intr 39
165# On-board TS-7200 CPLD
166tspld0		at mainbus?
167# PC/104 bus
168isa0		at tspld?
169# CompactFlash interface
170wdc0		at tspld?
171# TS-5620 battery-backed real-time clock
172tsrtc*		at tspld?
173
174# HD44780 LCD on LCD header
175#tslcd*		at tspld?
176#wsdisplay*	at tslcd? console ?
177
178# 4x4 Matrix Keypad on DIO header
179#tskp*		at tspld?
180#wskbd*	at tskp? console ? mux 1
181
182# TS-SER[1,2,4] multiport serial PC/104 cards
183com0		at isa? port 0x3f8 irq 6        # Standard PC serial ports
184com1		at isa? port 0x2f8 irq 6
185com2		at isa? port 0x3e8 irq 6
186com3		at isa? port 0x2e8 irq 6
187
188wdc1	at isa? port 0x1f0 irq 7 flags 0x00
189wdc2	at isa? port 0x170 irq 7 flags 0x00
190
191tscs0	at isa? port 0x300 iomem ? irq ? drq ?  # TS-ETH10 PC/104 ethernet
192tscs1	at isa? port 0x310 iomem ? irq ? drq ?
193tscs2	at isa? port 0x320 iomem ? irq ? drq ?
194tscs3	at isa? port 0x330 iomem ? irq ? drq ?
195
196tsdio0  at isa? port 0x100 # TS-DIO24 general-purpose I/O
197tsdio1  at isa? port 0x108
198tsdio2  at isa? port 0x110
199tsdio3  at isa? port 0x118
200
201# PCMCIA bus support
202pcmcia* at pcic? controller ? socket ?
203
204options PCIC_ISA_INTR_ALLOC_MASK=0xe0
205# ISA PCMCIA controllers
206pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
207pcic1	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
208pcic2	at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
209
210# ATA (IDE) bus support
211atabus* at ata?
212
213# IDE drives
214# Flags are used only with controllers that support DMA operations
215# and mode settings (e.g. some pciide controllers)
216# The lowest order four bits (rightmost digit) of the flags define the PIO
217# mode to use, the next set of four bits the DMA mode and the third set the
218# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
219# to use, and the last bit must be 1 for this setting to be used.
220# For DMA and UDMA, 0xf (1111) means 'disable'.
221# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
222# (0xc=1100, 0xa=1010, 0xf=1111)
223# 0x0000 means "use whatever the drive claims to support".
224wd*	at atabus? drive ? flags 0x00ff
225
226# ATAPI bus support
227#atapibus* at atapi?
228
229# ATAPI devices
230# flags have the same meaning as for IDE drives.
231# XXX No DMA on IDE devices for now
232#cd*	at atapibus? drive ? flags 0x0ff0	# ATAPI CD-ROM drives
233#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
234#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
235#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
236
237# MII/PHY support
238#acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
239#amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
240#bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
241#brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
242#dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
243#exphy*	at mii? phy ?			# 3Com internal PHYs
244#gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
245#glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
246#gphyter* at mii? phy ?			# NS83861 Gig-E PHY
247#icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
248#igphy*	at mii? phy ?			# Intel IGP01E1000
249#inphy*	at mii? phy ?			# Intel 82555 PHYs
250#iophy*	at mii? phy ?			# Intel 82553 PHYs
251#lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
252#makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
253#nsphy*	at mii? phy ?			# NS83840 PHYs
254#nsphyter* at mii? phy ? 		# NS83843 PHYs
255#pnaphy* at mii? phy ?			# generic HomePNA PHYs
256#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
257#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
258#tlphy*	at mii? phy ?			# ThunderLAN PHYs
259#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
260ukphy*	at mii? phy ?			# generic unknown PHYs
261#urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
262
263# USB Controller and Devices
264
265# USB bus support
266#usb*	at ehci?
267usb*	at ohci?
268#usb*	at uhci?
269#usb*	at slhci?
270
271# USB Hubs
272uhub*	at usb?
273uhub*	at uhub? port ? configuration ? interface ?
274
275# USB HID device
276uhidev*	at uhub? port ? configuration ? interface ?
277
278# USB Mice
279# ums*	at uhidev? reportid ?
280# wsmouse* at ums? mux 0
281
282# USB eGalax touch-panel
283# uep*	at uhub? port ?
284# wsmouse* at uep? mux 0
285
286# USB Keyboards
287ukbd*	at uhidev? reportid ?
288wskbd*	at ukbd? console ? mux 1
289
290# USB serial adpater
291ucycom*	at uhidev? reportid ?
292
293# USB Generic HID devices
294uhid*	at uhidev? reportid ?
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 ?
305scsibus* at umass?
306# SCSI devices
307sd*     at scsibus? target ? lun ?      # SCSI disk drives
308#st*     at scsibus? target ? lun ?      # SCSI tape drives
309#cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
310#ch*     at scsibus? target ? lun ?      # SCSI autochangers
311#ses*    at scsibus? target ? lun ?      # SCSI Enclosure Services devices
312#ss*     at scsibus? target ? lun ?      # SCSI scanners
313#uk*     at scsibus? target ? lun ?      # SCSI unknown
314
315# wd*	at umass?
316
317# USB audio
318uaudio*	at uhub? port ? configuration ?
319
320# USB MIDI
321umidi* at uhub? port ? configuration ?
322
323# USB IrDA
324# USB-IrDA bridge spec
325uirda* at uhub? port ? configuration ? interface ?
326irframe* at uirda?
327
328# SigmaTel STIr4200 USB/IrDA Bridge
329ustir* at uhub? port ?
330irframe* at ustir?
331
332# USB Ethernet adapters
333aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
334axe*	at uhub? port ?		# ASIX AX88172 based adapters
335cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
336kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
337udav*	at uhub? port ?		# Davicom DM9601 based adapters
338url*	at uhub? port ?		# Realtek RTL8150L based adapters
339
340# Prolific PL2301/PL2302 host-to-host adapter
341upl*	at uhub? port ?
342
343# Serial adapters
344ubsa*	at uhub? port ?		# Belkin serial adapter
345ucom*	at ubsa? portno ?
346
347uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
348ucom*	at uftdi? portno ?
349
350umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
351ucom*	at umct? portno ?
352
353uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
354ucom*	at uplcom? portno ?
355
356uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
357ucom*	at uvscom? portno ?
358atu*	at uhub? port ?		# Atmel AT76C50XX 802.11b adapter
359
360# Diamond Multimedia Rio 500
361# urio*	at uhub? port ?
362
363# USB Handspring Visor
364# uvisor*	at uhub? port ?
365# ucom*	at uvisor?
366
367# Kyocera AIR-EDGE PHONE
368#ukyopon* at uhub? port ?
369#ucom*	at ukyopon? portno ?
370
371# USB scanners
372# uscanner* at uhub? port ?
373
374# USB scanners that use SCSI emulation, e.g., HP5300
375# usscanner* at uhub? port ?
376
377# Y@P firmware loader
378# uyap* at uhub? port ?
379
380# D-Link DSB-R100 USB radio
381# udsbr*	at uhub? port ?
382# radio*	at udsbr?
383
384# USB Generic driver
385ugen*	at uhub? port ?
386
387# IrDA and Consumer Ir devices
388
389# Toshiba Oboe
390# oboe* 	at pci? dev ? function ?
391# irframe* at oboe?
392
393# CardBus IEEE1394 controllers
394#fwohci* at cardbus? dev ? function ?	# IEEE1394 Open Host Controller
395
396#fw*	at fwbus?			# IP over 1394
397
398# IEEE1394 nodes
399#fwnode* at fwbus? idhi ? idlo ?
400#sbpscsi* at fwnode?
401#scsibus* at sbpscsi?
402
403# Audio Devices
404
405# OPL[23] FM synthesizers
406#opl*	at cmpci? flags 1
407#opl*	at eso?
408#opl*	at fms?
409#opl*	at sv?
410#opl*	at yds?
411
412# Audio support
413audio*	at audiobus?
414
415# MPU 401 UARTs
416#mpu*	at cmpci?
417#mpu*	at eso?
418#mpu*	at fms?
419#mpu*	at yds?
420
421# MIDI support
422#midi*	at midibus?
423
424# Pseudo-Devices
425
426# disk/mass storage pseudo-devices
427#pseudo-device	md		1	# memory disk device (ramdisk)
428pseudo-device	vnd		4	# disk-like interface to files
429#pseudo-device	fss		4	# file system snapshot device
430
431# network pseudo-devices
432pseudo-device	bpfilter	4	# Berkeley packet filter
433pseudo-device	loop			# network loopback
434pseudo-device	kttcp			# network loopback
435
436# miscellaneous pseudo-devices
437pseudo-device	pty			# pseudo-terminals
438pseudo-device	rnd			# /dev/random and in-kernel generator
439#options	RND_COM
440pseudo-device	clockctl		# user control of clock subsystem
441pseudo-device	ksyms			# /dev/ksyms
442
443# data mover pseudo-devices
444#pseudo-device	swdmover		# softare dmover(9) back-end
445#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
446
447#
448# wscons options
449#
450# builtin terminal emulations
451#options 	WSEMUL_SUN		# sun terminal emulation
452options 	WSEMUL_VT100		# VT100 / VT220 emulation
453# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
454#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
455#options 	WS_DEFAULT_FG=WSCOL_WHITE
456#options 	WS_DEFAULT_BG=WSCOL_BLACK
457#options 	WS_DEFAULT_COLATTR="(0)"
458#options 	WS_DEFAULT_MONOATTR="(0)"
459#options 	WS_KERNEL_FG=WSCOL_GREEN
460#options 	WS_KERNEL_BG=WSCOL_BLACK
461#options 	WS_KERNEL_COLATTR=""
462#options 	WS_KERNEL_MONOATTR=""
463# customization of console border color
464#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
465#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
466# compatibility to other console drivers
467#options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
468#options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
469#options 	WSDISPLAY_COMPAT_USL		# VT handling
470#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
471# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
472#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
473# allocate a number of virtual screens at autoconfiguration time
474#options 	WSDISPLAY_DEFAULTSCREENS=4
475# use a large software cursor that doesn't blink
476#options 	PCDISPLAY_SOFTCURSOR
477# modify the screen type of the console; defaults to "80x25"
478#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
479# work around a hardware bug that loaded fonts don't work; found on ATI cards
480#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
481# the following enables some functions to get mouse console support.
482# if you want a really secure system, it may be better not to enable them,
483# see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
484#options 	WSDISPLAY_CHARFUNCS		# mouse console support
485# console scrolling support.
486#options 	WSDISPLAY_SCROLLSUPPORT
487# enable VGA raster mode capable of displaying multilingual text on console
488#options 	VGA_RASTERCONSOLE
489
490# wscons pseudo-devices
491pseudo-device	wsmux			# mouse & keyboard multiplexor
492#pseudo-device	wsfont
493
494