diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-04-30 13:24:37 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-04-30 13:24:37 +0000 |
commit | d1c0488866243510b54e408727cc4ef84ef786bf (patch) | |
tree | f520217c41778c936c39836985f626701ec7564f /sys/dev/pci/ixgbe_82599.c | |
parent | 86001c1efda5237eff5afb69db7b65e1454143d1 (diff) |
Allow use of 1Gb 1000baseLX SFPs in 82599 ix(4) SFP+ port. Adapted from
Linux commit 345be204dcbb. ok jsg@ mikeb@
Diffstat (limited to 'sys/dev/pci/ixgbe_82599.c')
-rw-r--r-- | sys/dev/pci/ixgbe_82599.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/ixgbe_82599.c b/sys/dev/pci/ixgbe_82599.c index 202b37600b0..fd10af1844d 100644 --- a/sys/dev/pci/ixgbe_82599.c +++ b/sys/dev/pci/ixgbe_82599.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ixgbe_82599.c,v 1.10 2013/08/05 19:58:06 mikeb Exp $ */ +/* $OpenBSD: ixgbe_82599.c,v 1.11 2015/04/30 13:24:36 sthen Exp $ */ /****************************************************************************** @@ -372,6 +372,8 @@ int32_t ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, /* Check if 1G SFP module. */ if (hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core0 || hw->phy.sfp_type == ixgbe_sfp_type_1g_cu_core1 || + hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core0 || + hw->phy.sfp_type == ixgbe_sfp_type_1g_lx_core1 || hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core0 || hw->phy.sfp_type == ixgbe_sfp_type_1g_sx_core1) { *speed = IXGBE_LINK_SPEED_1GB_FULL; |