I am porting uClinux 2.6.x to a Micro/sys SBC1625 board. The processor of this board is a IXP420BB.
My need is to use of "File-backed Storage Gadget". I have find some problems in the ..../linux-2.6.x/drivers/usb/gadget/pxa2xx_udc.c. For compile and execute this file I have : - include <asm/arch/ixp4xx-regs.h> rather than <asm/arch/pxa-regs.h> - add "#define IXP420_BB 0x000001F1" for the IXP420BB processor - add the case below : #elif defined(CONFIG_ARCH_IXP4XX) case IXP425_A0: case IXP420_BB: <----------------------- out_dma = 0; break; #endif - comments the lines : static int __exit pxa2xx_udc_remove(struct platform_device *pdev) { struct pxa2xx_udc *dev = platform_get_drvdata(pdev); udc_disable(dev); remove_proc_files(); usb_gadget_unregister_driver(dev->driver); if (dev->got_irq) { free_irq(IRQ_USB, dev); dev->got_irq = 0; } /* if (machine_is_lubbock()) { <---------- free_irq(LUBBOCK_USB_DISC_IRQ, dev); <---------- free_irq(LUBBOCK_USB_IRQ, dev); <---------- } */ <---------- platform_set_drvdata(pdev, NULL); the_controller = NULL; return 0; } because LUBBOCK_USB_DISC_IRQ and LUBBOCK_USB_IRQ are defined for the ixp4xx. Is it necessary to make something for the ixp4xx ? For me it is OK, my kernel is compiled. Some of these modifications are perhaps good the future kernel. Who collect informations for kernel modifications ? Best regards. Jean-François Rousval http://pros.orange.fr/rousval/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel