1. 23 7月, 2008 1 次提交
    • A
      usb_serial: API all change · 95da310e
      Alan Cox 提交于
      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: NAlan Cox <alan@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      95da310e
  2. 22 7月, 2008 1 次提交
    • A
      USB: debug port converter does not accept more than 8 byte packets · 71be4f81
      Aleksey Gorelov 提交于
      USB debug port only supports 8 byte rx/tx packets. Although spec implies that
      "if a packet larger than eight bytes is received from the remote computer, the
      device must break the larger packet into eight-byte packets before sending the
      data to the Debug Port", the real PLX NET20DC device does not handle it right -
      data is corrupted on debug port end if serial interface sends >8 byte urbs.
      Patch below fixes the issue by limiting tx urb to 8 byte.
      
      Signed off by: Aleks Gorelov <dared1st@yahoo.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      71be4f81
  3. 25 4月, 2008 1 次提交
  4. 02 12月, 2006 1 次提交
  5. 13 7月, 2006 1 次提交
  6. 15 4月, 2006 1 次提交
  7. 05 1月, 2006 2 次提交
  8. 29 10月, 2005 3 次提交
  9. 22 9月, 2005 1 次提交
  10. 04 5月, 2005 1 次提交