From: Matt Carlson Date: Wed, 17 Feb 2010 15:16:55 +0000 (+0000) Subject: tg3: Make 57791 and 57795 10/100 only X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d110114281fad580dd9ce629507d17b123169cff;p=linux-beck.git tg3: Make 57791 and 57795 10/100 only This patch adds the 57791 and 57795 to the list of devices that only support 10 and 100 Mbps speeds. Signed-off-by: Matt Carlson Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 344490e872b4..051b18ad3f0c 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -13588,6 +13588,8 @@ static int __devinit tg3_get_invariants(struct tg3 *tp) tp->pdev->device == PCI_DEVICE_ID_TIGON3_5753F || tp->pdev->device == PCI_DEVICE_ID_TIGON3_5787F)) || tp->pdev->device == TG3PCI_DEVICE_TIGON3_57790 || + tp->pdev->device == TG3PCI_DEVICE_TIGON3_57791 || + tp->pdev->device == TG3PCI_DEVICE_TIGON3_57795 || (tp->tg3_flags3 & TG3_FLG3_PHY_IS_FET)) tp->tg3_flags |= TG3_FLAG_10_100_ONLY;