提交 dbf812d6 编写于 作者: Y YOSHIFUJI Hideaki / 吉藤英明 提交者: Jeff Garzik

ARM/ETHER3: Handle multicast frames.

Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>

--
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 82a0244d
......@@ -464,7 +464,7 @@ static void ether3_setmulticastlist(struct net_device *dev)
if (dev->flags & IFF_PROMISC) {
/* promiscuous mode */
priv(dev)->regs.config1 |= CFG1_RECVPROMISC;
} else if (dev->flags & IFF_ALLMULTI) {
} else if (dev->flags & IFF_ALLMULTI || dev->mc_count) {
priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI;
} else
priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册