1. 30 Jul, 2010 2 commits
    • Jiri Slaby's avatar
      x86/PCI: pci, fix section mismatch · 73cd3b43
      Jiri Slaby authored
      pcibios_scan_specific_bus calls pci_scan_bus_on_node which is
      __devinit. Mark pcibios_scan_specific_bus __devinit as well since
      all users are now __init or __devinit.
      Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      73cd3b43
    • Alan Stern's avatar
      PCI: change device runtime PM settings for probe and remove · f3ec4f87
      Alan Stern authored
      This patch (as1388) changes the way the PCI core handles runtime PM
      settings when probing or unbinding drivers.  Now the core will make
      sure the device is enabled for runtime PM, with a usage count >= 1,
      when a driver is probed.  It does the same when calling a driver's
      remove method.
      
      If the driver wants to use runtime PM, all it has to do is call
      pm_runtime_pu_noidle() near the end of its probe routine (to cancel
      the core's usage increment) and pm_runtime_get_noresume() near the
      start of its remove routine (to restore the usage count).  It does not
      need to mess around with setting the runtime state to enabled,
      disabled, active, or suspended.
      
      The patch updates e1000e and r8169, the only PCI drivers that already
      use the existing runtime PM interface.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Acked-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
      f3ec4f87
  2. 29 Jul, 2010 12 commits
  3. 28 Jul, 2010 7 commits
  4. 27 Jul, 2010 16 commits
  5. 26 Jul, 2010 3 commits