ADM5120-USB revision 1.28
1#	$NetBSD: ADM5120-USB,v 1.28 2019/04/26 21:40:29 sevan 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.28 $"
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
30options 	DDB		# kernel dynamic debugger
31options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
32makeoptions 	DEBUG="-g"	# compile full symbol table
33makeoptions 	CPUFLAGS="-march=4kc"	# compile full symbol table
34makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
35
36#options		MEMORY_DISK_HOOKS
37#options         MEMORY_DISK_IS_ROOT     # Force root on ram-disk
38#options         MEMORY_DISK_ROOT_SIZE=16384      # 2 Megabytes
39
40# Compatibility options
41#include 	"conf/compat_netbsd10.config"
42#options 	EXEC_ECOFF	# exec ECOFF binaries
43#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
44
45# File systems
46file-system	FFS		# Berkeley Fast Filesystem
47file-system	MFS		# memory-based filesystem
48#file-system 	EXT2FS		# second extended file system (linux) 
49file-system	NFS		# Sun NFS-compatible filesystem client
50#file-system	KERNFS		# kernel data-structure filesystem
51#file-system	NULLFS		# NULL layered filesystem
52#file-system 	OVERLAY		# overlay file system
53#file-system	FDESC		# user file descriptor filesystem
54#file-system	UMAPFS		# uid/gid remapping filesystem
55#file-system	LFS		# Log-based filesystem (still experimental)
56#file-system	PROCFS		# /proc
57#file-system	CD9660		# ISO 9660 + Rock Ridge file system
58#file-system	UNION		# union file system
59#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
60#file-system 	CODA		# Coda File System; also needs vcoda (below)
61
62# File system options
63#options 	NFSSERVER	# Sun NFS-compatible filesystem server
64#options 	QUOTA		# legacy UFS quotas
65#options 	QUOTA2		# new, in-filesystem UFS quotas
66#options 	DISKLABEL_EI	# disklabel Endian Independent support
67#options 	FFS_EI		# FFS Endian Independent support
68#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
69				# immutable) behave as system flags.
70
71# Alternate buffer queue strategies for better responsiveness under high
72# disk I/O load.
73#options 	BUFQ_READPRIO
74options 	BUFQ_PRIOCSCAN
75
76# Networking options
77#options 	GATEWAY		# IP packet forwarding
78options 	INET		# Internet protocols
79#options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_DEBUG	# debug for IP security
82#options 	MROUTING	# packet forwarding of multicast packets
83#options 	NETATALK	# AppleTalk (over Ethernet) protocol
84#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
85#options 	PPP_DEFLATE	# Deflate compression support for PPP
86#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
87
88# JIT compiler for bpfilter
89#options	SLJIT
90#options	BPFJIT
91
92# These options enable verbose messages for several subsystems.
93# Warning, these may compile large string tables into the kernel!
94#options 	MIIVERBOSE	# verbose PHY autoconfig messages
95#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
96#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
97#options         SCSIVERBOSE     # human readable SCSI error messages
98#options 	USBVERBOSE	# verbose USB device autoconfig messages
99
100options 	NFS_BOOT_DHCP
101
102# Pretty much only one device to use for the root file system.
103#config		netbsd		root on ? type ?
104config		netbsd-admsw0	root on admsw0 type nfs
105
106mainbus0 	at root
107
108cpu0 		at mainbus?
109
110# Network pseudo-devices
111#pseudo-device	bpfilter			# Berkeley packet filter
112pseudo-device 	carp				# Common Address Redundancy Protocol
113pseudo-device	loop				# network loopback
114#pseudo-device	ppp				# Point-to-Point Protocol
115#pseudo-device	sl				# Serial Line IP
116#pseudo-device	strip				# Starmode Radio IP (Metricom)
117#pseudo-device	tun				# network tunneling over tty
118#pseudo-device	gre				# generic L3 over IP tunnel
119#pseudo-device	ipip				# RFC 2003 IP Encapsulation
120#pseudo-device	gif				# RFC1933  tunnel
121#pseudo-device	faith				# IPv[46] tcp relay translation 
122# Miscellaneous pseudo-devices
123pseudo-device	pty				# pseudo-terminals
124#pseudo-device	tb		1		# tablet line discipline
125#pseudo-device	sequencer			# MIDI sequencer
126#options 	RND_COM				# use "com" randomness (BROKEN)
127
128# A pseudo device needed for Coda		# also needs CODA (above)
129#pseudo-device	vcoda				# coda minicache <-> venus comm.
130pseudo-device	md				# memory disk device (ramdisk)
131pseudo-device	ksyms
132
133obio*		at mainbus?
134gpio*		at mainbus?
135extio*		at mainbus?
136
137uart*		at obio? addr ?
138admsw*		at obio? addr ?
139
140#USB
141options		USB_DEBUG
142options		UHUB_DEBUG
143ahci*		at obio? addr ?
144usb*            at ahci?
145uhub*           at usb?
146uhub*           at uhub? port ? configuration ? interface ?
147ugen*           at uhub? port ?
148umass*          at uhub? port ?
149
150options       MSGBUFSIZE=65536
151
152scsibus* at scsi?
153sd*     at scsibus? target ? lun ?      # SCSI disk drives
154
155include "dev/veriexec.config"
156