[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090201.005432.26823195.davem@davemloft.net>
Date: Sun, 01 Feb 2009 00:54:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: avorontsov@...mvista.com
Cc: jgarzik@...ox.com, afleming@...escale.com, peppe.cavallaro@...com,
netdev@...r.kernel.org, linuxppc-dev@...abs.org
Subject: Re: [PATCH -next 2/2] phylib: Rework suspend/resume code to check
netdev wakeup capability
From: Anton Vorontsov <avorontsov@...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@...mvista.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists