Skip to contentSkip to conversation

tg3: Expand led off fix to include 5720

PATCH In review Nithin Nayak Sujir 2 participants 2 messages Sep 12, 2013 – Sep 13, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tg3: Expand led off fix to include 5720

Commit 989038e217e94161862a959e82f9a1ecf8dda152 ("tg3: Don't turn off led on 5719 serdes port 0") added code to skip turning led off on port 0 of the 5719 since it powered down other ports. This workaround needs to be enabled on the 5720 as well.

---
 drivers/net/ethernet/broadcom/tg3.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/broadcom/tg3.c +1 -0
index 5701f3d..9011ea0 100644
@@ -3034,6 +3034,7 @@ static bool tg3_phy_led_bug(struct tg3 *tp)
 {
 	switch (tg3_asic_rev(tp)) {
 	case ASIC_REV_5719:
+	case ASIC_REV_5720:
 		if ((tp->phy_flags & TG3_PHYFLG_MII_SERDES) &&
 		    !tp->pci_fn)
 			return true;
Signature · 1 line
1.8.1.4
maintainer
#1 lore raw

From: "Nithin Nayak Sujir" <[email protected]>
Date: Thu, 12 Sep 2013 14:01:31 -0700

Quoted 8 lines

Commit 989038e217e94161862a959e82f9a1ecf8dda152 ("tg3: Don't turn off led on 5719 serdes port 0") added code to skip turning led off on port 0 of the 5719 since it powered down other ports. This workaround needs to be enabled on the 5720 as well.

Applied and queued up for -stable.