fix typo in atheros image makefile
[openwrt.git] / target / linux / ixp4xx / patches-2.6.26 / 204-npe_driver_ixp43x_support.patch
index 411e0cb..4cefc44 100644 (file)
@@ -1,6 +1,18 @@
+From cba5c286f3ea34ea4767fc00c705434a00fe2c37 Mon Sep 17 00:00:00 2001
+From: Imre Kaloz <kaloz@openwrt.org>
+Date: Thu, 26 Jun 2008 01:58:02 +0200
+Subject: [PATCH] Add support for the ethernet ports on IXP43x
+
+---
+ arch/arm/mach-ixp4xx/ixp4xx_npe.c         |    6 +++---
+ drivers/net/arm/ixp4xx_eth.c              |   13 +++++++++----
+ include/asm-arm/arch-ixp4xx/cpu.h         |    2 ++
+ include/asm-arm/arch-ixp4xx/ixp4xx-regs.h |    7 ++++---
+ 4 files changed, 18 insertions(+), 10 deletions(-)
+
 --- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
 +++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
-@@ -575,8 +575,8 @@
+@@ -575,8 +575,8 @@ int npe_load_firmware(struct npe *npe, c
                for (i = 0; i < image->size; i++)
                        image->data[i] = swab32(image->data[i]);
  
@@ -11,7 +23,7 @@
                          "IXP42x\n");
                goto err;
        }
-@@ -598,7 +598,7 @@
+@@ -598,7 +598,7 @@ int npe_load_firmware(struct npe *npe, c
                  "revision 0x%X:%X\n", (image->id >> 16) & 0xFF,
                  (image->id >> 8) & 0xFF, image->id & 0xFF);
  
@@ -30,7 +42,7 @@
  #include <asm/arch/npe.h>
  #include <asm/arch/qmgr.h>
  
-@@ -1338,12 +1339,16 @@
+@@ -1338,12 +1339,16 @@ static struct platform_driver drv = {
  
  static int __init eth_init_module(void)
  {
@@ -53,7 +65,7 @@
        return platform_driver_register(&drv);
 --- a/include/asm-arm/arch-ixp4xx/cpu.h
 +++ b/include/asm-arm/arch-ixp4xx/cpu.h
-@@ -34,6 +34,8 @@
+@@ -34,6 +34,8 @@ static inline u32 ixp4xx_read_feature_bi
        val &= ~IXP4XX_FEATURE_RESERVED;
        if (!cpu_is_ixp46x())
                val &= ~IXP4XX_FEATURE_IXP46X_ONLY;
This page took 0.027328 seconds and 4 git commands to generate.