FreeBSD Bugzilla – Attachment 17315 Details for
Bug 31455
[PATCH] ohci driver problem when send data with USBD_FORCE_SHORT_XFER flag.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 979 bytes, created by
Hiroyuki Aizu
on 2001-10-23 17:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Hiroyuki Aizu
Created:
2001-10-23 17:10:00 UTC
Size:
979 bytes
patch
obsolete
>--- ohci.c.orig Wed Nov 1 08:23:29 2000 >+++ ohci.c Tue Oct 23 16:55:12 2001 >@@ -551,6 +551,10 @@ > if ((flags & USBD_FORCE_SHORT_XFER) && > len % UGETW(opipe->pipe.endpoint->edesc->wMaxPacketSize) == 0) { > /* Force a 0 length transfer at the end. */ >+ >+ cur->td.td_flags = LE(tdflags | OHCI_TD_NOINTR); >+ cur = next; >+ > next = ohci_alloc_std(sc); > if (next == 0) > goto nomem; >@@ -559,10 +563,9 @@ > cur->td.td_cbp = 0; /* indicate 0 length packet */ > cur->nexttd = next; > cur->td.td_nexttd = LE(next->physaddr); >- cur->td.td_be = LE(dataphys - 1); >+ cur->td.td_be = ~0; > cur->len = 0; > cur->flags = 0; >- cur = next; > DPRINTFN(2,("ohci_alloc_std_chain: add 0 xfer\n")); > } > cur->flags = OHCI_CALL_DONE | OHCI_ADD_LEN;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31455
: 17315