bgmac: reset cached MAC state during chip reset
authorRafał Miłecki <zajec5@gmail.com>
Wed, 11 Dec 2013 06:44:14 +0000 (07:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 18:40:48 +0000 (13:40 -0500)
commitd469962f858b71ec43112c256e3df4a60b00beeb
treeed01efa8052f6590e4664cc97fcd85b3e6ed8527
parent4f8f61eb4341be07b4a8d046f646fcf934a89949
bgmac: reset cached MAC state during chip reset

Without this bgmac_adjust_link didn't know it should re-initialize MAC
state. This led to the MAC not working after if down & up routine.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c