LWN.net Logo

USB: serial: generic driver fixes and bulk buffer feature

From:  Johan Hovold <jhovold@gmail.com>
To:  Greg Kroah-Hartman <gregkh@suse.de>
Subject:  [PATCH 0/9] USB: serial: generic driver fixes and bulk buffer feature
Date:  Wed, 17 Mar 2010 23:00:36 +0100
Message-ID:  <1268863245-17230-1-git-send-email-jhovold@gmail.com>
Cc:  linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <jhovold@gmail.com>
Archive-link:  Article, Thread

Hi,

Here are a few of fixes to the generic driver as well as a new feature that
lets drivers determine the size of the bulk buffers more easily. It turns out
that increasing the out-buffer sizes for cp210x and pl2303 have a significant
effect on throughput.

Thanks,
Johan

Johan Hovold (9):
  USB: serial: allow drivers to define bulk buffer sizes
  USB: cp210x: increase the bulk-out buffer size to 256 byte
  USB: cp210x: increase bulk-in buffer size to 256 byte
  USB: pl2303: increase the bulk-out buffer size to 256 byte
  USB: pl2303: increase bulk-in buffer size to 256 byte
  USB: serial: fix generic chars_in_buffer
  USB: serial: fix missing locking on fifo in write callback
  USB: serial: clear fifo on close
  USB: serial: refactor generic close

 drivers/usb/serial/ark3116.c     |    7 ++-----
 drivers/usb/serial/belkin_sa.c   |    4 +---
 drivers/usb/serial/ch341.c       |    5 +----
 drivers/usb/serial/cp210x.c      |    7 +++----
 drivers/usb/serial/ftdi_sio.c    |   16 +---------------
 drivers/usb/serial/generic.c     |   31 ++++++++++++++++++++++++-------
 drivers/usb/serial/ipaq.c        |   28 ++--------------------------
 drivers/usb/serial/iuu_phoenix.c |   30 ++----------------------------
 drivers/usb/serial/mct_u232.c    |    7 ++-----
 drivers/usb/serial/pl2303.c      |    2 ++
 drivers/usb/serial/usb-serial.c  |    8 ++++++--
 include/linux/usb/serial.h       |    5 +++++
 12 files changed, 51 insertions(+), 99 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds