Skip to contentSkip to conversation

fix WOL on 2nd port on i350

PATCH In review Martin Wilck 2 participants 2 messages Jul 4, 2011 – Jul 6, 2011

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

PATCH 1/1 fix WOL on 2nd port on i350

WOL fails on second port of a i350 network adapter with the latest upstream kernel driver. It works with the sf.net driver 3.0.19. The following patch seems to be missing upstream.

Regards,
Martin

Signature · 13 lines
Dr. Martin Wilck
PRIMERGY System Software Engineer
x86 Server Engineering

FUJITSU
Fujitsu Technology Solutions GmbH
Heinz-Nixdorf-Ring 1
33106 Paderborn, Germany
Phone:			++49 5251 525 2796
Fax:			++49 5251 525 2820
Email:			[email protected]
Internet:		http://ts.fujitsu.com
Company Details:	http://ts.fujitsu.com/imprint
drivers/net/igb/igb_main.c.new renamed from drivers/net/igb/igb_main.c +1 -1
@@ -1985,7 +1985,7 @@ static int __devinit igb_probe(struct pc
 
 	if (hw->bus.func == 0)
 		hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_A, 1, &eeprom_data);
-	else if (hw->mac.type == e1000_82580)
+	else if (hw->mac.type >= e1000_82580)
 		hw->nvm.ops.read(hw, NVM_INIT_CONTROL3_PORT_A +
 		                 NVM_82580_LAN_FUNC_OFFSET(hw->bus.func), 1,
 		                 &eeprom_data);

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2

_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired

#1 lore raw
Quoted 12 lines · Martin Wilck

WOL fails on second port of a i350 network adapter with the latest upstream kernel driver. It works with the sf.net driver 3.0.19. The following patch seems to be missing upstream.

Regards,
Martin

--
Dr. Martin Wilck
PRIMERGY System Software Engineer
x86 Server Engineering

Quoted 11 lines

FUJITSU
Fujitsu Technology Solutions GmbH Heinz-Nixdorf-Ring 1
33106 Paderborn, Germany
Phone:                  ++49 5251 525 2796
Fax:                    ++49 5251 525 2820
Email:                  [email protected]
Internet:               http://ts.fujitsu.com
Company Details:        http://ts.fujitsu.com/imprint

Thanks, we should have a patch to sync up the upstream driver in net-next (3.1) here soon.

Signature · 2 lines
Cheers,
Jeff