I'm writing a controller driver for the UDC in some Renesas SuperH devices. It is more or less working now but does need more testing and debugging. My device is more basic in some respects than the existing gadget UDC drivers but it does still have on-chip FIFOs.

I would have thought that your device does have at least a one byte transmit/recieve buffer per end point. So can't you just write the driver as if it had a 1 byte FIFO?

I could send you a copy of my driver if you think it would help, but as I said it's not completely tested yet.

Julian Back

Miroslaw KLABA wrote:

Hello,

I wanted to know if there are any controller driver already written for Gadget
API, other than the netchip 2280 one?
I've got problems with the usb_ep_queue function. The chip, I want to write the
code for (Philips D12), has no FIFO inside, so either I have to make the
usb_ep_queue not really as a queue function, but rather as a direct write
function (which makes the driver not conform to the Gadget API doc), either
I have to write a FIFO queue in the driver and a write function to the usb
device controller at the end.
Am I right?
I hope that seeing driver code for other more "basic" chips could help me.

Thanks
Miro


------------------------------------------------------- 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







-------------------------------------------------------
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