]> 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)
commit248404e94d724971f0674a9cf2312ddc2eee8ed2
treea672cd09f7b77826a8166e77638b5e29230a1152
parentc82a21604b4fc780f311b6cee42cc1347b6e2d37
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