diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-03-13 16:42:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-14 15:41:06 -0400 |
commit | c8ea5ea9da338d6af015148105f07fc35eda8a92 (patch) | |
tree | d2f9b79a3ae37836a0e2f500af62bddebc1676d6 /drivers/net/igb/igb_ethtool.c | |
parent | 9eb2341d0df6e5d33508008879987bf5bb146804 (diff) |
igb: add support for 82576 quad copper adapter
Add support for 82576 copper adapter and necessary code to restrict wol for
quad port adapter to first port.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb_ethtool.c')
-rw-r--r-- | drivers/net/igb/igb_ethtool.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_ethtool.c b/drivers/net/igb/igb_ethtool.c index 34a8a0fadf2d..fb09c8ad9f0d 100644 --- a/drivers/net/igb/igb_ethtool.c +++ b/drivers/net/igb/igb_ethtool.c | |||
@@ -1779,6 +1779,15 @@ static int igb_wol_exclusion(struct igb_adapter *adapter, | |||
1779 | /* return success for non excluded adapter ports */ | 1779 | /* return success for non excluded adapter ports */ |
1780 | retval = 0; | 1780 | retval = 0; |
1781 | break; | 1781 | break; |
1782 | case E1000_DEV_ID_82576_QUAD_COPPER: | ||
1783 | /* quad port adapters only support WoL on port A */ | ||
1784 | if (!(adapter->flags & IGB_FLAG_QUAD_PORT_A)) { | ||
1785 | wol->supported = 0; | ||
1786 | break; | ||
1787 | } | ||
1788 | /* return success for non excluded adapter ports */ | ||
1789 | retval = 0; | ||
1790 | break; | ||
1782 | default: | 1791 | default: |
1783 | /* dual port cards only support WoL on port A from now on | 1792 | /* dual port cards only support WoL on port A from now on |
1784 | * unless it was enabled in the eeprom for port B | 1793 | * unless it was enabled in the eeprom for port B |