From: Matt Carlson Date: Wed, 20 Jan 2010 16:58:09 +0000 (+0000) Subject: tg3: Turn off the debug UART for 57765 X-Git-Tag: master-2010-03-02~555 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=cb4ed1fd8af963101a59c8c5fef97cbbf5f3fb88;hp=c2353a3214ff5813c4b719b3cdacbe939b1c63a0;p=~andy%2Flinux 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: Matt Carlson Reviewed-by: Michael Chan Reviewed-by: Benjamin Li Signed-off-by: David S. Miller --- diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index dffa51a4aaf..075d21a6b55 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -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 ||