Module Name: src
Committed By: yamaguchi
Date: Fri Jan 31 03:30:37 UTC 2020
Modified Files:
src/sys/dev/pci: if_ixl.c
Log Message:
Revert r1.32 because some documents say that the device supports SFP+ SX/LX
I referred the document #332191-024 "Intel Ethernet Controller
X710/XXV710/XL710 Feature Support Matrix"
pointed out by msaitoh@, thanks.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/if_ixl.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/if_ixl.c
diff -u src/sys/dev/pci/if_ixl.c:1.33 src/sys/dev/pci/if_ixl.c:1.34
--- src/sys/dev/pci/if_ixl.c:1.33 Fri Jan 31 02:25:06 2020
+++ src/sys/dev/pci/if_ixl.c Fri Jan 31 03:30:37 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ixl.c,v 1.33 2020/01/31 02:25:06 yamaguchi Exp $ */
+/* $NetBSD: if_ixl.c,v 1.34 2020/01/31 03:30:37 yamaguchi Exp $ */
/*
* Copyright (c) 2013-2015, Intel Corporation
@@ -931,6 +931,8 @@ static const struct ixl_phy_type ixl_phy
{ 1ULL << IXL_PHY_TYPE_10GBASE_SFPP_CU, IFM_10G_TWINAX },
{ 1ULL << IXL_PHY_TYPE_40GBASE_SR4, IFM_40G_SR4 },
{ 1ULL << IXL_PHY_TYPE_40GBASE_LR4, IFM_40G_LR4 },
+ { 1ULL << IXL_PHY_TYPE_1000BASE_SX, IFM_1000_SX },
+ { 1ULL << IXL_PHY_TYPE_1000BASE_LX, IFM_1000_LX },
{ 1ULL << IXL_PHY_TYPE_20GBASE_KR2, IFM_20G_KR2 },
{ 1ULL << IXL_PHY_TYPE_25GBASE_KR, IFM_25G_KR },
{ 1ULL << IXL_PHY_TYPE_25GBASE_CR, IFM_25G_CR },