ARM/ETHER3: Handle multicast frames.

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

--
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
YOSHIFUJI Hideaki / 吉藤英明 2007-07-17 13:45:43 +09:00 committed by Jeff Garzik
parent 82a0244df8
commit dbf812d6ae
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ static void ether3_setmulticastlist(struct net_device *dev)
if (dev->flags & IFF_PROMISC) { if (dev->flags & IFF_PROMISC) {
/* promiscuous mode */ /* promiscuous mode */
priv(dev)->regs.config1 |= CFG1_RECVPROMISC; 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; priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI;
} else } else
priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD; priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;