e1000: FIX: 82542 doesn't support WoL
authorAuke Kok <auke\\-jan.h.kok@intel.com>
Tue, 24 Oct 2006 21:45:55 +0000 (14:45 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Tue, 24 Oct 2006 21:45:55 +0000 (14:45 -0700)
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>
drivers/net/e1000/e1000_ethtool.c

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