[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081128.163306.139388123.davem@davemloft.net>
Date: Fri, 28 Nov 2008 16:33:06 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: peppe.cavallaro@...com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] phy: power management support
From: Giuseppe CAVALLARO <peppe.cavallaro@...com>
Date: Thu, 27 Nov 2008 14:57:00 +0100
> This patch adds the power management support into the physical
> abstraction layer.
>
> Suspend and resume functions respectively turns on/off the bit 11
> into the PHY Basic mode control register.
> Generic PHY device starts supporting PM.
>
> In order to support the wake-on LAN and avoid to put in power down
> the PHY device, the MDIO is aware of what the Ethernet device wants to do.
>
> Voluntary, no CONFIG_PM defines were added into the sources.
> Also generic suspend/resume functions are exported to allow
> other drivers use them (such as genphy_config_aneg etc.).
>
> Within the phy_driver_register function, we need to remove the
> memset. It overrides the device driver owner and it is not good.
>
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@...com>
Applied.
We should audit all of the phy_driver_register() callers to make
sure the removal of that memset() won't cause any problems.
--
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