Re: at91_udc driver does not forward data received from host if size is less than ep buffer and size %64 == 0

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thursday 22 February 2007 1:35 pm, Jeff Warren wrote:

> To be honest, I don't know what at91_udc does when it receives a ZLP
> since I can't easily generate one on the Windows host.  So maybe it does
> set one of the FIFO bank flags on the csr register and passes through
> read_fifo(), which in turn then calls done().

It's certainly _supposed_ to Do The Right Thing and terminate the
read immediately.  I don't have time to re-learn that hardware, so
unless you can show that it's got a bug, I'll assume it works right.

That's a fairly basic mechanism, and I'd be surprised if such a bug
has gone undetected for over a year and a half ...

- Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.