From owner-svn-src-all@FreeBSD.ORG Wed Dec 9 20:28:33 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7319410656C1; Wed, 9 Dec 2009 20:28:33 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 618358FC19; Wed, 9 Dec 2009 20:28:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nB9KSXPo036331; Wed, 9 Dec 2009 20:28:33 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nB9KSXSZ036329; Wed, 9 Dec 2009 20:28:33 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200912092028.nB9KSXSZ036329@svn.freebsd.org> From: Andrew Thompson Date: Wed, 9 Dec 2009 20:28:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200308 - head/sys/dev/usb/serial X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 20:28:33 -0000 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, },