1. 02 Jun, 2007 2 commits
  2. 31 May, 2007 1 commit
    • Henrique de Moraes Holschuh's avatar
      ACPI: thinkpad-acpi: do not use named sysfs groups · cc4c24e1
      Henrique de Moraes Holschuh authored
      The initial version of the thinkpad-acpi sysfs interface (not yet released
      in any stable mainline kernel) made liberal use of named sysfs groups, in
      order to get the attributes more organized.
      
      This proved to be a really bad design decision.  Maybe if attribute groups
      were as flexible as a real directory, and if binary attributes were not
      second-class citizens, the idea of subdirs and named groups would not have
      been so bad.
      
      This patch makes all the thinkpad-acpi sysfs groups anonymous (thus
      removing the subdirs), adds the former group names as a prefix (so that
      hotkey/enable becomes hotkey_enable for example), and updates the
      documentation.
      
      These changes will make the thinkpad-acpi sysfs ABI a lot easier to
      maintain.
      Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      cc4c24e1
  3. 29 May, 2007 2 commits
  4. 26 May, 2007 2 commits
    • Linus Torvalds's avatar
      Linux 2.6.22-rc3 · c420bc9f
      Linus Torvalds authored
      It's that time of the year again.  Summer starts in the US, and people
      want to sit at the beach with a new -rc candidate.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c420bc9f
    • Hugh Dickins's avatar
      fix compat console unimap regression · f4d43bd5
      Hugh Dickins authored
      Why is it that since the 2f1a2ccb console
      UTF-8 fixes went into 2.6.22-rc1, the PowerMac G5 shows only inverse video
      question marks for the text on tty2-6? whereas tty1 is fine, and so is x86.
      
      No fault of that patch: by removing the old fallback behaviour, it reveals
      that 32-bit setfont running on 64-bit kernels has only really worked on
      the current console, the rest getting faked by that inadequate fallback.
      
      Bring the compat do_unimap_ioctl into line with the main one: PIO_UNIMAP
      and GIO_UNIMAP apply to the specified tty, not redirected to fg_console.
      Use the same checks, and most particularly, remember to check access_ok:
      con_set_unimap and con_get_unimap are using __get_user and __put_user.
      
      And the compat vt_check should ask for the same capability as the main
      one, CAP_SYS_TTY_CONFIG rather than CAP_SYS_ADMIN.  Added in vt_ioctl's
      vc_cons_allocated check for safety, though failure may well be impossible.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f4d43bd5
  5. 25 May, 2007 26 commits
  6. 24 May, 2007 7 commits