public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Becker <chemobejk@gmail.com>
To: netdev@vger.kernel.org
Subject: Re: [PATCH] r8169: Fix WOL in power down case
Date: Tue, 1 Nov 2011 17:28:46 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111101T174532-579@post.gmane.org> (raw)
In-Reply-To: 20111009191331.cbfca0b6b724921f35fd8c41@gmx.de

Marc Ballarin <ballarin.marc <at> gmx.de> writes:
> 
> On Sun, 9 Oct 2011 13:54:38 +0200
> Francois Romieu <romieu <at> fr.zoreil.com> wrote:
> 
> > ...
> > Moreover, the patch duplicates a chunk of conditional code:
> > 1) it bloats the driver (ok, we have seen worse...).
> > 2) you can bet that both instances won't be updated if / when
> >    RTL_GIGA_MAC_VER_xy appears.
> 
> I thought so 
> 
> > 
> > The patch below should fix it.
> 
> Yes, it works fine here. Thanks a lot.
> 

I just upgraded to Fedora 16 with Kernel 3.1.0 and WoL stopped working in the
power down case on my R8168 :-(

[    8.557372] r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xf809a000,
00:1f:d0:5a:22:77, XID 1c4000c0 IRQ 43

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)

I've checked the SRPM and git commit 649b3b8c4e868 with the fix discussed here
is included. It obviously doesn't work for my HW.

According to the code the combination "RTL8168c/8111c" means RTL_GIGA_MAC_VER_19
to _22, so the code changes in the fix commit don't apply to them. Could it be
that the fix doesn't cover all the necessary HW?

Regards,

           Stefan

PS: Please CC me in your reply, as I don't read the mailing list.

  reply	other threads:[~2011-11-01 17:30 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 [this message]
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

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=loom.20111101T174532-579@post.gmane.org \
    --to=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