[OpenWrt-Devel] [PATCH] Chaos Calmer - ramips: Fix IPv6 neighbor discovery on RT5350

Saverio Proto zioproto at gmail.com
Sun May 1 17:36:05 EDT 2016


This patch is also available here:
https://github.com/zioproto/openwrt15051-batman/commit/0281382bcaa139f0d1d3b589797af4c434747f3e

commit 0281382bcaa139f0d1d3b589797af4c434747f3e
Author: Saverio Proto <zioproto at gmail.com>
Date:   Sun May 1 23:14:19 2016 +0200

    ramips: Fix IPv6 neighbor discovery on RT5350

    IPv6 neighbor discovery needs working IPv6 multicast. The register FCT2
    should be set to 0x2500C to let through "unknown IPv6 multicast" to
    all ports. This is based on datasheet information:
    https://cdn.sparkfun.com/datasheets/Wireless/WiFi/RT5350.pdf

    Signed-off-by: Saverio Proto <zioproto at gmail.com>

diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
b/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
index ef13d23..d09eaf3 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
+++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/esw_rt3052.c
@@ -1360,7 +1360,7 @@ static const struct switch_dev_ops esw_ops = {
 static struct rt305x_esw_platform_data rt3050_esw_data = {
        /* All ports are LAN ports. */
        .vlan_config            = RT305X_ESW_VLAN_CONFIG_NONE,
-       .reg_initval_fct2       = 0x00d6500c,
+       .reg_initval_fct2       = 0x0002500c,
        /*
         * ext phy base addr 31, enable port 5 polling, rx/tx clock skew 1,
         * turbo mii off, rgmi 3.3v off
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list