Date: Fri, 27 Mar 2009 16:56:01 +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: r190471 - head/sys/dev/usb/controller Message-ID: <200903271656.n2RGu18p066500@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Fri Mar 27 16:56:01 2009 New Revision: 190471 URL: http://svn.freebsd.org/changeset/base/190471 Log: The buffer start and end phys addresses should be 0x0 for an OHCI zero length packet, this fixes LS/FS devices on the Gateworks 2348 XScale board. Reviewed by: HPS Modified: head/sys/dev/usb/controller/ohci.c Modified: head/sys/dev/usb/controller/ohci.c ============================================================================== --- head/sys/dev/usb/controller/ohci.c Fri Mar 27 15:57:52 2009 (r190470) +++ head/sys/dev/usb/controller/ohci.c Fri Mar 27 16:56:01 2009 (r190471) @@ -1350,9 +1350,12 @@ restart: temp->td_flags &= ~htole32(OHCI_TD_TOGGLE_MASK); if (average == 0) { - + /* + * The buffer start and end phys addresses should be + * 0x0 for a zero length packet. + */ td->td_cbp = 0; - td->td_be = ~0; + td->td_be = 0; td->len = 0; } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903271656.n2RGu18p066500>