ADM5120-USB revision 1.9
11.9Swiz#	$NetBSD: ADM5120-USB,v 1.9 2011/06/30 20:09:29 wiz Exp $
21.1Sdyoung#
31.1Sdyoung# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
41.1Sdyoung# DBAu1000 and DBAu1500 evaluation boards.
51.1Sdyoung
61.1Sdyounginclude 	"arch/evbmips/conf/std.adm5120"
71.1Sdyoung
81.9Swiz#ident 		"GENERIC-$Revision: 1.9 $"
91.1Sdyoung
101.1Sdyoungmaxusers	32
111.1Sdyoung
121.1Sdyoungoptions 	MIPS32
131.1Sdyoungoptions 	NOFPU		# No FPU
141.6Smattoptions 	FPEMUL		# emulate FPU insn
151.1Sdyoungoptions		CONSPEED=115200	# YAMON default
161.1Sdyoungoptions 	HZ=512		# for profiling
171.1Sdyoung
181.1Sdyoung#options 	LOCKDEBUG
191.1Sdyoungoptions 	SOSEND_COUNTERS
201.1Sdyoungoptions 	INET_CSUM_COUNTERS
211.1Sdyoungoptions 	TCP_CSUM_COUNTERS
221.1Sdyoungoptions 	UDP_CSUM_COUNTERS
231.1Sdyoungoptions 	TCP_OUTPUT_COUNTERS
241.1Sdyoung
251.1Sdyoung#options 	NTP		# network time protocol
261.1Sdyoung
271.1Sdyoung# Debugging options
281.1Sdyoung##options 	DIAGNOSTIC	# extra kernel sanity checking
291.1Sdyoung##options 	DEBUG		# extra kernel debugging support
301.1Sdyoung#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)  
311.1Sdyoungoptions 	DDB		# kernel dynamic debugger
321.1Sdyoungoptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
331.1Sdyoungmakeoptions 	DEBUG="-g"	# compile full symbol table
341.1Sdyoungmakeoptions 	CPUFLAGS="-march=4kc"	# compile full symbol table
351.1Sdyoungoptions 	SYMTAB_SPACE=180000	# size for embedded symbol table
361.1Sdyoung
371.1Sdyoung#options		MEMORY_DISK_HOOKS
381.1Sdyoung#options         MEMORY_DISK_IS_ROOT     # Force root on ram-disk
391.1Sdyoung#options         MEMORY_DISK_ROOT_SIZE=16384      # 2 Megabytes
401.1Sdyoung
411.1Sdyoung# Compatibility options
421.1Sdyoung#options 	COMPAT_43	# compatibility with 4.3BSD binaries
431.1Sdyoung#options 	COMPAT_10	# NetBSD 0.9 binary compatibility
441.1Sdyoung#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
451.1Sdyoung#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
461.1Sdyoung#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
471.1Sdyoung#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
481.1Sdyoung#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
491.1Sdyoung#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
501.1Sdyoung#options 	EXEC_ECOFF	# exec ECOFF binaries
511.1Sdyoung#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
521.1Sdyoung
531.1Sdyoung# File systems
541.1Sdyoungfile-system	FFS		# Berkeley Fast Filesystem
551.1Sdyoungfile-system	MFS		# memory-based filesystem
561.1Sdyoung#file-system 	EXT2FS		# second extended file system (linux) 
571.1Sdyoungfile-system	NFS		# Sun NFS-compatible filesystem client
581.1Sdyoung#file-system	KERNFS		# kernel data-structure filesystem
591.1Sdyoung#file-system	NULLFS		# NULL layered filesystem
601.1Sdyoung#file-system 	OVERLAY		# overlay file system
611.1Sdyoung#file-system	FDESC		# user file descriptor filesystem
621.1Sdyoung#file-system	UMAPFS		# uid/gid remapping filesystem
631.1Sdyoung#file-system	LFS		# Log-based filesystem (still experimental)
641.1Sdyoung#file-system	PROCFS		# /proc
651.1Sdyoung#file-system	CD9660		# ISO 9660 + Rock Ridge file system
661.1Sdyoung#file-system	UNION		# union file system
671.1Sdyoung#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
681.1Sdyoung#file-system 	CODA		# Coda File System; also needs vcoda (below)
691.1Sdyoung
701.1Sdyoung# File system options
711.1Sdyoung#options 	NFSSERVER	# Sun NFS-compatible filesystem server
721.7Sbouyer#options 	QUOTA		# legacy UFS quotas
731.7Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
741.9Swiz#options 	FFS_EI		# FFS Endian Independent support
751.1Sdyoung#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
761.1Sdyoung				# immutable) behave as system flags.
771.1Sdyoung
781.1Sdyoung# Networking options
791.1Sdyoung#options 	GATEWAY		# IP packet forwarding
801.1Sdyoungoptions 	INET		# Internet protocols
811.1Sdyoung#options 	INET6		# IPV6
821.1Sdyoung#options 	IPSEC		# IP security
831.1Sdyoung#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
841.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
851.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
861.1Sdyoung#options 	NS		# Xerox NS networking
871.1Sdyoung#options 	NSIP		# Xerox NS tunneling over IP
881.1Sdyoung#options 	ISO,TPIP	# OSI networking
891.1Sdyoung#options 	EON		# OSI tunneling over IP
901.1Sdyoung#options 	CCITT,LLC,HDLC	# X.25
911.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
921.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
931.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
941.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
951.1Sdyoung#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
961.1Sdyoung#options 	IPFILTER_LOG	# ipmon(8) log support
971.1Sdyoung
981.1Sdyoung# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
991.1Sdyoung#options 	TCP_COMPAT_42
1001.1Sdyoung
1011.1Sdyoung# These options enable verbose messages for several subsystems.
1021.1Sdyoung# Warning, these may compile large string tables into the kernel!
1031.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1041.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1051.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1061.1Sdyoung#options         SCSIVERBOSE     # human readable SCSI error messages
1071.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
1081.1Sdyoung
1091.1Sdyoungoptions 	NFS_BOOT_DHCP
1101.1Sdyoung
1111.1Sdyoung# Pretty much only one device to use for the root file system.
1121.1Sdyoung#config		netbsd		root on ? type ?
1131.1Sdyoungconfig		netbsd-admsw0	root on admsw0 type nfs
1141.1Sdyoung
1151.1Sdyoungmainbus0 	at root
1161.1Sdyoung
1171.1Sdyoungcpu0 		at mainbus?
1181.1Sdyoung
1191.1Sdyoung# Network pseudo-devices
1201.1Sdyoung#pseudo-device	bpfilter	8		# Berkeley packet filter
1211.1Sdyoungpseudo-device	loop				# network loopback
1221.1Sdyoung#pseudo-device	ppp		2		# Point-to-Point Protocol
1231.1Sdyoung#pseudo-device	sl		2		# Serial Line IP
1241.1Sdyoung#pseudo-device	strip		2		# Starmode Radio IP (Metricom)
1251.1Sdyoung#pseudo-device	tun		2		# network tunneling over tty
1261.1Sdyoung#pseudo-device	gre		2		# generic L3 over IP tunnel
1271.1Sdyoung#pseudo-device	ipip		2		# RFC 2003 IP Encapsulation
1281.1Sdyoung#pseudo-device	gif		4		# RFC1933  tunnel
1291.1Sdyoung#pseudo-device	faith		1		# IPv[46] tcp relay translation 
1301.1Sdyoung# Miscellaneous pseudo-devices
1311.1Sdyoungpseudo-device	pty				# pseudo-terminals
1321.1Sdyoung#pseudo-device	tb		1		# tablet line discipline
1331.1Sdyoung#pseudo-device	sequencer	1		# MIDI sequencer
1341.1Sdyoung# rnd works; RND_COM does not on port i386 yet.
1351.1Sdyoungpseudo-device	rnd				# /dev/random & kernel generator
1361.1Sdyoung#options 	RND_COM				# use "com" randomness (BROKEN)
1371.1Sdyoung
1381.1Sdyoung# A pseudo device needed for Coda		# also needs CODA (above)
1391.1Sdyoung#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
1401.5Shannkenpseudo-device	md				# memory disk device (ramdisk)
1411.1Sdyoungpseudo-device	ksyms
1421.1Sdyoung
1431.1Sdyoungobio*		at mainbus?
1441.2Sdyounggpio*		at mainbus?
1451.2Sdyoungextio*		at mainbus?
1461.2Sdyoung
1471.1Sdyounguart*		at obio? addr ?
1481.1Sdyoungadmsw*		at obio? addr ?
1491.1Sdyoung
1501.1Sdyoung#USB
1511.1Sdyoungoptions		USB_DEBUG
1521.1Sdyoungoptions		UHUB_DEBUG
1531.1Sdyoungahci*		at obio? addr ?
1541.1Sdyoungusb*            at ahci?
1551.1Sdyounguhub*           at usb?
1561.1Sdyounguhub*           at uhub? port ? configuration ? interface ?
1571.1Sdyoungugen*           at uhub? port ?
1581.1Sdyoungumass*          at uhub? port ?
1591.1Sdyoungwd*		at umass?
1601.1Sdyoung
1611.1Sdyoungoptions       MSGBUFSIZE=65536
1621.1Sdyoung
1631.1Sdyoungscsibus* at scsi?
1641.1Sdyoungsd*     at scsibus? target ? lun ?      # SCSI disk drives
1651.1Sdyoung
166