Hi Mike,

On Thursday 28 October 2004 19:03, mike wrote:
>     Can i copy the usb gadget api from linux 2.4.27 or even linux 2.6.X? 
> which folders are needed? driver/usb/gadget/* and include/linux/usb_*?

The 2.4.27 code should be pretty happy on 2.4.18, but you might
have some small build issues to resolve.  Start with those files;
also there are some one-line additions to hook it into kbuild
(drivers/Makefile I think) and kernel configuration (where I
seem to recall drivers/usb/Config.in is involved).

The gadget drivers on 2.6 may be a bit more up-to-date, but start
with the 2.4.27 code.  I think the 2.6 <linux/usb_gadget.h> will
have added a few driver calls that might be useful, but you won't
want the driver model stuff in your 2.4 kernels!


>     I look follow the gadget and don;t see any usb driver on M9328MXL , 
> Do i need to code a new driver for gadget?

You'll need to implement a driver for the USB device controller
on the MC9328MXL chip.  Once you have that, be sure to test it
thoroughly(*) and then you'll probably find that the mass storage
code works well without much trouble at all.

- Dave

(*) http://www.linux-usb.org/usbtest/index.html#gadgets




-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to