1. 14 10月, 2008 2 次提交
    • A
      tty: shutdown method · feebed65
      Alan Cox 提交于
      Right now there are various drivers that try to use tty->count to know when
      they get the final close. Aristeau Rozanski showed while debugging the vt
      sysfs race that this isn't entirely safe.
      
      Instead of driver side tricks to work around this introduce a shutdown which
      is called when the tty is being destructed. This also means that the shutdown
      method is tied into the refcounting.
      
      Use this to rework the console close/sysfs logic.
      
      Remove lots of special case code from the tty core code. The pty code can now
      have a shutdown() method that replaces the special case hackery in the tree
      free up paths.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      feebed65
    • A
      tty: Add termiox · 1d65b4a0
      Alan Cox 提交于
      We need a way to describe the various additional modes and flow control
      features that random weird hardware shows up and software such as wine
      wants to emulate as Windows supports them.
      
      TCGETX/TCSETX and the termiox ioctl are a SYS5 extension that we might as
      well adopt. This patches adds the structures and the basic ioctl interfaces
      when the TCGETX etc defines are added for an architecture. Drivers wishing
      to use this stuff need to add new methods.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1d65b4a0
  2. 16 8月, 2008 1 次提交
  3. 23 7月, 2008 1 次提交
  4. 24 6月, 2008 1 次提交
  5. 30 4月, 2008 2 次提交
  6. 18 4月, 2008 1 次提交
  7. 11 5月, 2007 1 次提交
  8. 09 12月, 2006 1 次提交
    • A
      [PATCH] tty: switch to ktermios and new framework · edc6afc5
      Alan Cox 提交于
      This is the core of the switch to the new framework.  I've split it from the
      driver patches which are mostly search/replace and would encourage people to
      give this one a good hard stare.
      
      The references to BOTHER and ISHIFT are the termios values that must be
      defined by a platform once it wants to turn on "new style" ioctl support.  The
      code patches here ensure that providing
      
      1. The termios overlays the ktermios in memory
      2. The only new kernel only fields are c_ispeed/c_ospeed (or none)
      
      the existing behaviour is retained.  This is true for the patches at this
      point in time.
      
      Future patches will define BOTHER, ISHIFT and enable newer termios structures
      for each architecture, and once they are all done some of the ifdefs also
      vanish.
      
      [akpm@osdl.org: warning fix]
      [akpm@osdl.org: IRDA fix]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      edc6afc5
  9. 02 10月, 2006 1 次提交
    • J
      [PATCH] const struct tty_operations · b68e31d0
      Jeff Dike 提交于
      As part of an SMP cleanliness pass over UML, I consted a bunch of
      structures in order to not have to document their locking.  One of these
      structures was a struct tty_operations.  In order to const it in UML
      without introducing compiler complaints, the declaration of
      tty_set_operations needs to be changed, and then all of its callers need to
      be fixed.
      
      This patch declares all struct tty_operations in the tree as const.  In all
      cases, they are static and used only as input to tty_set_operations.  As an
      extra check, I ran an i386 allyesconfig build which produced no extra
      warnings.
      
      53 drivers are affected.  I checked the history of a bunch of them, and in
      most cases, there have been only a handful of maintenance changes in the
      last six months.  serial_core.c was the busiest one that I looked at.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b68e31d0
  10. 27 6月, 2006 2 次提交
  11. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4