]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Don't turn off led on 5719 serdes port 0
authorNithin Sujir <nsujir@broadcom.com>
Sat, 31 Aug 2013 00:01:36 +0000 (17:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 02:23:40 +0000 (22:23 -0400)
commit77add871ba34f3a6a97e4f6b1ba274dd0ff50566
treea672cd09f7b77826a8166e77638b5e29230a1152
parent3fd8e1d1412df985b05b1be3ad2555db53adef27
tg3: Don't turn off led on 5719 serdes port 0

Turning off led on port 0 of the 5719 serdes causes all other ports to
lose power and stop functioning. Add tg3_phy_led_bug() function to check
for this condition. We use a switch() in tg3_phy_led_bug() for
consistency with the tg3_phy_power_bug() function.

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