1. 19 Sep, 2009 1 commit
  2. 22 Jul, 2008 1 commit
    • Alan Cox's avatar
      usb_serial: API all change · 95da310e
      Alan Cox authored
      USB serial likes to use port->tty back pointers for the real work it does and
      to do so without any actual locking. Unfortunately when you consider hangup
      events, hangup/parallel reopen or even worse hangup followed by parallel close
      events the tty->port and port->tty pointers are not guaranteed to be the same
      as port->tty is the active tty while tty->port is the port the tty may or
      may not still be attached to.
      
      So rework the entire API to pass the tty struct. For console cases we need
      to pass both for now. This shows up multiple drivers that immediately crash
      with USB console some of which have been fixed in the process.
      
      Longer term we need a proper tty as console abstraction
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      95da310e
  3. 02 May, 2008 1 commit
  4. 25 Apr, 2008 3 commits
  5. 01 Feb, 2008 1 commit
  6. 25 Oct, 2007 1 commit
  7. 12 Oct, 2007 1 commit
  8. 12 Jul, 2007 1 commit
    • Alan Cox's avatar
      USB: serial: ark3116.c: Mixed fixups · 568c24ad
      Alan Cox authored
      o	Don't parse the cflag for baud rates, its not valid to do so
      	any more and this driver got it wrong anyway
      o	Don't do clever termios change checks in drivers and get them
      	wrong (arguably we should do some smart ones in the tty core but
      	stty to change nothing is *not* a common or critical path
      
      I don't have the hardware so if you can test this carefully please do. I
      thought fixing it up this far was better than marking it and other bits of
      USB serial && BROKEN
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      568c24ad
  9. 23 May, 2007 1 commit
  10. 27 Apr, 2007 1 commit
  11. 07 Feb, 2007 1 commit
  12. 08 Dec, 2006 1 commit
    • Alan Cox's avatar
      [PATCH] tty: switch to ktermios · 606d099c
      Alan Cox authored
      This is the grungy swap all the occurrences in the right places patch that
      goes with the updates.  At this point we have the same functionality as
      before (except that sgttyb() returns speeds not zero) and are ready to
      begin turning new stuff on providing nobody reports lots of bugs
      
      If you are a tty driver author converting an out of tree driver the only
      impact should be termios->ktermios name changes for the speed/property
      setting functions from your upper layers.
      
      If you are implementing your own TCGETS function before then your driver
      was broken already and its about to get a whole lot more painful for you so
      please fix it 8)
      
      Also fill in c_ispeed/ospeed on init for most devices, although the current
      code will do this for you anyway but I'd like eventually to lose that extra
      paranoia
      
      [akpm@osdl.org: bluetooth fix]
      [mp3@de.ibm.com: sclp fix]
      [mp3@de.ibm.com: warning fix for tty3270]
      [hugh@veritas.com: fix tty_ioctl powerpc build]
      [jdike@addtoit.com: uml: fix ->set_termios declaration]
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarMartin Peschke <mp3@de.ibm.com>
      Acked-by: default avatarPeter Oberparleiter <oberpar@de.ibm.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      606d099c
  13. 01 Dec, 2006 1 commit
  14. 27 Sep, 2006 2 commits
  15. 12 Jul, 2006 1 commit
  16. 12 May, 2006 1 commit