]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: Restore promisc mode on gfar_init_mac()
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Wed, 23 Jan 2013 00:18:36 +0000 (00:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2013 18:54:11 +0000 (13:54 -0500)
commit5abfd6e5ef8fbc74300c3f540d515fca83706b30
treef54d96c0be20cad3ea8de40f6a7b5164c7c32c8d
parente027303b3282651c77f0e37217397b81e19176ab
gianfar: Restore promisc mode on gfar_init_mac()

Reactivate promiscuous mode in H/W upon gfar_init_mac(), if the
net dev requires it (IFF_PROMISC flag set).
This way the promisc mode is preserved accross device reset conditions
like tx timeout, device restore, a.s.o.

Signed-off-by: Voncken C Acksys <cedric.voncken@acksys.fr>
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c