On Sat, Jul 20, 2002 at 06:15:46PM -0700, David Brownell wrote:
> Part 1:
> 
>   - HCDs remove special (a) "can't queue" and (b) "only one packet"
>     limitations for interrupt transfers (*)

Is this _really_ needed?  Do any drivers do anything special right now
to work around this?  If this is a limitation of UHCI hardware, I don't
think it's worth the extra effort and code to queue these in the host
controller, when no drivers want this right now.


> Part 2:
> 
>   - HCDs remove (c) automagic resubmit
>   - USB device drivers updated to not rely on it (including usbfs)

This is something I see as needed, but does "Part 1" really have to
happen before this is done?

> The tricky bit is removing the automagic resubmission, since that's
> something drivers rely on as "automagic" ... I don't know a way to make
> the inevitable unmodified drivers generate compile time errors, which
> would leave them as nasty runtime failure modes.  And being backwards
> compatible here isn't straightforward problem.
> 
> I suspect that the best solution here is not to completely remove
> this capability, but just define a new transfer flag to explicitly
> disable the automagic resubmit.

No.  Let's rip it out.  Make the driver do the resubmit, just like they
have to do for bulk urbs.  No special cases or flags needed.

> Note that this doesn't address the SL-811 and CRIS host controller
> drivers, both of which are in the 2.5 tree.  I've cc'd the author
> of the SL-811 code; there's no email address on the CRIS code.
> Or any of the various host controller drivers that aren't living in
> any of the standard Linux kernel trees.

If it isn't in the kernel tree, don't worry about it :)

I spoke with someone involved in the SL-811 driver at OLS.  Hopefully he
will be sending me a code update soon for it.

If you change something in the API that needs to be changed in the
driver, and you can't figure out how to do it easily, put a nice #error
in the driver to alert people to this fact when they try to build it.

The CRIS people have said that 2.5 doesn't work at all on their
platform...

thanks,

greg k-h


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to