On Wed, 21 Jan 2004, David Brownell wrote:

> Guennadi Liakhovetski wrote:
> >
> > The patch fixes #include, and some LUBBOCK #ifdefs. With it it worked.
>
> I'm not sure what version you were using, but I think the
> current version -- or even the very slightly older version
> just merged to 2.6.2-rc1 -- should have none of those issues.
> (I just sent out the patch that updates the rc1 version.)
>
> Please verify that when you get a chance!

Ok, but this is needed:

[EMAIL PROTECTED]:~/usr/src/kernel$ diff -u 
linux-2.6.1/drivers/usb/gadget/pxa2xx_udc.c 
linux-2.6.0-rmk2-pxa/drivers/usb/gadget/pxa2xx_udc.c
--- linux-2.6.1/drivers/usb/gadget/pxa2xx_udc.c Fri Jan 23 00:42:31 2004
+++ linux-2.6.0-rmk2-pxa/drivers/usb/gadget/pxa2xx_udc.c        Mon Jan 26 22:30:50 
2004
@@ -2443,6 +2443,7 @@
        }
        dev->got_irq = 1;

+#ifdef CONFIG_ARCH_LUBBOCK
        if (machine_is_lubbock()) {
                disable_irq(LUBBOCK_USB_DISC_IRQ);
                retval = request_irq(LUBBOCK_USB_DISC_IRQ,
@@ -2457,7 +2458,7 @@
                }
                dev->got_disc = 1;
        }
-
+#endif
        create_proc_files();

        return 0;

Otherwise you get undefined usb_connection_irq for non-lubbock.

Thanks
Guennadi
---
Guennadi Liakhovetski




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to