Module Name: src
Committed By: jklos
Date: Sat Mar 12 00:41:31 UTC 2016
Modified Files:
src/sys/dev/marvell: mvsdioreg.h
Added Files:
src/sys/arch/evbarm/conf: POGO
Log Message:
Add kernel configuration file for PogoPlug Pink, PogoPlug Mobile and
PogoPlug v4. Add conditional because PogoPlug v4 can't run SD interface at
50 MHz.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/conf/POGO
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/marvell/mvsdioreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/marvell/mvsdioreg.h
diff -u src/sys/dev/marvell/mvsdioreg.h:1.1 src/sys/dev/marvell/mvsdioreg.h:1.2
--- src/sys/dev/marvell/mvsdioreg.h:1.1 Thu Sep 23 12:36:01 2010
+++ src/sys/dev/marvell/mvsdioreg.h Sat Mar 12 00:41:31 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: mvsdioreg.h,v 1.1 2010/09/23 12:36:01 kiyohara Exp $ */
+/* $NetBSD: mvsdioreg.h,v 1.2 2016/03/12 00:41:31 jklos Exp $ */
/*
* Copyright (c) 2010 KIYOHARA Takashi
* All rights reserved.
@@ -29,7 +29,9 @@
#define MVSDIO_SIZE 0x10000
+#ifndef MVSDIO_MAX_CLOCK
#define MVSDIO_MAX_CLOCK (50 * 1000) /* 50,000 kHz */
+#endif /* MVSDIO_MAX_CLOCK */
#define MVSDIO_DMABA16LSB 0x0000 /* DMA Buffer Address 16 LSB */
#define MVSDIO_DMABA16MSB 0x0004 /* DMA Buffer Address 16 MSB */
Added files:
Index: src/sys/arch/evbarm/conf/POGO
diff -u /dev/null src/sys/arch/evbarm/conf/POGO:1.1
--- /dev/null Sat Mar 12 00:41:31 2016
+++ src/sys/arch/evbarm/conf/POGO Sat Mar 12 00:41:30 2016
@@ -0,0 +1,63 @@
+# Configuration file for PogoPlug version 4, Pink and Mobile
+
+include "arch/evbarm/conf/SHEEVAPLUG"
+
+no options COMPAT_OSSAUDIO
+no options COMPAT_LINUX
+no options DIAGNOSTIC
+no options DEBUG
+no uaudio*
+no umidi*
+no uberry*
+no urio*
+no uvisor*
+no ukyopon*
+no uscanner*
+no usscanner*
+no utoppy*
+no uyap*
+no udsbr*
+no radio*
+no sbt*
+no ubt*
+no uep*
+no aubtfwl*
+no bthub*
+no bthidev*
+no btms*
+no wsmouse*
+no ukbd*
+no ums*
+no btkbd*
+no wskbd*
+no btmagic*
+no btsco*
+no audio*
+no config netbsd
+
+# Use ld0a for SD slot in Mobile and v4 or sd0a for USB disk
+config netbsd root on ld0a type ffs
+
+# Uncomment these for PogoPlug v4. Note that MVSDIO_MAX_CLOCK is mandatory
+options MVSDIO_MAX_CLOCK="(19 * 1000)"
+xhci* at pci? dev ? function ? # eXtensible Host Controller
+usb* at xhci?
+
+# If you plan to use your PogoPlug to do NAT / firewalling, uncomment this
+# and either the ipfilter or the npf section.
+
+options GATEWAY # packet forwarding
+
+# Uncomment for ipfilter
+#options IPFILTER_LOG # ipmon(8) log support
+#options IPFILTER_LOOKUP # ippool(8) support
+#options IPFILTER_COMPAT # Compat for IP-Filter
+
+# Uncomment for npf
+no pseudo-device ipfilter # IP filter (firewall) and NAT
+pseudo-device npf # NPF packet filter
+options BPFJIT
+
+pseudo-device tun # network tunneling over tty
+pseudo-device gre # generic L3 over IP tunnel
+pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933)