• Rafael J. Wysocki's avatar
    Net / jme: Do not use legacy PCI power management · f4e5bd4f
    Rafael J. Wysocki authored
    The jme driver uses the legacy PCI power management, so it has to do
    some PCI-specific things in its ->suspend() and ->resume() callbacks,
    which isn't necessary and should better be done by the PCI
    sybsystem-level power management code.  It also doesn't use device
    wakeup flags correctly.
    
    Convert jme to the new PCI power management framework and make it
    let the PCI subsystem take care of all the PCI-specific aspects of
    device handling during system power transitions.
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f4e5bd4f
jme.c 72.3 KB