[TG3]: Call netif_carrier_off() during phy reset
commitc8e1e82b6a97ad44517517aa58b7b794ead0bf33
authorMichael Chan <mchan@broadcom.com>
Sun, 30 Apr 2006 01:55:17 +0000 (29 18:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Apr 2006 01:55:17 +0000 (29 18:55 -0700)
tree3044a83b7de83a70a0fa506e2c09d85e7311b3ae
parentc302e6d54e468ee9b1e18152e2e9da06953f3473
[TG3]: Call netif_carrier_off() during phy reset

Add netif_carrier_off() call during tg3_phy_reset(). This is needed
to properly track the netif_carrier state in cases where we do a
PHY reset with interrupts disabled. The SerDes code will not run
properly if the netif_carrier state is wrong.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c