Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2009 20:28:33 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200308 - head/sys/dev/usb/serial
Message-ID:  <200912092028.nB9KSXSZ036329@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Wed Dec  9 20:28:33 2009
New Revision: 200308
URL: http://svn.freebsd.org/changeset/base/200308

Log:
  Fix hardware issue with FTDI chips: avoid sending a zero length packet due to
  hardware sending garbage on ZLPs.
  
  Reported by:	Corey Smith
  Submitted by:	HPS

Modified:
  head/sys/dev/usb/serial/uftdi.c

Modified: head/sys/dev/usb/serial/uftdi.c
==============================================================================
--- head/sys/dev/usb/serial/uftdi.c	Wed Dec  9 20:27:06 2009	(r200307)
+++ head/sys/dev/usb/serial/uftdi.c	Wed Dec  9 20:28:33 2009	(r200308)
@@ -165,7 +165,7 @@ static const struct usb_config uftdi_con
 		.endpoint = UE_ADDR_ANY,
 		.direction = UE_DIR_OUT,
 		.bufsize = UFTDI_OBUFSIZE,
-		.flags = {.pipe_bof = 1,.force_short_xfer = 1,},
+		.flags = {.pipe_bof = 1,},
 		.callback = &uftdi_write_callback,
 	},
 



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