From: YOSHIFUJI Hideaki / 吉藤英明 Date: Tue, 17 Jul 2007 04:45:43 +0000 (+0900) Subject: ARM/ETHER3: Handle multicast frames. X-Git-Tag: v2.6.23-rc1~477^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dbf812d6ae6da1bfd01ea6abc5af60b358e4f9ba;p=linux-2.6-omap-h63xx.git ARM/ETHER3: Handle multicast frames. Signed-off-by: YOSHIFUJI Hideaki -- Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/arm/ether3.c b/drivers/net/arm/ether3.c index da713500654..a7cac695a9b 100644 --- a/drivers/net/arm/ether3.c +++ b/drivers/net/arm/ether3.c @@ -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;