1. 26 Aug, 2005 3 commits
    • John McCutchan's avatar
      [PATCH] Document idr_get_new_above() semantics, update inotify · 7c657f2f
      John McCutchan authored
      There is an off by one problem with idr_get_new_above.
      
      The comment and function name suggest that it will return an id >
      starting_id, but it actually returned an id >= starting_id, and kernel
      callers other than inotify treated it as such.
      
      The patch below fixes the comment, and fixes inotifys usage.  The
      function name still doesn't match the behaviour, but it never did.
      Signed-off-by: default avatarJohn McCutchan <ttb@tentacle.dhs.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7c657f2f
    • Linus Torvalds's avatar
      Ignore disabled ROM resources at setup · 755528c8
      Linus Torvalds authored
      Writing even a disabled value seems to mess up some matrox graphics
      cards.  It may be a card-related issue, but we may also be writing
      reserved low bits in the result.
      
      This was a fall-out of switching x86 over to the generic PCI resource
      allocation code, and needs more debugging.  In particular, the old x86
      code defaulted to not doing any resource allocations at all for ROM
      resources.
      
      In the meantime, this has been reported to make X happier by Helge
      Hafting <helgehaf@aitel.hist.no>.
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      755528c8
    • Linus Torvalds's avatar
      Only pre-allocate 256 bytes of cardbio IO range · 26aad69e
      Linus Torvalds authored
      It may seem small, but most cards need much less, if any, and this not
      only makes the code adhere to the comment, it seems to fix a boot-time
      lockup on a ThinkPad 380XD laptop reported by Tero Roponen <teanropo@cc.jyu.fi>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      26aad69e
  2. 24 Aug, 2005 37 commits