svn commit: r200308 - head/sys/dev/usb/serial
Andrew Thompson
thompsa at FreeBSD.org
Wed Dec 9 12:28:33 PST 2009
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,
},
More information about the svn-src-all
mailing list