linux/drivers/net/ethernet/ti
Mariusz Ceier d69e0f7ea9 davinci_emac.c: Fix IFF_ALLMULTI setup
When IFF_ALLMULTI flag is set on interface and IFF_PROMISC isn't,
emac_dev_mcast_set should only enable RX of multicasts and reset
MACHASH registers.

It does this, but afterwards it either sets up multicast MACs
filtering or disables RX of multicasts and resets MACHASH registers
again, rendering IFF_ALLMULTI flag useless.

This patch fixes emac_dev_mcast_set, so that multicast MACs filtering and
disabling of RX of multicasts are skipped when IFF_ALLMULTI flag is set.

Tested with kernel 2.6.37.

Signed-off-by: Mariusz Ceier <mceier+kernel@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-21 18:56:23 -04:00
..
cpmac.c net: cpmac: use dev_get_platdata() 2013-08-30 17:43:38 -04:00
cpsw_ale.c drivers: net: cpsw: Add helper functions for VLAN ALE implementation 2013-02-06 15:46:40 -05:00
cpsw_ale.h drivers: net:ethernet: cpsw: add support for VLAN 2013-02-06 15:46:40 -05:00
cpsw.c drivers: net: cpsw: fix kernel warn during iperf test with interrupt pacing 2013-10-21 17:22:54 -04:00
cpsw.h drivers: net: cpsw: remove platform data header file of cpsw 2013-08-20 23:50:15 -07:00
cpts.c treewide: Fix typos in printk 2013-03-20 16:26:32 +01:00
cpts.h cpts: fix build error by removing useless code. 2012-12-26 14:15:09 -08:00
davinci_cpdma.c net: ethernet: davinci_cpdma: export cpdma_chan_get_stats 2013-08-22 20:48:21 -07:00
davinci_cpdma.h net/davinci_cpdma: remove unused argument in cpdma_chan_submit() 2013-04-25 04:11:50 -04:00
davinci_emac.c davinci_emac.c: Fix IFF_ALLMULTI setup 2013-10-21 18:56:23 -04:00
davinci_mdio.c net: davinci_mdio: use dev_get_platdata() 2013-08-30 17:43:38 -04:00
Kconfig drivers/net/ethernet/ti: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:41 -08:00
Makefile
tlan.c net/trivial: replace numeric with standard PM state macros 2013-06-28 22:11:48 -07:00
tlan.h ThunderLAN: remove is_eisa flag 2013-05-20 00:20:14 -07:00