svn commit: r201301 - stable/8/sys/dev/usb/serial

Andrew Thompson thompsa at FreeBSD.org
Thu Dec 31 00:07:37 UTC 2009


Author: thompsa
Date: Thu Dec 31 00:07:37 2009
New Revision: 201301
URL: http://svn.freebsd.org/changeset/base/201301

Log:
  MFC r200308
  
   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:
  stable/8/sys/dev/usb/serial/uftdi.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/usb/serial/uftdi.c
==============================================================================
--- stable/8/sys/dev/usb/serial/uftdi.c	Thu Dec 31 00:07:26 2009	(r201300)
+++ stable/8/sys/dev/usb/serial/uftdi.c	Thu Dec 31 00:07:37 2009	(r201301)
@@ -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,
 	},
 


More information about the svn-src-stable mailing list