Hi

1) Maybe it's already fixed, then, please, ignore.

2) Of all authors the easiest for me was to find email-addresses of David
Brownell and Robert Schwebel, that's why I am CC-ing them.

The patch fixes #include, and some LUBBOCK #ifdefs. With it it worked.

Thanks
Guennadi
---
Guennadi Liakhovetski

--- pxa2xx_udc.c~       Fri Jan  2 00:05:09 2004
+++ pxa2xx_udc.c        Wed Jan 21 23:53:57 2004
@@ -50,7 +50,7 @@
 #include <asm/irq.h>
 #include <asm/system.h>
 #include <asm/unaligned.h>
-#include <asm/proc/cache.h>
+#include <asm/cache.h>

 #include <linux/usb_ch9.h>
 #include <linux/usb_gadget.h>
@@ -1480,7 +1480,7 @@

 /*-------------------------------------------------------------------------*/

-#ifdef LUBBOCK_USB_DISC_IRQ
+#ifdef CONFIG_ARCH_LUBBOCK

 /* Lubbock can report connect or disconnect irqs.  Likely more hardware
  * could support it as a timer callback.
@@ -1972,7 +1972,7 @@
                free_irq(IRQ_USB, dev);
                dev->got_irq = 0;
        }
-#ifdef LUBBOCK_USB_DISC_IRQ
+#ifdef CONFIG_ARCH_LUBBOCK
        if (dev->got_disc) {
                free_irq(LUBBOCK_USB_DISC_IRQ, dev);
                dev->got_disc = 0;
@@ -2307,7 +2307,7 @@
        }
        dev->got_irq = 1;

-#ifdef LUBBOCK_USB_DISC_IRQ
+#ifdef CONFIG_ARCH_LUBBOCK
        retval = request_irq(LUBBOCK_USB_DISC_IRQ,
                        usb_connection_irq,
                        SA_INTERRUPT | SA_SAMPLE_RANDOM,





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