Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2003 14:46:47 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        "Brian F. Feldman" <green@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: kernel panic trying to utilize a da(4)/umass(4) device with ohci(4)
Message-ID:  <20031122134646.GH74178@cicely12.cicely.de>
In-Reply-To: <200311221308.hAMD8TQ4000993@green.bikeshed.org>
References:  <20031121202949.GE74178@cicely12.cicely.de> <200311221308.hAMD8TQ4000993@green.bikeshed.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> @@ -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;
> 
> 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@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031122134646.GH74178>