Re: [PATCH] r8169: Fix WOL in power down case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(Stefan, please keep the Cc:)

Stefan Becker <chemobejk@xxxxxxxxx> :
> On Thu, Nov 3, 2011 at 1:08 AM, Francois Romieu <romieu@xxxxxxxxxxxxx>wrote:
> > Stefan Becker <chemobejk@xxxxxxxxx> :
> > Plain power down, not suspend/resume ?
> Yes, the system executes "shutdown -h now" (S5?) after arming the watchdog
> that executes the etherwake command at the appointed time.

Thanks for the clarification.

> I've installed the previously working kernel from F15. Luckily it works
> with the Fedora 16 user space. With that kernel WoL works again.
> I can't check right now, but it should be
>    kernel-<>


Can you build the attached driver with your 3.1.x Fedora kernel ?

The diff is attached as well if the lack of gpg signature makes you nervous.

If the patch works, the regression almost surely dates back to


Attachment: makefile_and_r8169.tgz
Description: GNU Zip compressed data

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 6d657ca..1fa2e80 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3321,6 +3321,10 @@ static void rtl_wol_suspend_quirk(struct rtl8169_private *tp)
 	void __iomem *ioaddr = tp->mmio_addr;
 	switch (tp->mac_version) {
+	case RTL_GIGA_MAC_VER_19:
+	case RTL_GIGA_MAC_VER_20:
+	case RTL_GIGA_MAC_VER_21:
+	case RTL_GIGA_MAC_VER_22:
 	case RTL_GIGA_MAC_VER_29:
 	case RTL_GIGA_MAC_VER_30:
 	case RTL_GIGA_MAC_VER_32:

[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux