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

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

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: default avatarMatt Carlson <mcarlson@broadcom.com>
Reviewed-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 61e800cf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;