-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 20 October 2003 12:12 am, David Brownell wrote:
> No, IPR is set _implicitly_ when the FIFO fills ... that's
> why it's only set _explicitly_ to send short packets.  See the
> UDC spec; you just made it send a full packet (16 bytes) followed
> by a ZLP.  Which the host sees as a failed read (too short), and
> that's what causes the reset.  (That's typical for device side
> controllers.)

Interesting.. The UDC docs say for me that I need to set it to send the first 
packet... And once I removed the printk's, I no longer had the resetting 
issue.

> I seem to recall that IPR is wierd in various ways though.
> Isn't that the bit that you can't read -- but which, when the
> host clears it, you get an IRQ?  So if there's an IRQ that
> doesn't have any obvious source, you've got to conclude it
> was IPR clearing.

Right.

> Not conducive to robust behavior, and
> it's one of the things that's made me avoid touching any
> of the IRQ/PIO code since it seemed to fall "into the groove"
> and behave in all the regression tests.

I'm telling you, whoever designed the UDC must've had obsessive-compulsive 
disorder... "Is the packet there yet? Yet? How about now? *pokepokepokepoke*" 
"YES IT'S THERE!" ".. oh, ok. Can I send it yet? Yet? How about now?" ....

> I'll have to see if the 2.6.0-test8-rmk1 patch works for me;
> there are so many missing PXA drivers that all I can really
> test on 2.6 is booting on NFS-over-Ether-over-USB, which works
> just fine (even with DMA!), at least on a PXA255.

Aiee, heh...

Anyway, handhelds.org CVS seems to "work". Well, except for that, uh, issue 
where, uh, OUT packets in bulk just stopped working. But I'll debug that 
Soon. :)

> - Dave
/joshua

- -- 
Joshua Wise | www.joshuawise.com
GPG Key     | 0xEA80E0B3
Quote       | <lilo> I akilled [EMAIL PROTECTED] by mistake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/k2EMPn9tWOqA4LMRAtofAJ0bYVVvQvARDc2V8ONblzYNptB6EQCfYbJo
5rw4Qz76Zw9kNC05ebLgiaQ=
=qh0N
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to