mirror of https://gitee.com/openkylin/linux.git
ixgbe: Add WoL support for a new device
Add WoL support for port 0 of a new 82599-based device. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ca324099fb
commit
87557440d8
|
@ -7798,6 +7798,7 @@ int ixgbe_wol_supported(struct ixgbe_adapter *adapter, u16 device_id,
|
|||
case IXGBE_DEV_ID_82599_SFP:
|
||||
/* Only these subdevices could supports WOL */
|
||||
switch (subdevice_id) {
|
||||
case IXGBE_SUBDEV_ID_82599_SFP_WOL0:
|
||||
case IXGBE_SUBDEV_ID_82599_560FLR:
|
||||
/* only support first port */
|
||||
if (hw->bus.func != 0)
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#define IXGBE_DEV_ID_82599_BACKPLANE_FCOE 0x152a
|
||||
#define IXGBE_DEV_ID_82599_SFP_FCOE 0x1529
|
||||
#define IXGBE_SUBDEV_ID_82599_SFP 0x11A9
|
||||
#define IXGBE_SUBDEV_ID_82599_SFP_WOL0 0x1071
|
||||
#define IXGBE_SUBDEV_ID_82599_RNDC 0x1F72
|
||||
#define IXGBE_SUBDEV_ID_82599_560FLR 0x17D0
|
||||
#define IXGBE_SUBDEV_ID_82599_SP_560FLR 0x211B
|
||||
|
|
Loading…
Reference in New Issue