]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Write the correct value to `td_be' for the second and further
authoriedowse <iedowse@FreeBSD.org>
Tue, 25 Nov 2003 02:23:29 +0000 (02:23 +0000)
committeriedowse <iedowse@FreeBSD.org>
Tue, 25 Nov 2003 02:23:29 +0000 (02:23 +0000)
commit36326ca6deb3efc1d462508ef72f326ccda358e3
tree3aaa19e3b078581a2d46ac1c95a281578787e8b3
parent3d91d7a63c4b1799a9a377b3601e738abaeafaf5
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
sys/dev/usb/ohci.c