1. 09 10月, 2008 1 次提交
    • C
      acer-wmi: Add rfkill support for wireless and bluetooth · 0606e1ab
      Carlos Corbacho 提交于
      This patch implements rfkill support for the wireless and bluetooth devices
      commonly found on Acer laptops.
      
      For now, we will always poll these devices once a second to guarantee we
      can catch state changes. On newer Acer laptops, it may be possible to rely
      on WMI events to do this instead, and experimental support for this will be
      added in a later patch.
      
      3G has been deliberately left off for now, as we still have no way to
      detect it, (nor, AFAIK, has any Linux user tried the code) and on laptops
      that don't support 3G, trying to poll for the status will leave the logs
      full of ACPI tracebacks.
      
      The old sysfs interface for wireless and bluetooth will be removed in a
      later patch.
      
      (Thanks to Henrique de Moraes Holschuh and Dmitry Torokhov for reviewing
      this patch).
      Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      Acked-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      0606e1ab
  2. 14 9月, 2008 1 次提交
    • R
      ia64: fix panic during `modprobe -r xpc' · 8275d102
      Robin Holt 提交于
      If you are on ia64 and you modprobe xpc then modprobe -r xpc, you
      immediately get a panic.  xpc depends on xp which depends on gru for a
      symbol.  That symbol is only used when we are running on UV hardware.
      
      Currently, the GRU driver detects we are not on UV hardware and does no
      initializing.  It does not do the same check when unloading.  As a result,
      the gru driver attempts to tear down stuff that was not setup.
      
      This is a simple two-line workaround to get us through this release.  Once
      2.6.28 is opened, we need to rework the symbols that xp is depending on
      from gru so the gru driver can properly fail to load when hardware is not
      available.
      Signed-off-by: NRobin Holt <holt@sgi.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8275d102
  3. 04 9月, 2008 2 次提交
  4. 03 9月, 2008 3 次提交
  5. 29 8月, 2008 1 次提交
  6. 24 8月, 2008 2 次提交
  7. 21 8月, 2008 1 次提交
  8. 15 8月, 2008 1 次提交
    • C
      acer-wmi: Fix wireless and bluetooth on early AMW0 v2 laptops · 5c742b45
      Carlos Corbacho 提交于
      In the old acer_acpi, I discovered that on some of the newer AMW0 laptops
      that supported the WMID methods, they don't work properly for setting the
      wireless and bluetooth values.
      
      So for the AMW0 V2 laptops, we want to use both the 'old' AMW0 and the
      'new' WMID methods for setting wireless & bluetooth to guarantee we always
      enable it.
      
      This was fixed in acer_acpi some time ago, but I forgot to port the patch
      over to acer-wmi when it was merged.
      
      (Without this patch, early AMW0 V2 laptops such as the Aspire 5040 won't
      work with acer-wmi, where-as they did with the old acer_acpi).
      
      AK: fix compilation
      Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      CC: stable@kernel.org
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      5c742b45
  9. 13 8月, 2008 1 次提交
    • R
      GRU: fix preprocessor symbol for sparse · 6a4ad39b
      Randy Dunlap 提交于
      Fix preprocessor symbol so that sparse sees it and does not generate
      errors:
      
        drivers/misc/sgi-gru/grutables.h:286:2: error: "Unsupported architecture"
        drivers/misc/sgi-gru/grutables.h:286:2: error: "Unsupported architecture"
        drivers/misc/sgi-gru/grutables.h:286:2: error: "Unsupported architecture"
        drivers/misc/sgi-gru/grutables.h:286:2: error: "Unsupported architecture"
        drivers/misc/sgi-gru/grutlbpurge.c:185:11: error: undefined identifier 'GRUREGION'
        drivers/misc/sgi-gru/grutables.h:286:2: error: "Unsupported architecture"
        drivers/misc/sgi-gru/grutables.h:286:2: error: "Unsupported architecture"
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Jack Steiner <steiner@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6a4ad39b
  10. 06 8月, 2008 1 次提交
  11. 05 8月, 2008 1 次提交
  12. 02 8月, 2008 2 次提交
  13. 31 7月, 2008 23 次提交