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

From: Josef Karthauser <joe_at_FreeBSD.org>
Date: Sat, 22 Nov 2003 17:07:20 +0000
On Sat, Nov 22, 2003 at 08:08:29AM -0500, Brian F. Feldman wrote:
> > 
> > We never did any page crossing on ohci/ehci bevor the newbus change
> > took place.
> 
> 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!
> 

Cool as!!! Good call.

Joe
-- 
Josef Karthauser (joe_at_tao.org.uk)	       http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker)     http://www.uk.FreeBSD.org/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================

Received on Sat Nov 22 2003 - 08:07:23 UTC

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