Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753258AbcKNNWR (ORCPT ); Mon, 14 Nov 2016 08:22:17 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33683 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750998AbcKNNUr (ORCPT ); Mon, 14 Nov 2016 08:20:47 -0500 From: Alexander Kochetkov To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, tremyfr@gmail.com, peter.chen@nxp.com, wxt@rock-chips.com, weiyj.lk@gmail.com Cc: Alexander Kochetkov Subject: [PATCH 1/2] net: arc_emac: annonce IFF_MULTICAST support Date: Mon, 14 Nov 2016 16:20:26 +0300 Message-Id: <1479129627-27524-1-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 935 Lines: 25 Multicast support was implemented by commit 775dd682e2b0ec7 ('arc_emac: implement promiscuous mode and multicast filtering'). It can be enabled explicity using 'ifconfig eth0 multicast'. The patch is needed in order to remove explicit configuration as most devices has multicast mode enabled by default. --- drivers/net/ethernet/arc/emac_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c index b0da969..2e4ee86 100644 --- a/drivers/net/ethernet/arc/emac_main.c +++ b/drivers/net/ethernet/arc/emac_main.c @@ -764,8 +764,6 @@ int arc_emac_probe(struct net_device *ndev, int interface) ndev->netdev_ops = &arc_emac_netdev_ops; ndev->ethtool_ops = &arc_emac_ethtool_ops; ndev->watchdog_timeo = TX_TIMEOUT; - /* FIXME :: no multicast support yet */ - ndev->flags &= ~IFF_MULTICAST; priv = netdev_priv(ndev); priv->dev = dev; -- 1.7.9.5