cvs commit: src/sys/dev/usb ohci.c

John-Mark Gurney gurney_j at efn.org
Wed Dec 3 10:46:44 PST 2003


Ian Dowse wrote this message on Mon, Nov 24, 2003 at 18:23 -0800:
> iedowse     2003/11/24 18:23:29 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/usb          ohci.c 
>   Log:
>   Write the correct value to `td_be' for the second and further
>   transfer descriptors when a large request needs to be split into
>   more than one 8k chunk. The bug was that the calculation did not
>   take into account the offset of the chunk within the overall request.
>   This is reported to fix crashes and data corruption on ohci
>   controllers.
>   
>   Submitted by:   green
>   Approved by:    re

Thanks for tracking this down for me.  I wonder how/why it worked on
my system with such an obvious bug!!

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the cvs-src mailing list