ChangeSet 1.1673.8.41, 2004/03/26 14:25:35-08:00, [EMAIL PROTECTED]

[PATCH] IXP425 -> IXP4XX conversion for USB-gadget

The 2.6 code for Intel's IXP4xx NPU line has been updated to
remove all references to IXP42x or IXP425 and replace it
with IXP4XX, including config options and file names. This
patch updates the USB-gadget pxa-udc driver with these changes.


 drivers/usb/gadget/Kconfig      |    4 ++--
 drivers/usb/gadget/pxa2xx_udc.c |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)


diff -Nru a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
--- a/drivers/usb/gadget/Kconfig        Wed Apr 14 14:36:46 2004
+++ b/drivers/usb/gadget/Kconfig        Wed Apr 14 14:36:46 2004
@@ -71,8 +71,8 @@
        default USB_GADGET
 
 config USB_GADGET_PXA2XX
-       boolean "PXA 2xx or IXP 42x"
-       depends on ARCH_PXA || ARCH_IXP425
+       boolean "PXA 2xx or IXP 4xx"
+       depends on ARCH_PXA || ARCH_IXP4XX
        help
           Intel's PXA 2xx series XScale ARM-5TE processors include
           an integrated full speed USB 1.1 device controller.  The
diff -Nru a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c
--- a/drivers/usb/gadget/pxa2xx_udc.c   Wed Apr 14 14:36:46 2004
+++ b/drivers/usb/gadget/pxa2xx_udc.c   Wed Apr 14 14:36:46 2004
@@ -94,7 +94,7 @@
 #define        UDC_PROC_FILE
 #endif
 
-#ifdef CONFIG_ARCH_IXP425
+#ifdef CONFIG_ARCH_IXP4XX
 #undef USE_DMA
 
 /* cpu-specific register addresses are compiled in to this code */
@@ -2374,8 +2374,8 @@
 #if    defined(CONFIG_ARCH_PXA)
 #define CP15R0_XSCALE_VALUE    0x69052000      /* intel/arm/xscale */
 
-#elif  defined(CONFIG_ARCH_IXP425)
-#define CP15R0_XSCALE_VALUE    0x69054000      /* intel/arm/ixp425 */
+#elif  defined(CONFIG_ARCH_IXP4XX)
+#define CP15R0_XSCALE_VALUE    0x69054000      /* intel/arm/ixp4xx */
 
 #endif
 
@@ -2434,7 +2434,7 @@
                /* fall through */
        case PXA250_C0: case PXA210_C0:
                break;
-#elif  defined(CONFIG_ARCH_IXP425)
+#elif  defined(CONFIG_ARCH_IXP4XX)
        case IXP425_A0:
                out_dma = 0;
                break;



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to