summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2013-04-05 05:49:34 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-04-24 17:35:12 -0700
commit5daebbb0b0089d20114edd1434c1b4daa1532d8a (patch)
treec45e5fc9843f8ea8db470cdbece1af2079758c7b /drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
parentbdbeefe8ea8c7aa1e00397641e1f3dfa41a20968 (diff)
downloadlwn-5daebbb0b0089d20114edd1434c1b4daa1532d8a.tar.gz
lwn-5daebbb0b0089d20114edd1434c1b4daa1532d8a.zip
ixgbe: add driver support for x520 OCP adapter.
This patch adds support for the new OCP x520 adapter. This support includes WoL. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 9afc959c1499..783efbb1f7c3 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -7216,6 +7216,14 @@ int ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id,
break;
}
break;
+ case IXGBE_DEV_ID_82599EN_SFP:
+ /* Only this subdevice supports WOL */
+ switch (subdevice_id) {
+ case IXGBE_SUBDEV_ID_82599EN_SFP_OCP1:
+ is_wol_supported = 1;
+ break;
+ }
+ break;
case IXGBE_DEV_ID_82599_COMBO_BACKPLANE:
/* All except this subdevice support WOL */
if (subdevice_id != IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ)