ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 22 Apr 2012 19:19:49 +0000 (19:19 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 22 Apr 2012 19:19:49 +0000 (19:19 +0000)
SVN-Revision: 31441

target/linux/generic/files/drivers/net/phy/ar8216.c

index 7214fa232f63e77d82de264116fdff38db933688..da83a50a942bb5d8f2ceae0a918a9e35328ac346 100644 (file)
@@ -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);