Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Fix flow control setting sysctl. I don't k...
details: https://anonhg.NetBSD.org/src/rev/c15c6de0e226
branches: trunk
changeset: 349889:c15c6de0e226
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Dec 27 10:01:39 2016 +0000
description:
Fix flow control setting sysctl. I don't know why disabling autonego when
the flow control parameter is changed. Now the ixgN.fc sysctl works as
expected.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r f4510d8cd992 -r c15c6de0e226 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Tue Dec 27 09:34:44 2016 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Tue Dec 27 10:01:39 2016 +0000
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: head/sys/dev/ixgbe/if_ix.c 302384 2016-07-07 03:39:18Z sbruno $*/
-/*$NetBSD: ixgbe.c,v 1.55 2016/12/16 08:41:01 msaitoh Exp $*/
+/*$NetBSD: ixgbe.c,v 1.56 2016/12/27 10:01:39 msaitoh Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -4987,8 +4987,10 @@
return (EINVAL);
}
adapter->fc = fc;
+#if 0 /* XXX NetBSD */
/* Don't autoneg if forcing a value */
adapter->hw.fc.disable_fc_autoneg = TRUE;
+#endif
ixgbe_fc_enable(&adapter->hw);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index