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)
commitf5ae62799a31fb2ce8b272bf184688e2a4770d19
treef54d96c0be20cad3ea8de40f6a7b5164c7c32c8d
parentc617f398edd4db2b8567a28e899a88f8f574798d
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