Re: kernel panic trying to utilize a da(4)/umass(4) device with ohci(4)

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Sat, 22 Nov 2003 14:46:47 +0100
On Sat, Nov 22, 2003 at 08:08:29AM -0500, Brian F. Feldman wrote:
> Found it!!!  Definitely a problem created then...
> 
> --- ohci.c      12 Nov 2003 01:40:11 -0000      1.138
> +++ ohci.c      22 Nov 2003 03:28:42 -0000
> _at__at_ -569,7 +569,7 _at__at_
>                 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;
> 
> I'm a lot happier now :-)  Let's start trying to get this stuff merged in!

Great news!

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso_at_bwct.de                                  info_at_bwct.de
Received on Sat Nov 22 2003 - 04:47:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC