1. 09 11月, 2006 6 次提交
    • D
      ACPI: button: register with input layer · c0968f0e
      Dmitry Torokhov 提交于
      In addition to signalling button/lid events through /proc/acpi/event,
      create separate input devices and report KEY_POWER, KEY_SLEEP and
      SW_LID through input layer.  Also remove unnecessary casts and variable
      initializations, clean up formatting.
      
      Sleep button may autorepeat but userspace will have to filter duplicate
      sleep requests anyway (and discard unprocessed events right after
      wakeup).
      
      Unlike /proc/acpi/event interface input device corresponding to LID
      switch reports true lid state instead of just a counter. SW_LID is
      active when lid is closed.
      
      The driver now depends on CONFIG_INPUT.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c0968f0e
    • L
      Merge merom:v2.6/linux · 082f2f84
      Linus Torvalds 提交于
      * merom:v2.6/linux:
        x86-64: write IO APIC irq routing entries in correct order
        x86-64: clean up io-apic accesses
      082f2f84
    • L
      x86-64: write IO APIC irq routing entries in correct order · 48797ebd
      Linus Torvalds 提交于
      This is the x86-64 version of f9dadfa7
      that did the same thing on i386.
      
      Since the "mask" bit is in the low word, when we write a new entry, we
      need to write the high word first, before we potentially unmask it.
      
      The exception is when we actually want to mask the interrupt, in which
      case we want to write the low word first to make sure that the high word
      doesn't change while the interrupt routing is still active.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      48797ebd
    • L
      x86-64: clean up io-apic accesses · 6c0ffb9d
      Linus Torvalds 提交于
      This is just commit 130fe05d ported to
      x86-64, for all the same reasons.  It cleans up the IO-APIC accesses in
      order to then fix the ordering issues.
      
      We move the accessor functions (that were only used by io_apic.c) out of
      a header file, and use proper memory-mapped accesses rather than making
      up our own "volatile" pointers.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6c0ffb9d
    • L
      Revert "[PATCH] i386: Add MMCFG resources to i386 too" · de8e7c12
      Linus Torvalds 提交于
      This reverts commit de09bddb.  It tried
      to reserve the MMCONFIG mmio memory ranges, but since the MMCONFIG
      information is broken and often bogus (which is why we don't dare use it
      most of the time _anyway_), it does more harm than good.
      
      Cc: Jeff Chua <jeff.chua.linux@gmail.com>
      Cc: Adrian Bunk <bunk@stusta.de>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      de8e7c12
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 464908d7
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [libata] sata_via: fix obvious typo
      464908d7
  2. 08 11月, 2006 15 次提交
  3. 07 11月, 2006 19 次提交