Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 13:46:47 -0700 (PDT)
From:      User Tomdean <tomdean@speakeasy.org>
To:        hselasky@c2i.net
Cc:        ticso@cicely.de, freebsd-usb@freebsd.org
Subject:   Re: Ucom/Uftdi Thru-put
Message-ID:  <200508302046.j7UKklqR000628@asus.tddhome>
In-Reply-To: <200508302100.12140.hselasky@c2i.net> (message from Hans Petter Selasky on Tue, 30 Aug 2005 21:00:09 %2B0200)
References:  <200508202157.j7KLv1GF005017@asus.tddhome> <20050826112422.GY37930@cicely12.cicely.de> <200508301751.j7UHpCt8000858@asus.tddhome> <200508302100.12140.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
*** sys/dev/usb/uftdi.c.orig    Tue Aug 30 13:34:56 2005
--- sys/dev/usb/uftdi.c Tue Aug 30 13:36:46 2005
***************
*** 104,110 ****
   * These are the maximum number of bytes transferred per frame.
   * The output buffer size cannot be increased due to the size encoding.
   */
! #define UFTDIIBUFSIZE 64
  #define UFTDIOBUFSIZE 64
  
  struct uftdi_softc {
--- 104,110 ----
   * These are the maximum number of bytes transferred per frame.
   * The output buffer size cannot be increased due to the size encoding.
   */
! #define UFTDIIBUFSIZE 384
  #define UFTDIOBUFSIZE 64
  
  struct uftdi_softc {


# ./ucom_read
Read 1000076 bytes in 5.233209 seconds in chunks of 382 bytes

or, around 5.25 uSec per byte.  This is well within my requirements.

Now, data verification...

Thanks,
tomdean



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508302046.j7UKklqR000628>