]> git.karo-electronics.de Git - karo-tx-linux.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)
commit989038e217e94161862a959e82f9a1ecf8dda152
treea672cd09f7b77826a8166e77638b5e29230a1152
parent535a69e94fbf77397e0ec354a58e8e51d41e944e
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