diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/skge.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 21afe108d3cb..b07da1054add 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -135,10 +135,13 @@ static void skge_get_regs(struct net_device *dev, struct ethtool_regs *regs, | |||
135 | /* Wake on Lan only supported on Yukon chips with rev 1 or above */ | 135 | /* Wake on Lan only supported on Yukon chips with rev 1 or above */ |
136 | static u32 wol_supported(const struct skge_hw *hw) | 136 | static u32 wol_supported(const struct skge_hw *hw) |
137 | { | 137 | { |
138 | if (hw->chip_id == CHIP_ID_YUKON && hw->chip_rev != 0) | 138 | if (hw->chip_id == CHIP_ID_GENESIS) |
139 | return WAKE_MAGIC | WAKE_PHY; | ||
140 | else | ||
141 | return 0; | 139 | return 0; |
140 | |||
141 | if (hw->chip_id == CHIP_ID_YUKON && hw->chip_rev == 0) | ||
142 | return 0; | ||
143 | |||
144 | return WAKE_MAGIC | WAKE_PHY; | ||
142 | } | 145 | } |
143 | 146 | ||
144 | static u32 pci_wake_enabled(struct pci_dev *dev) | 147 | static u32 pci_wake_enabled(struct pci_dev *dev) |