[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120215001453.GB11453@electric-eye.fr.zoreil.com>
Date: Wed, 15 Feb 2012 01:14:53 +0100
From: Francois Romieu <romieu@...zoreil.com>
To: Sameer Nanda <snanda@...omium.org>
Cc: "Rafael J. Wysocki" <rjw@...k.pl>, hayeswang@...ltek.com,
netdev@...r.kernel.org, linux-pm@...ts.linux-foundation.org
Subject: Re: [PATCH 2/2] r8169: transition to D0 state at shutdown
Sameer Nanda <snanda@...omium.org> :
> With runtime PM, if the ethernet cable is disconnected, the device is
> transitioned to D3 state to conserve energy. If the system is shutdown
> in this state, any register accesses in rtl_shutdown are dropped on
> the floor.
>
> This patch transitions the device back to D0 state in rtl_shutdown if
> the device was runtime PM suspended. In addition, since runtiome PM
> also mucks around with WOL options, the saved WOL options are also
> restored in rtl_shutdown.
Ok.
I'll leave Rafael choose if he prefers the runtime pm layer to handle it
or not.
--
Ueimor
--
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