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