public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: Stefan Becker <chemobejk@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] r8169: Fix WOL in power down case
Date: Thu, 3 Nov 2011 19:12:52 +0100	[thread overview]
Message-ID: <20111103181252.GA28253@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <CAOJ2eMcFbt9zkA9-uq20OUs1r3Ee6jo=jbEJ7RP87OCxu5XJjA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

(Stefan, please keep the Cc:)

Stefan Becker <chemobejk@gmail.com> :
> On Thu, Nov 3, 2011 at 1:08 AM, Francois Romieu <romieu@fr.zoreil.com>wrote:
> > Stefan Becker <chemobejk@gmail.com> :
[...]
> > 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-2.6.40.6.-0.fc15.i686.rpm<http://koji.fedoraproject.org/koji/buildinfo?buildID=266719>

Ok.

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
d4ed95d796e5126bba51466dc07e287cebc8bd19.

-- 
Ueimor

[-- Attachment #2: makefile_and_r8169.tgz --]
[-- Type: application/x-gzip, Size: 32425 bytes --]

[-- Attachment #3: r8169-more-rxconfig-bits.patch --]
[-- Type: text/plain, Size: 489 bytes --]

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:

      parent reply	other threads:[~2011-11-03 18:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07 20:19 Regression: non-working WOL with r8169 Marc Ballarin
2011-10-07 21:00 ` Francois Romieu
2011-10-07 21:33   ` Marc Ballarin
2011-10-07 21:42   ` Francois Romieu
2011-10-07 22:31     ` Marc Ballarin
2011-10-07 23:28       ` Francois Romieu
2011-10-09  8:49         ` [PATCH] r8169: Fix WOL in power down case Marc Ballarin
2011-10-09 11:54           ` Francois Romieu
2011-10-09 17:13             ` Marc Ballarin
2011-11-01 17:28               ` Stefan Becker
2011-11-02 23:08                 ` Francois Romieu
2011-11-03 17:27                   ` Stefan Becker
     [not found]                   ` <CAOJ2eMcFbt9zkA9-uq20OUs1r3Ee6jo=jbEJ7RP87OCxu5XJjA@mail.gmail.com>
2011-11-03 18:12                     ` Francois Romieu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111103181252.GA28253@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=chemobejk@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox