1. 15 10月, 2008 17 次提交
  2. 14 10月, 2008 2 次提交
    • 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
    • A
      tty: Cris has a nice RS485 ioctl so we should steal it · c26c56c0
      Alan Cox 提交于
      JP Tosoni observed:
      
      "About a RS485 ioctl: could you consider the attached files which are
       already in the Linux kernel (in include/asm-cris).  They define a
       TIOCSERSETRS485 (ioctl.h), and the data structure (rs485.h)
       with allows to specify timings. Sounds just like what we want ?"
      
      and he's right: sort of. Rework the structure to use flag bits and make the
      time delay a fixed sized field so we don't get 32/64bit problems. Add the ioctls
      to x86 so that people know what to add to their platform of choice.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c26c56c0
  3. 13 10月, 2008 21 次提交