Skip to contentSkip to conversation

igb: restrict WoL for 82576 ET2 Quad Port Server Adapter

PATCH In review Stefan Assmann 3 participants 3 messages Apr 1, 2010 – Apr 2, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igb: restrict WoL for 82576 ET2 Quad Port Server Adapter

From: Stefan Assmann <[email protected]>

Restrict Wake-on-LAN to first port on 82576 ET2 quad port NICs, as it is only supported there.

---
 drivers/net/igb/igb_ethtool.c |    1 +
 drivers/net/igb/igb_main.c    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/igb/igb_ethtool.c +1 -0
index 1d4ee41..cdebfbf 100644
@@ -1863,6 +1863,7 @@ static int igb_wol_exclusion(struct igb_adapter *adapter,
 		retval = 0;
 		break;
 	case E1000_DEV_ID_82576_QUAD_COPPER:
+	case E1000_DEV_ID_82576_QUAD_COPPER_ET2:
 		/* quad port adapters only support WoL on port A */
 		if (!(adapter->flags & IGB_FLAG_QUAD_PORT_A)) {
 			wol->supported = 0;
drivers/net/igb/igb_main.c +1 -0
index ea87570..5426f41 100644
@@ -1597,6 +1597,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
 			adapter->eeprom_wol = 0;
 		break;
 	case E1000_DEV_ID_82576_QUAD_COPPER:
+	case E1000_DEV_ID_82576_QUAD_COPPER_ET2:
 		/* if quad port adapter, disable WoL on all but port A */
 		if (global_quad_port_a != 0)
 			adapter->eeprom_wol = 0;
Signature · 1 line
1.6.6.1
#2 lore raw
Quoted 8 lines · David Miller

From: Stefan Assmann <[email protected]>
Date: Thu, 01 Apr 2010 19:00:44 +0200

Quoted 5 lines

From: Stefan Assmann <[email protected]>

Restrict Wake-on-LAN to first port on 82576 ET2 quad port NICs, as it is only supported there.

Quoted 6 lines
Quoted 1 line

Intel folks I assume you will suck this in and resubmit to me?

Thanks.

Correct, I am sucking this in to my tree.

Signature · 2 lines
Cheers,
Jeff