mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
ixgbe: add support for new 82599 device.
This device uses an already existing DevID but since it supports WoL we need to add the Sub DevID. It's support of WoL is limited to the first port. 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>
This commit is contained in:
parent
9e791e4a04
commit
0e22d0437e
3 changed files with 22 additions and 5 deletions
|
@ -7605,9 +7605,16 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
|||
adapter->wol = 0;
|
||||
switch (pdev->device) {
|
||||
case IXGBE_DEV_ID_82599_SFP:
|
||||
/* Only this subdevice supports WOL */
|
||||
if (pdev->subsystem_device == IXGBE_SUBDEV_ID_82599_SFP)
|
||||
/* Only these subdevice supports WOL */
|
||||
switch (pdev->subsystem_device) {
|
||||
case IXGBE_SUBDEV_ID_82599_560FLR:
|
||||
/* only support first port */
|
||||
if (hw->bus.func != 0)
|
||||
break;
|
||||
case IXGBE_SUBDEV_ID_82599_SFP:
|
||||
adapter->wol = IXGBE_WUFC_MAG;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case IXGBE_DEV_ID_82599_COMBO_BACKPLANE:
|
||||
/* All except this subdevice support WOL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue