1. 30 6月, 2008 3 次提交
  2. 16 6月, 2008 4 次提交
  3. 15 5月, 2008 1 次提交
  4. 14 5月, 2008 1 次提交
  5. 05 5月, 2008 3 次提交
  6. 29 4月, 2008 1 次提交
  7. 26 4月, 2008 1 次提交
  8. 25 4月, 2008 1 次提交
  9. 24 4月, 2008 1 次提交
  10. 19 4月, 2008 1 次提交
  11. 18 4月, 2008 1 次提交
    • B
      ide: rework PowerMac media-bay support (take 2) · 2dde7861
      Bartlomiej Zolnierkiewicz 提交于
      Rework PowerMac media-bay support in such way that instead of
      un/registering the IDE interface we un/register IDE devices:
      
      * Add ide_port_scan() helper for probing+registerering devices on a port.
      
      * Rename ide_port_unregister_devices() to __ide_port_unregister_devices().
      
      * Add ide_port_unregister_devices() helper for unregistering devices on a port.
      
      * Add 'ide_hwif_t *cd_port' to 'struct media_bay_info', pass 'hwif' instead
        of hwif->index to media_bay_set_ide_infos() and use it to setup 'cd_port'.
      
      * Use ide_port_unregister_devices() instead of ide_unregister()
        and ide_port_scan() instead of ide_register_hw() in media_bay_step().
      
      * Unexport ide_register_hw() and make it static.
      
      v2:
      * Fix build by adding <linux/ide.h> include to <asm-powerpc/mediabay.h>.
        (Reported by Michael/Kamalesh/Andrew).
      
      Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      2dde7861
  12. 13 3月, 2008 2 次提交
  13. 24 2月, 2008 1 次提交
    • R
      PM: Introduce PM_EVENT_HIBERNATE callback state · 3a2d5b70
      Rafael J. Wysocki 提交于
      During the last step of hibernation in the "platform" mode (with the
      help of ACPI) we use the suspend code, including the devices'
      ->suspend() methods, to prepare the system for entering the ACPI S4
      system sleep state.
      
      But at least for some devices the operations performed by the
      ->suspend() callback in that case must be different from its operations
      during regular suspend.
      
      For this reason, introduce the new PM event type PM_EVENT_HIBERNATE and
      pass it to the device drivers' ->suspend() methods during the last phase
      of hibernation, so that they can distinguish this case and handle it as
      appropriate.  Modify the drivers that handle PM_EVENT_SUSPEND in a
      special way and need to handle PM_EVENT_HIBERNATE in the same way.
      
      These changes are necessary to fix a hibernation regression related
      to the i915 driver (ref. http://lkml.org/lkml/2008/2/22/488).
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NPavel Machek <pavel@ucw.cz>
      Tested-by: NJeff Chua <jeff.chua.linux@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3a2d5b70
  14. 15 2月, 2008 1 次提交
  15. 08 2月, 2008 1 次提交
    • B
      [POWERPC] Disable G5 NAP mode during SMU commands on U3 · 592a607b
      Benjamin Herrenschmidt 提交于
      It appears that with the U3 northbridge, if the processor is in NAP
      mode the whole time while waiting for an SMU command to complete,
      then the SMU will fail.  It could be related to the weird backward
      mechanism the SMU uses to get to system memory via i2c to the
      northbridge that doesn't operate properly when the said bridge is
      in napping along with the CPU.  That is on U3 at least, U4 doesn't
      seem to be affected.
      
      This didn't show before NO_HZ as the timer wakeup was enough to make
      it work it seems, but that is no longer the case.
      
      This fixes it by disabling NAP mode on those machines while
      an SMU command is in flight.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      592a607b
  16. 06 2月, 2008 2 次提交
  17. 04 2月, 2008 1 次提交
  18. 03 2月, 2008 3 次提交
  19. 28 1月, 2008 2 次提交
  20. 27 1月, 2008 1 次提交
  21. 25 1月, 2008 2 次提交
  22. 17 1月, 2008 3 次提交
    • S
      [POWERPC] therm_adt746x: Eliminate some build warnings · 10804f0f
      Stephen Rothwell 提交于
      We don't care if the device_create_file calls fail, the driver will work
      just as well without them, so just issue a runtime warning.
      
      drivers/macintosh/therm_adt746x.c: In function 'thermostat_init':
      drivers/macintosh/therm_adt746x.c:615: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:616: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:617: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:618: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:619: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:620: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:621: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:622: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:623: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_adt746x.c:625: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      10804f0f
    • S
      [POWERPC] therm_windtunnel: Eliminate some build warnings · 98894dff
      Stephen Rothwell 提交于
      We don't care if the device_create_file calls fail, the driver will work
      just as well without them, so just issue a runtime warning.
      
      drivers/macintosh/therm_windtunnel.c: In function 'setup_hardware':
      drivers/macintosh/therm_windtunnel.c:268: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_windtunnel.c:269: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      98894dff
    • S
      [POWERPC] therm_pm72: Suppress some compile warnings · 97759e49
      Stephen Rothwell 提交于
      We don't really care if any of these calls to device_create_file fails,
      so just issue warnings in that case.
      
      drivers/macintosh/therm_pm72.c: In function 'init_cpu_state':
      drivers/macintosh/therm_pm72.c:1185: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1186: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1187: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1188: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1189: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1191: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1192: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1193: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1194: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1195: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c: In function 'init_backside_state':
      drivers/macintosh/therm_pm72.c:1383: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1384: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c: In function 'init_drives_state':
      drivers/macintosh/therm_pm72.c:1503: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1504: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c: In function 'init_dimms_state':
      drivers/macintosh/therm_pm72.c:1625: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c: In function 'init_slots_state':
      drivers/macintosh/therm_pm72.c:1743: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      drivers/macintosh/therm_pm72.c:1744: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      97759e49
  23. 15 1月, 2008 1 次提交
  24. 21 12月, 2007 2 次提交