Wake-on-LAN on PRO/1000 dual port adapter.
From: Paul Burkacki (PBurkacki@symantec.com)
Date: Mon Nov 03 2003 - 12:44:26 EST
Hello,
I have a system whose motherboard (Supermicro X5DP8-G2) comes with a
builtin Intel PRO/1000 MT Dual Port Server Adapter (82546EB). The system
is running RedHat Linux kernel 2.4.18 and the NIC driver is e1000 version
4.4.12.
I am wondering if it is possible to disable WOL on this NIC. From looking
at the driver code, it's clear that the function e1000_suspend() is the one
that sets up the NIC for what it should do in response to a WOL event. The
driver writes WUC and WUFC registers with a 0 and then calls
pci_enable_wake() for state 3 and 4 with a 0. However, this does not seem
to disable WOL. Namely, even if I force execution of this code path, once
the system shuts down and a magic packet is sent to the NIC, the system
will come up again.
I added some debugging code that dumps contents of the WUC register before
and after it is written with a 0 in the "disable WOL" code path. It turns
out that WUC seems not to respond to this write. Specifically, WUC is set
to 0x4 (that's the E1000_WUC_PME_STATUS bit).
Can anyone shed some light on this?
Thanks,
Paul Burkacki
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html