|
@@ -1955,12 +1955,21 @@ static int ixgbe_wol_exclusion(struct ixgbe_adapter *adapter,
|
|
/* WOL not supported except for the following */
|
|
/* WOL not supported except for the following */
|
|
switch(hw->device_id) {
|
|
switch(hw->device_id) {
|
|
case IXGBE_DEV_ID_82599_SFP:
|
|
case IXGBE_DEV_ID_82599_SFP:
|
|
- /* Only this subdevice supports WOL */
|
|
|
|
- if (hw->subsystem_device_id != IXGBE_SUBDEV_ID_82599_SFP) {
|
|
|
|
|
|
+ /* Only these subdevices could supports WOL */
|
|
|
|
+ switch (hw->subsystem_device_id) {
|
|
|
|
+ case IXGBE_SUBDEV_ID_82599_560FLR:
|
|
|
|
+ /* only support first port */
|
|
|
|
+ if (hw->bus.func != 0) {
|
|
|
|
+ wol->supported = 0;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case IXGBE_SUBDEV_ID_82599_SFP:
|
|
|
|
+ retval = 0;
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
wol->supported = 0;
|
|
wol->supported = 0;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- retval = 0;
|
|
|
|
break;
|
|
break;
|
|
case IXGBE_DEV_ID_82599_COMBO_BACKPLANE:
|
|
case IXGBE_DEV_ID_82599_COMBO_BACKPLANE:
|
|
/* All except this subdevice support WOL */
|
|
/* All except this subdevice support WOL */
|