summaryrefslogtreecommitdiff
path: root/target/linux/generic/files/drivers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-22 19:19:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-22 19:19:49 +0000
commitdcd185c2f8db91cf78efa2e315250a45ab3ffba1 (patch)
tree872367d059c414794d1f89468b3ed492b36a09f4 /target/linux/generic/files/drivers
parent858a50b41cf3a95c148dee0ad4ab024e618a224d (diff)
downloadmtk-20170518-dcd185c2f8db91cf78efa2e315250a45ab3ffba1.zip
mtk-20170518-dcd185c2f8db91cf78efa2e315250a45ab3ffba1.tar.gz
mtk-20170518-dcd185c2f8db91cf78efa2e315250a45ab3ffba1.tar.bz2
ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
SVN-Revision: 31441
Diffstat (limited to 'target/linux/generic/files/drivers')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 7214fa2..da83a50 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -738,6 +738,7 @@ ar8327_init_globals(struct ar8216_priv *priv)
/* forward multicast and broadcast frames to CPU */
t = (AR8327_PORTS_ALL << AR8327_FWD_CTRL1_UC_FLOOD_S) |
+ (AR8327_PORTS_ALL << AR8327_FWD_CTRL1_MC_FLOOD_S) |
(AR8327_PORTS_ALL << AR8327_FWD_CTRL1_BC_FLOOD_S);
priv->write(priv, AR8327_REG_FWD_CTRL1, t);