From: David Miller <davem@davemloft.net>
To: avorontsov@ru.mvista.com
Cc: linuxppc-dev@ozlabs.org, afleming@freescale.com,
netdev@vger.kernel.org, jgarzik@pobox.com,
peppe.cavallaro@st.com
Subject: Re: [PATCH -next 2/2] phylib: Rework suspend/resume code to check netdev wakeup capability
Date: Sun, 01 Feb 2009 00:54:32 -0800 (PST) [thread overview]
Message-ID: <20090201.005432.26823195.davem@davemloft.net> (raw)
In-Reply-To: <20090128203914.GB14693@oksana.dev.rtsoft.ru>
From: Anton Vorontsov <avorontsov@ru.mvista.com>
Date: Wed, 28 Jan 2009 23:39:14 +0300
> In most cases (e.g. PCI drivers) MDIO and MAC controllers are
> represented by the same device. But for SOC ethernets we have
> separate devices. So, in SOC case, checking whether MDIO
> controller may wakeup is not only makes little sense, but also
> prevents us from doing per-netdevice wakeup management.
>
> This patch reworks suspend/resume code so that now it checks
> for net device's wakeup flags, not MDIO controller's ones.
>
> Each netdevice should manage its wakeup flags, and phylib will
> decide whether suspend an attached PHY or not.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Applied.
prev parent reply other threads:[~2009-02-01 8:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-28 20:39 [PATCH -next 2/2] phylib: Rework suspend/resume code to check netdev wakeup capability Anton Vorontsov
2009-02-01 8:54 ` David Miller [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=20090201.005432.26823195.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=afleming@freescale.com \
--cc=avorontsov@ru.mvista.com \
--cc=jgarzik@pobox.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.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;
as well as URLs for NNTP newsgroup(s).