Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Use IFM_25G_ACC



details:   https://anonhg.NetBSD.org/src/rev/e4f419b6d0d0
branches:  trunk
changeset: 745214:e4f419b6d0d0
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Tue Feb 25 08:02:29 2020 +0000

description:
Use IFM_25G_ACC

pointed out and reviewed by msaitoh@n.o., thanks

diffstat:

 sys/dev/pci/if_ixl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4b6078cdf92b -r e4f419b6d0d0 sys/dev/pci/if_ixl.c
--- a/sys/dev/pci/if_ixl.c      Tue Feb 25 07:58:44 2020 +0000
+++ b/sys/dev/pci/if_ixl.c      Tue Feb 25 08:02:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ixl.c,v 1.54 2020/02/25 07:58:44 yamaguchi Exp $    */
+/*     $NetBSD: if_ixl.c,v 1.55 2020/02/25 08:02:29 yamaguchi Exp $    */
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.54 2020/02/25 07:58:44 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.55 2020/02/25 08:02:29 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -934,7 +934,7 @@
        { 1ULL << IXL_PHY_TYPE_25GBASE_SR,      IFM_25G_SR },
        { 1ULL << IXL_PHY_TYPE_25GBASE_LR,      IFM_25G_LR },
        { 1ULL << IXL_PHY_TYPE_25GBASE_AOC,     IFM_25G_AOC },
-       { 1ULL << IXL_PHY_TYPE_25GBASE_ACC,     IFM_25G_CR },
+       { 1ULL << IXL_PHY_TYPE_25GBASE_ACC,     IFM_25G_ACC },
 };
 
 static const struct ixl_speed_type ixl_speed_type_map[] = {



Home | Main Index | Thread Index | Old Index