Module Name:    src
Committed By:   msaitoh
Date:           Wed Oct  4 06:19:47 UTC 2017

Modified Files:
        src/sys/dev/pci/ixgbe: ixgbe.c

Log Message:
 Fix a bug that X550EM (Denverton) can't force 10BaseT.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/dev/pci/ixgbe/ixgbe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/ixgbe/ixgbe.c
diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.101 src/sys/dev/pci/ixgbe/ixgbe.c:1.102
--- src/sys/dev/pci/ixgbe/ixgbe.c:1.101	Wed Sep 27 10:31:29 2017
+++ src/sys/dev/pci/ixgbe/ixgbe.c	Wed Oct  4 06:19:47 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.101 2017/09/27 10:31:29 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.102 2017/10/04 06:19:47 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -2691,7 +2691,7 @@ ixgbe_media_change(struct ifnet *ifp)
 		if ((speed & IXGBE_LINK_SPEED_100_FULL) != 0)
 			adapter->advertise |= 1 << 0;
 		if ((speed & IXGBE_LINK_SPEED_10_FULL) != 0)
-			adapter->advertise |= 1 << 4;
+			adapter->advertise |= 1 << 3;
 	}
 
 	return (0);

Reply via email to