浏览代码

e1000: FIX: 82542 doesn't support WoL

Exclude 82542 when setting up WoL. This card does not do WoL at all.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Auke Kok 18 年之前
父节点
当前提交
dc1f71f6b3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/net/e1000/e1000_ethtool.c

+ 1 - 0
drivers/net/e1000/e1000_ethtool.c

@@ -1691,6 +1691,7 @@ static int e1000_wol_exclusion(struct e1000_adapter *adapter, struct ethtool_wol
 	int retval = 1; /* fail by default */
 	int retval = 1; /* fail by default */
 
 
 	switch (hw->device_id) {
 	switch (hw->device_id) {
+	case E1000_DEV_ID_82542:
 	case E1000_DEV_ID_82543GC_FIBER:
 	case E1000_DEV_ID_82543GC_FIBER:
 	case E1000_DEV_ID_82543GC_COPPER:
 	case E1000_DEV_ID_82543GC_COPPER:
 	case E1000_DEV_ID_82544EI_FIBER:
 	case E1000_DEV_ID_82544EI_FIBER: