From: hayeswang <hayeswang@realtek.com>
To: "'Francois Romieu'" <romieu@fr.zoreil.com>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH net-next 1/3] r8169: fix WOL setting for 8105 and 8111EVL
Date: Thu, 1 Sep 2011 14:02:28 +0800 [thread overview]
Message-ID: <89F823C255D94E19BB78C69C1996025C@realtek.com.tw> (raw)
In-Reply-To: <20110831191344.GA24634@electric-eye.fr.zoreil.com>
> -----Original Message-----
> From: Francois Romieu [mailto:romieu@fr.zoreil.com]
> Sent: Thursday, September 01, 2011 3:14 AM
> To: Hayeswang
> Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH net-next 1/3] r8169: fix WOL setting for
> 8105 and 8111EVL
>
> Hayes Wang <hayeswang@realtek.com> :
> > 8105, 8111E, and 8111EVL need enable RxConfig bit 1 ~ 3 for
> supporting
> > wake on lan.
> [...]
> > diff --git a/drivers/net/ethernet/realtek/r8169.c
> > b/drivers/net/ethernet/realtek/r8169.c
> > index 1cf8c3c..96e003a 100644
> > --- a/drivers/net/ethernet/realtek/r8169.c
> > +++ b/drivers/net/ethernet/realtek/r8169.c
> > @@ -3416,8 +3416,11 @@ static void
> r8168_pll_power_down(struct rtl8169_private *tp)
> > rtl_writephy(tp, 0x1f, 0x0000);
> > rtl_writephy(tp, MII_BMCR, 0x0000);
> >
> > - if (tp->mac_version == RTL_GIGA_MAC_VER_32 ||
> > - tp->mac_version == RTL_GIGA_MAC_VER_33)
> > + if (tp->mac_version == RTL_GIGA_MAC_VER_29 ||
> > + tp->mac_version == RTL_GIGA_MAC_VER_30 ||
> > + tp->mac_version == RTL_GIGA_MAC_VER_32 ||
> > + tp->mac_version == RTL_GIGA_MAC_VER_33 ||
> > + tp->mac_version == RTL_GIGA_MAC_VER_34)
> > RTL_W32(RxConfig, RTL_R32(RxConfig) |
> AcceptBroadcast |
> > AcceptMulticast | AcceptMyPhys);
>
> Fine for RTL_GIGA_MAC_VER_34 but RTL_GIGA_MAC_VER_29 and
> RTL_GIGA_MAC_VER_29 use r810x_pll_power_{up/down}, not their
> r8168_pll_xyz siblings.
>
I would fix it. Thanks.
Best Regards,
Hayes
prev parent reply other threads:[~2011-09-01 6:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 16:17 Hayes Wang
2011-08-31 16:17 ` [PATCH net-next 2/3] r8169: fix the reset setting for 8111evl Hayes Wang
2011-08-31 16:17 ` [PATCH net-next 3/3] r8169: support new chips of RTL8111F Hayes Wang
2011-08-31 19:13 ` Francois Romieu
2011-09-01 6:02 ` hayeswang
2011-08-31 19:13 ` [PATCH net-next 1/3] r8169: fix WOL setting for 8105 and 8111EVL Francois Romieu
2011-09-01 6:02 ` hayeswang [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=89F823C255D94E19BB78C69C1996025C@realtek.com.tw \
--to=hayeswang@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
/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
all inboxes | Powered by JetHome®