>> Why does the kernel die?

> The host controller authors can answer this one

Looking at the source we see in uhci.c:uhci_submit_bulk()
the loop
        do {
                ...
                len -= maxsze;
                ...
        } while (len > 0);

When maxsze is zero this loop will take a long time.
Similar code occurs in uhci_submit_control().

Andries


[I would prefer testing at the place this maxsze is actually
used. Maybe that is less code and more readable source.]

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to