USB 1.0 IDE to ATAPI drive enclosure failure
Barney Wolff
barney at databus.com
Mon Nov 24 15:01:15 PST 2003
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 at 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.
More information about the freebsd-current
mailing list