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 Print verbose outout in ixgbe_update_link_...
details: https://anonhg.NetBSD.org/src/rev/9afc845af1ae
branches: trunk
changeset: 354642:9afc845af1ae
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Jun 23 06:33:35 2017 +0000
description:
Print verbose outout in ixgbe_update_link_status() correctly on 5Gbps and
2.5Gbps (NBASE-T) for X550T[12] and newer.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 81c86216bcfc -r 9afc845af1ae sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Fri Jun 23 06:10:31 2017 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Fri Jun 23 06:33:35 2017 +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.90 2017/06/23 04:36:48 msaitoh Exp $*/
+/*$NetBSD: ixgbe.c,v 1.91 2017/06/23 06:33:35 msaitoh Exp $*/
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2434,6 +2434,12 @@
case IXGBE_LINK_SPEED_10GB_FULL:
bpsmsg = "10 Gbps";
break;
+ case IXGBE_LINK_SPEED_5GB_FULL:
+ bpsmsg = "5 Gbps";
+ break;
+ case IXGBE_LINK_SPEED_2_5GB_FULL:
+ bpsmsg = "2.5 Gbps";
+ break;
case IXGBE_LINK_SPEED_1GB_FULL:
bpsmsg = "1 Gbps";
break;
Home |
Main Index |
Thread Index |
Old Index