aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
parent858a50b41cf3a95c148dee0ad4ab024e618a224d (diff)
downloadupstream-dcd185c2f8db91cf78efa2e315250a45ab3ffba1.tar.gz
upstream-dcd185c2f8db91cf78efa2e315250a45ab3ffba1.tar.bz2
upstream-dcd185c2f8db91cf78efa2e315250a45ab3ffba1.zip
ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
SVN-Revision: 31441
Diffstat (limited to 'target/linux')
-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 7214fa232f..da83a50a94 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);