Date: Mon, 24 Nov 2003 18:01:06 -0500 From: Barney Wolff <barney@databus.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-current@freebsd.org Subject: Re: USB 1.0 IDE to ATAPI drive enclosure failure Message-ID: <20031124230106.GB42006@pit.databus.com> In-Reply-To: <20031124.153542.50239989.imp@bsdimp.com> References: <bptu39$khk$1@sea.gmane.org> <20031124220029.GA40910@pit.databus.com> <20031124.153542.50239989.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 24, 2003 at 03:35:42PM -0700, M. Warner Losh wrote: > : Why hasn't anything been committed? > > Code freeze? I understand the concept, but I haven't seen any reports of people claiming that OHCI works for other than mice/keyboards without the following patch (from "Brian F. Feldman" <green@freebsd.org>): --- ohci.c 12 Nov 2003 01:40:11 -0000 1.138 +++ ohci.c 22 Nov 2003 03:28:42 -0000 @@ -569,7 +569,7 @@ cur->td.td_cbp = htole32(dataphys); cur->nexttd = next; cur->td.td_nexttd = htole32(next->physaddr); - cur->td.td_be = htole32(DMAADDR(dma, curlen - 1)); + cur->td.td_be = htole32(DMAADDR(dma, offset + curlen - 1)); cur->len = curlen; cur->flags = OHCI_ADD_LEN; cur->xfer = xfer; It cured my problems with a Sony DSC F707. Maybe most people with OHCI controllers haven't had problems, but if so they've been quietly satisfied. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031124230106.GB42006>