diff options
author | Paul Mackerras <paulus@samba.org> | 2007-05-10 07:08:37 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-10 07:08:37 -0400 |
commit | 2ecf042ef530dd0943e41d84b6344f507941af3e (patch) | |
tree | 73100361dd74e3f80f14c7c81ba4675948983f44 /drivers/net/skge.c | |
parent | 32a56ebb24f23da1bbaf24292acf85b6c04526ab (diff) | |
parent | de5603748af8bf7deac403e6ba92887f8d18e812 (diff) |
Merge branch 'linux-2.6'
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r-- | drivers/net/skge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index b07da1054add..e0489578945d 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -3594,7 +3594,9 @@ static struct net_device *skge_devinit(struct skge_hw *hw, int port, | |||
3594 | skge->duplex = -1; | 3594 | skge->duplex = -1; |
3595 | skge->speed = -1; | 3595 | skge->speed = -1; |
3596 | skge->advertising = skge_supported_modes(hw); | 3596 | skge->advertising = skge_supported_modes(hw); |
3597 | skge->wol = pci_wake_enabled(hw->pdev) ? wol_supported(hw) : 0; | 3597 | |
3598 | if (pci_wake_enabled(hw->pdev)) | ||
3599 | skge->wol = wol_supported(hw) & WAKE_MAGIC; | ||
3598 | 3600 | ||
3599 | hw->dev[port] = dev; | 3601 | hw->dev[port] = dev; |
3600 | 3602 | ||