1. 13 3月, 2010 1 次提交
  2. 08 3月, 2010 1 次提交
    • U
      platform-drivers: move probe to .devinit.text in drivers/scsi · 1b07193b
      Uwe Kleine-König 提交于
      A pointer to a probe callback is passed to the core via
      platform_driver_register and so the function must not disappear when the
      .init sections are discarded.  Otherwise (if also having HOTPLUG=y)
      unbinding and binding a device to the driver via sysfs will result in an
      oops as does a device being registered late.
      
      An alternative to this patch is using platform_driver_probe instead of
      platform_driver_register plus removing the pointer to the probe function
      from the struct platform_driver.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Cc: Henrik Kretzschmar <henne@nachtwindheim.de>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: peter fuerst <post@pfrst.de>
      Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1b07193b
  3. 02 3月, 2010 1 次提交
  4. 28 2月, 2010 1 次提交
  5. 27 2月, 2010 1 次提交
    • R
      PM: Allow SCSI devices to suspend/resume asynchronously · 4cb077d9
      Rafael J. Wysocki 提交于
      Set power.async_suspend for all SCSI devices, targets and hosts, so
      that they can be suspended and resumed in parallel with the main
      suspend/resume thread and possibly with other devices they don't
      depend on in a known way (i.e. devices which are not their parents or
      children).
      
      The power.async_suspend flag is also set for devices that don't have
      suspend or resume callbacks, because otherwise they would make the
      main suspend/resume thread wait for their "asynchronous" children
      (during suspend) or parents (during resume), effectively negating the
      possible gains from executing these devices' suspend and resume
      callbacks asynchronously.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      4cb077d9
  6. 26 2月, 2010 2 次提交
  7. 20 2月, 2010 14 次提交
  8. 19 2月, 2010 5 次提交
  9. 18 2月, 2010 14 次提交