lkml.org 
[lkml]   [2009]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [linux-pm] [RFC] PCI: Runtime power management
    On Sat, Aug 15, 2009 at 11:21:53PM +0200, Rafael J. Wysocki wrote:

    > I can even imagine a scenario where this setting might be useful, like when
    > we don't want a network adapter to be woken up from the outside.

    I think in that case we'd probably just want the interface to be downed?
    Some of this is going to require device-specific policy, I think - for
    the network case we probably want something in between IF_RUNNING and
    IF_DOWN (IF_CARRIER, perhaps) that indicates that we want the PHY to be
    powered. Pushing this out to sysfs would mean we'd have a consistent
    interface but varying semantics, and I'm not convinced that's an
    especially helpful interface.

    --
    Matthew Garrett | mjg59@srcf.ucam.org

    \
     
     \ /
      Last update: 2009-08-15 23:31    [W:0.238 / U:0.408 seconds]
    ©2003-2014 Jasper Spaans. Advertise on this site