May I have one more question?
When you create a new bulk or interrupt endpoint epopen is called.
The aux field of the Ep is set to point to an array of two Qio
structures. One for input and one for output. Both of those in turn
have a pointer to, and a one-to-one correspondence with, an endpoint
We don't follow the spec that close. I think linux calls this pipes,
but I'm not sure now. In any case, IIRC, we could do I/O on
those eps [but I'm kind of sleepy now and don't have the code at hand,
so don't trust me too much on this; I can double check later if you
want me to do that.]
On the
(note that the std would call each simplex chan an endpoint, but
you can pair two of them and consider them an endpoint when they are duplex)
As an example, I have a usb device which presents both an input
endpoint #2 and an output endpoint #2. The standard would treat these
as separate
Beware that numbers as shown by plan 9 might not be those shown by linux, for
example. In any case, it can differ for different devices, although most of them
look the same if they are of the same kind.
On Tue, Feb 22, 2011 at 6:39 PM, r...@hemiola.co.uk wrote:
presents both an input endpoint