1. 29 10月, 2005 2 次提交
  2. 15 10月, 2005 1 次提交
  3. 22 9月, 2005 4 次提交
  4. 13 9月, 2005 4 次提交
  5. 09 9月, 2005 7 次提交
  6. 30 7月, 2005 3 次提交
  7. 15 7月, 2005 1 次提交
  8. 13 7月, 2005 3 次提交
  9. 28 6月, 2005 1 次提交
  10. 21 6月, 2005 1 次提交
  11. 09 6月, 2005 1 次提交
    • I
      [PATCH] USB: ftdi_sio: avoid losing received data in tty-ldisc · 76854cea
      Ian Abbott 提交于
      ftdi_sio: Avoid losing bytes at tty-ldisc.
      
      This patch was originally developed by Daniel Smertnig.  I
      (Ian Abbott) made a few changes.  It has been tested by both
      Daniel and I, at least for raw, non-canonical receive data
      processing.
      
      Here is Daniel's original description of the patch:
      
      ===
      During a project in which I was using a FTDI 232BM to
      transmit data at relative high speeds (625kBit/s), I
      noticed a problem where data was lost even if flow
      control was enabled: The FTDI-Driver receives 512 Bytes
      of data over USB at a time, which consists of 8 64-Byte
      packets. Subtracting the 2 bytes of status information
      included in each packet this gives 496 "real" data
      bytes per read.
      
      This data is passed (indirectly, via the flip buffers)
      to the tty line discipline which takes care of
      throttling when there the free buffer space reaches
      TTY_THRESHOLD_THROTTLE (128). Because the FTDI driver
      processes up to 496 bytes at a time, throttling won't
      happen in time and the line discipline will discard the
      remaining bytes.
      
      To avoid this the patch passes data in 62-byte blocks
      to the tty layer and checks the available space in the
      ldisc-buffers. If there isn't enough free space,
      processing the rest of the data is delayed using a
      workqueue.
      
      Note: The original problem should be easily
      reproducible with a userspace program which does slow &
      small reads.
      ===
      Signed-off-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NDaniel Smertnig <daniel.smertnig@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      76854cea
  12. 03 6月, 2005 2 次提交
    • C
      [PATCH] USB: CP2101 Add support for flow control · 39a66b8d
      Craig Shelley 提交于
      Added support to get/set flow control line levels using TIOCMGET and
      TIOCMSET.
      Added support for RTSCTS hardware flow control.
      cp2101_get_config and cp2101_set_config modified to support long request
      strings, required for configuring flow control.
      
      Signed-off-by: Craig Shelley craig@microtron.org.uk
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      39a66b8d
    • M
      [PATCH] USB: add Option Card driver · 58cfe911
      Matthias Urlichs 提交于
      This patch adds a new driver for "Option" cards.  This is a GSM data card,
      controlled by three "serial ports" which are connected via an OHCI adapter,
      all located on an oversized PC-Card.  It's sold by several GSM service
      providers.
      
      Traditionally, this card has been accessed via the standard serial driver
      and appropriate vendor= and product= options.  However, testing has
      revealed several problems with this approach, including hung data transfers
      and lost data blocks when receiving.
      
      Therefore, I've written a separate driver.
      Signed-off-by: NMatthias Urlichs <smurf@smurf.noris.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      58cfe911
  13. 01 6月, 2005 2 次提交
  14. 17 5月, 2005 1 次提交
  15. 04 5月, 2005 5 次提交
  16. 23 4月, 2005 2 次提交