Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc1f71f6 authored by Auke Kok's avatar Auke Kok Committed by Auke Kok
Browse files

e1000: FIX: 82542 doesn't support WoL



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

Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
parent 4ccc12ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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: