Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb4ed1fd authored by Matt Carlson's avatar Matt Carlson Committed by David S. Miller
Browse files

tg3: Turn off the debug UART for 57765



If the debug UART is left enabled, the LEDs will not work properly.
This patch disables the debug UART.

Signed-off-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Reviewed-by: default avatarMichael Chan <mchan@broadcom.com>
Reviewed-by: default avatarBenjamin Li <benli@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2353a32
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13328,7 +13328,8 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
		tp->grc_local_ctrl |= GRC_LCLCTRL_GPIO_OE3;

	if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5755 ||
	    GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780)
	    GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780 ||
	    GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765)
		tp->grc_local_ctrl |= GRC_LCLCTRL_GPIO_UART_SEL;

	if (tp->pdev->device == PCI_DEVICE_ID_TIGON3_5761 ||