ADM5120-USB revision 1.11
1#	$NetBSD: ADM5120-USB,v 1.11 2013/03/01 18:25:37 joerg Exp $
2#
3# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
4# DBAu1000 and DBAu1500 evaluation boards.
5
6include 	"arch/evbmips/conf/std.adm5120"
7
8#ident 		"GENERIC-$Revision: 1.11 $"
9
10maxusers	32
11
12options 	MIPS32
13options 	NOFPU		# No FPU
14options 	FPEMUL		# emulate FPU insn
15options		CONSPEED=115200	# YAMON default
16options 	HZ=512		# for profiling
17
18#options 	LOCKDEBUG
19options 	SOSEND_COUNTERS
20options 	INET_CSUM_COUNTERS
21options 	TCP_CSUM_COUNTERS
22options 	UDP_CSUM_COUNTERS
23options 	TCP_OUTPUT_COUNTERS
24
25#options 	NTP		# network time protocol
26
27# Debugging options
28##options 	DIAGNOSTIC	# extra kernel sanity checking
29##options 	DEBUG		# extra kernel debugging support
30#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)  
31options 	DDB		# kernel dynamic debugger
32options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
33makeoptions 	DEBUG="-g"	# compile full symbol table
34makeoptions 	CPUFLAGS="-march=4kc"	# compile full symbol table
35options 	SYMTAB_SPACE=180000	# size for embedded symbol table
36
37#options		MEMORY_DISK_HOOKS
38#options         MEMORY_DISK_IS_ROOT     # Force root on ram-disk
39#options         MEMORY_DISK_ROOT_SIZE=16384      # 2 Megabytes
40
41# Compatibility options
42#options 	COMPAT_43	# compatibility with 4.3BSD binaries
43#options 	COMPAT_10	# NetBSD 0.9 binary compatibility
44#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
45#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
46#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
47#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
48#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
49#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
50#options 	EXEC_ECOFF	# exec ECOFF binaries
51#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
52
53# File systems
54file-system	FFS		# Berkeley Fast Filesystem
55file-system	MFS		# memory-based filesystem
56#file-system 	EXT2FS		# second extended file system (linux) 
57file-system	NFS		# Sun NFS-compatible filesystem client
58#file-system	KERNFS		# kernel data-structure filesystem
59#file-system	NULLFS		# NULL layered filesystem
60#file-system 	OVERLAY		# overlay file system
61#file-system	FDESC		# user file descriptor filesystem
62#file-system	UMAPFS		# uid/gid remapping filesystem
63#file-system	LFS		# Log-based filesystem (still experimental)
64#file-system	PROCFS		# /proc
65#file-system	CD9660		# ISO 9660 + Rock Ridge file system
66#file-system	UNION		# union file system
67#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
68#file-system 	CODA		# Coda File System; also needs vcoda (below)
69
70# File system options
71#options 	NFSSERVER	# Sun NFS-compatible filesystem server
72#options 	QUOTA		# legacy UFS quotas
73#options 	QUOTA2		# new, in-filesystem UFS quotas
74#options 	FFS_EI		# FFS Endian Independent support
75#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
76				# immutable) behave as system flags.
77
78# Networking options
79#options 	GATEWAY		# IP packet forwarding
80options 	INET		# Internet protocols
81#options 	INET6		# IPV6
82#options 	IPSEC		# IP security
83#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
84#options 	IPSEC_DEBUG	# debug for IP security
85#options 	MROUTING	# packet forwarding of multicast packets
86#options 	NS		# Xerox NS networking
87#options 	NSIP		# Xerox NS tunneling over IP
88#options 	CCITT,LLC,HDLC	# X.25
89#options 	NETATALK	# AppleTalk (over Ethernet) protocol
90#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
91#options 	PPP_DEFLATE	# Deflate compression support for PPP
92#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
93#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
94#options 	IPFILTER_LOG	# ipmon(8) log support
95
96# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
97#options 	TCP_COMPAT_42
98
99# These options enable verbose messages for several subsystems.
100# Warning, these may compile large string tables into the kernel!
101#options 	MIIVERBOSE	# verbose PHY autoconfig messages
102#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
103#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
104#options         SCSIVERBOSE     # human readable SCSI error messages
105#options 	USBVERBOSE	# verbose USB device autoconfig messages
106
107options 	NFS_BOOT_DHCP
108
109# Pretty much only one device to use for the root file system.
110#config		netbsd		root on ? type ?
111config		netbsd-admsw0	root on admsw0 type nfs
112
113mainbus0 	at root
114
115cpu0 		at mainbus?
116
117# Network pseudo-devices
118#pseudo-device	bpfilter	8		# Berkeley packet filter
119pseudo-device	loop				# network loopback
120#pseudo-device	ppp		2		# Point-to-Point Protocol
121#pseudo-device	sl		2		# Serial Line IP
122#pseudo-device	strip		2		# Starmode Radio IP (Metricom)
123#pseudo-device	tun		2		# network tunneling over tty
124#pseudo-device	gre		2		# generic L3 over IP tunnel
125#pseudo-device	ipip		2		# RFC 2003 IP Encapsulation
126#pseudo-device	gif		4		# RFC1933  tunnel
127#pseudo-device	faith		1		# IPv[46] tcp relay translation 
128# Miscellaneous pseudo-devices
129pseudo-device	pty				# pseudo-terminals
130#pseudo-device	tb		1		# tablet line discipline
131#pseudo-device	sequencer	1		# MIDI sequencer
132# rnd works; RND_COM does not on port i386 yet.
133#options 	RND_COM				# use "com" randomness (BROKEN)
134
135# A pseudo device needed for Coda		# also needs CODA (above)
136#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
137pseudo-device	md				# memory disk device (ramdisk)
138pseudo-device	ksyms
139
140obio*		at mainbus?
141gpio*		at mainbus?
142extio*		at mainbus?
143
144uart*		at obio? addr ?
145admsw*		at obio? addr ?
146
147#USB
148options		USB_DEBUG
149options		UHUB_DEBUG
150ahci*		at obio? addr ?
151usb*            at ahci?
152uhub*           at usb?
153uhub*           at uhub? port ? configuration ? interface ?
154ugen*           at uhub? port ?
155umass*          at uhub? port ?
156wd*		at umass?
157
158options       MSGBUFSIZE=65536
159
160scsibus* at scsi?
161sd*     at scsibus? target ? lun ?      # SCSI disk drives
162
163