Hello.

David Brownell wrote:

Sounds better.  Of course, the older "RNDIS" mode wasn't
actually fully conformant with RNDIS specs, or it could
   I haven't even seen this spec. :-)

Grab them from the MSFT website somewhere.  Ancient,
incomplete, badly designed ... but downloadable.

Maybe I have (or tried but not found it) -- don't remember already with so much work done. :-)

The issue is packet termination.  If the DMA descriptor
says "N bytes", that should terminate after either
(a) a short packet, (b) RX N bytes, even if that didn't
involve a short packet termination,

Exactly how generic RNDIS mode works, except the programmed length must be a multiple of the packet size...

or (c) on error,
including RX of N+ bytes, with the last packet too big
to fit into what's left of the buffer.

  That shouldn't happen with generic RNDIS mode.

The older mode got at least (b) wrong.

  Yep.

have been used for all transfers.  All RNDIS did was
follow the DMA policy that (non-UHCI) PCI based host
controllers use to avoid extra IRQs.
   Oh, UHCI can't coalesce packets?

Its DMA descriptors are for single packets.

  Well, UHCI sucks. :-)

WBR, Sergei



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to