diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2014-03-12 14:28:19 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-13 23:46:20 +0400 |
commit | 84fe61821e4ebab6322eeae3f3c27f77f0031978 (patch) | |
tree | 394349b487a8e228c89adcef0b4877cfaeeb8650 /tools | |
parent | fb00bc2e6cd2046282ba4b03f4fe682aee70b2f8 (diff) | |
download | linux-84fe61821e4ebab6322eeae3f3c27f77f0031978.tar.xz |
eth: fec: Fix lost promiscuous mode after reconnecting cable
If the Freescale fec is in promiscuous mode and network cable is
reconnected then the promiscuous mode get lost. The problem is caused
by a too soon call of set_multicast_list to re-enable promisc mode.
The FEC_R_CNTRL register changes are overwritten by fec_restart.
This patch fixes this by moving the call behind the init of FEC_R_CNTRL
register in fec_restart.
Successful tested on a i.MX28 board.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions