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