projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb7a5f
)
igb: fix WOL on second port of i350 device
author
Carolyn Wyborny
<
[email protected]
>
Thu, 7 Jul 2011 00:24:56 +0000
(
00:24
+0000)
committer
Jeff Kirsher
<
[email protected]
>
Thu, 4 Aug 2011 12:01:59 +0000
(
05:01
-0700)
This patch fixes a problem where WOL would fail on second port of i350
device.
Reported-by: Martin Wilck <
[email protected]
>
Reported-by: Stefan Assmann<
[email protected]
>
Signed-off-by: Carolyn Wyborny <
[email protected]
>
Tested-by: Aaron Brown <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/igb/igb_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/igb/igb_main.c
b/drivers/net/igb/igb_main.c
index ae3937e8cdeff9a17594d9a5a7ca7f37d62ae1c8..40d4c405fd7e0218703c091619a632b8525cd2c6 100644
(file)
--- a/
drivers/net/igb/igb_main.c
+++ b/
drivers/net/igb/igb_main.c
@@
-2023,7
+2023,7
@@
static int __devinit igb_probe(struct pci_dev *pdev,
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);