Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Add kernel configuration file for PogoPlug Pink, PogoPlu...



details:   https://anonhg.NetBSD.org/src/rev/d85789dd89cf
branches:  trunk
changeset: 814206:d85789dd89cf
user:      jklos <jklos%NetBSD.org@localhost>
date:      Sat Mar 12 00:41:30 2016 +0000

description:
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.

diffstat:

 sys/arch/evbarm/conf/POGO   |  63 +++++++++++++++++++++++++++++++++++++++++++++
 sys/dev/marvell/mvsdioreg.h |   4 ++-
 2 files changed, 66 insertions(+), 1 deletions(-)

diffs (86 lines):

diff -r 472a5bfcdb7b -r d85789dd89cf sys/arch/evbarm/conf/POGO
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/evbarm/conf/POGO Sat Mar 12 00:41:30 2016 +0000
@@ -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)
diff -r 472a5bfcdb7b -r d85789dd89cf sys/dev/marvell/mvsdioreg.h
--- a/sys/dev/marvell/mvsdioreg.h       Fri Mar 11 22:40:04 2016 +0000
+++ b/sys/dev/marvell/mvsdioreg.h       Sat Mar 12 00:41:30 2016 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index