Changeset 31158


Ignore:
Timestamp:
2012-04-01T09:56:55+02:00 (6 years ago)
Author:
jogo
Message:

kernel: update linux 3.2 to 3.2.13 and refresh patches

Also remove a duplicate patch from lantiq (already in generic).

Location:
trunk
Files:
1 deleted
91 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel-version.mk

    r31046 r31158  
    3636  LINUX_KERNEL_MD5SUM:=3649bdaa50ffd9114cc16486ec54d83a 
    3737endif 
    38 ifeq ($(LINUX_VERSION),3.2.12) 
    39   LINUX_KERNEL_MD5SUM:=e3dd3772f0cf14d444a3fb474bd624fe 
     38ifeq ($(LINUX_VERSION),3.2.13) 
     39  LINUX_KERNEL_MD5SUM:=1966afd4474000e48fb1e22a5991882e 
    4040endif 
    4141ifeq ($(LINUX_VERSION),3.3) 
  • trunk/target/linux/ar71xx/Makefile

    r31107 r31158  
    1414SUBTARGETS:=generic nand 
    1515 
    16 LINUX_VERSION:=3.2.12 
     16LINUX_VERSION:=3.2.13 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch

    r31025 r31158  
    11--- a/arch/mips/ath79/machtypes.h 
    22+++ b/arch/mips/ath79/machtypes.h 
    3 @@ -51,6 +51,7 @@ enum ath79_mach_type { 
     3@@ -52,6 +52,7 @@ enum ath79_mach_type { 
    44        ATH79_MACH_RB_493,              /* Mikrotik RouterBOARD 493/493AH */ 
    55        ATH79_MACH_RB_493G,             /* Mikrotik RouterBOARD 493G */ 
  • trunk/target/linux/au1000/Makefile

    r31028 r31158  
    1414MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1515 
    16 LINUX_VERSION:=3.2.12 
     16LINUX_VERSION:=3.2.13 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/brcm47xx/Makefile

    r31028 r31158  
    1212FEATURES:=squashfs usb pcmcia 
    1313 
    14 LINUX_VERSION:=3.2.12 
     14LINUX_VERSION:=3.2.13 
    1515 
    1616include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/cns21xx/Makefile

    r31028 r31158  
    1313CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves 
    1414 
    15 LINUX_VERSION:=3.2.12 
     15LINUX_VERSION:=3.2.13 
    1616 
    1717include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/ep93xx/Makefile

    r31028 r31158  
    1414MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1515 
    16 LINUX_VERSION:=3.2.12 
     16LINUX_VERSION:=3.2.13 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/generic/patches-3.2/120-ppp_txqueue_restart.patch

    r31096 r31158  
    2323Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> 
    2424 
    25 --- a/drivers/net/ppp/ppp_generic.c~    2012-01-26 00:39:32.000000000 +0000 
    26 +++ b/drivers/net/ppp/ppp_generic.c     2012-03-26 10:32:31.286744147 +0100 
     25--- a/drivers/net/ppp/ppp_generic.c 
     26+++ b/drivers/net/ppp/ppp_generic.c 
    2727@@ -235,7 +235,7 @@ struct ppp_net { 
    2828 /* Prototypes. */ 
     
    7474  
    7575 static inline struct sk_buff * 
    76  
    77 --  
    78 David Woodhouse                            Open Source Technology Centre 
    79 David.Woodhouse@intel.com                              Intel Corporation 
    80  
    81  
    82  
  • trunk/target/linux/lantiq/Makefile

    r31060 r31158  
    1313DEFAULT_SUBTARGET:=danube 
    1414 
    15 LINUX_VERSION:=3.2.12 
     15LINUX_VERSION:=3.2.13 
    1616 
    1717CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves 
  • trunk/target/linux/lantiq/patches-3.2/0001-GPIO-add-bindings-for-managed-devices.patch

    r31060 r31158  
    1616 create mode 100644 drivers/gpio/devres.c 
    1717 
    18 diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile 
    19 index 4e018d6..76dbd3f 100644 
    2018--- a/drivers/gpio/Makefile 
    2119+++ b/drivers/gpio/Makefile 
     
    2927 # Device drivers. Generally keep list sorted alphabetically 
    3028 obj-$(CONFIG_GPIO_GENERIC)     += gpio-generic.o 
    31 diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c 
    32 new file mode 100644 
    33 index 0000000..3dd2939 
    3429--- /dev/null 
    3530+++ b/drivers/gpio/devres.c 
     
    125120+} 
    126121+EXPORT_SYMBOL(devm_gpio_free); 
    127 diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h 
    128 index 8c86210..8601a02 100644 
    129122--- a/include/asm-generic/gpio.h 
    130123+++ b/include/asm-generic/gpio.h 
    131 @@ -175,6 +175,10 @@ extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *labe 
     124@@ -175,6 +175,10 @@ extern int gpio_request_one(unsigned gpi 
    132125 extern int gpio_request_array(const struct gpio *array, size_t num); 
    133126 extern void gpio_free_array(const struct gpio *array, size_t num); 
     
    140133  
    141134 /* 
    142 --  
    143 1.7.7.1 
    144  
  • trunk/target/linux/lantiq/patches-3.2/0002-MIPS-remove-unused-prototype-kgdb_config.patch

    r31060 r31158  
    88 1 files changed, 0 insertions(+), 4 deletions(-) 
    99 
    10 diff --git a/arch/mips/include/asm/mips-boards/generic.h b/arch/mips/include/asm/mips-boards/generic.h 
    11 index 46c0856..6e23ceb 100644 
    1210--- a/arch/mips/include/asm/mips-boards/generic.h 
    1311+++ b/arch/mips/include/asm/mips-boards/generic.h 
     
    2119- 
    2220 #endif  /* __ASM_MIPS_BOARDS_GENERIC_H */ 
    23 --  
    24 1.7.7.1 
    25  
  • trunk/target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch

    r31060 r31158  
    1414 1 files changed, 2 insertions(+), 1 deletions(-) 
    1515 
    16 diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c 
    17 index 4f10e27..764d468 100644 
    1816--- a/drivers/mtd/maps/lantiq-flash.c 
    1917+++ b/drivers/mtd/maps/lantiq-flash.c 
     
    2624 static map_word 
    2725 ltq_read16(struct map_info *map, unsigned long adr) 
    28 @@ -168,7 +169,7 @@ ltq_mtd_probe(struct platform_device *pdev) 
     26@@ -168,7 +169,7 @@ ltq_mtd_probe(struct platform_device *pd 
    2927        cfi->addr_unlock1 ^= 1; 
    3028        cfi->addr_unlock2 ^= 1; 
     
    3533        if (err) { 
    3634                dev_err(&pdev->dev, "failed to add partitions\n"); 
    37 --  
    38 1.7.7.1 
    39  
  • trunk/target/linux/lantiq/patches-3.2/0004-MTD-add-m25p80-id-for-mx25l2005a.patch

    r31060 r31158  
    88 1 files changed, 1 insertions(+), 0 deletions(-) 
    99 
    10 diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c 
    11 index 884904d..3f37f5f 100644 
    1210--- a/drivers/mtd/devices/m25p80.c 
    1311+++ b/drivers/mtd/devices/m25p80.c 
    14 @@ -676,6 +676,7 @@ static const struct spi_device_id m25p_ids[] = { 
     12@@ -684,6 +684,7 @@ static const struct spi_device_id m25p_i 
    1513        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) }, 
    1614  
     
    2018        { "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) }, 
    2119        { "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) }, 
    22 --  
    23 1.7.7.1 
    24  
  • trunk/target/linux/lantiq/patches-3.2/0005-MIPS-lantiq-reorganize-xway-code.patch

    r31060 r31158  
    3939 create mode 100644 arch/mips/lantiq/xway/sysctrl.c 
    4040 
    41 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h 
    42 index ce2f029..66d7300 100644 
    4341--- a/arch/mips/include/asm/mach-lantiq/lantiq.h 
    4442+++ b/arch/mips/include/asm/mach-lantiq/lantiq.h 
     
    6765 extern unsigned int ltq_get_soc_type(void); 
    6866  
    69 @@ -51,7 +43,9 @@ extern void ltq_enable_irq(struct irq_data *data); 
     67@@ -51,7 +43,9 @@ extern void ltq_enable_irq(struct irq_da 
    7068  
    7169 /* find out what caused the last cpu reset */ 
     
    7876 #define IOPORT_RESOURCE_START  0x10000000 
    7977 #define IOPORT_RESOURCE_END    0xffffffff 
    80 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    81 index 8a3c6be..9b7ee366 100644 
    8278--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    8379+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    122118 static inline int ltq_is_ar9(void) 
    123119 { 
    124 diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c 
    125 index 77ed70f..39eef7f 100644 
    126120--- a/arch/mips/lantiq/clk.c 
    127121+++ b/arch/mips/lantiq/clk.c 
     
    157151-       if (insert_resource(&iomem_resource, &ltq_cgu_resource) < 0) 
    158152-               panic("Failed to insert cgu memory\n"); 
    159 - 
     153+       ltq_soc_init(); 
     154  
    160155-       if (request_mem_region(ltq_cgu_resource.start, 
    161156-                       resource_size(&ltq_cgu_resource), "cgu") < 0) 
    162157-               panic("Failed to request cgu memory\n"); 
    163 +       ltq_soc_init(); 
    164   
     158- 
    165159-       ltq_cgu_membase = ioremap_nocache(ltq_cgu_resource.start, 
    166160-                               resource_size(&ltq_cgu_resource)); 
     
    175169        clk_put(clk); 
    176170 } 
    177 diff --git a/arch/mips/lantiq/devices.c b/arch/mips/lantiq/devices.c 
    178 index de1cb2b..7193d78 100644 
    179171--- a/arch/mips/lantiq/devices.c 
    180172+++ b/arch/mips/lantiq/devices.c 
     
    194186 static struct platform_device ltq_nor = { 
    195187        .name           = "ltq_nor", 
    196 @@ -47,12 +43,8 @@ void __init ltq_register_nor(struct physmap_flash_data *data) 
     188@@ -47,12 +43,8 @@ void __init ltq_register_nor(struct phys 
    197189 } 
    198190  
     
    236228        IRQ_RES(rx, LTQ_ASC_RIR(1)), 
    237229        IRQ_RES(err, LTQ_ASC_EIR(1)), 
    238 diff --git a/arch/mips/lantiq/devices.h b/arch/mips/lantiq/devices.h 
    239 index 2947bb1..a03c23f 100644 
    240230--- a/arch/mips/lantiq/devices.h 
    241231+++ b/arch/mips/lantiq/devices.h 
     
    251241 extern void ltq_register_nor(struct physmap_flash_data *data); 
    252242 extern void ltq_register_wdt(void); 
    253 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
    254 index e34fcfd..e3b1e25 100644 
    255243--- a/arch/mips/lantiq/prom.c 
    256244+++ b/arch/mips/lantiq/prom.c 
     
    266254  
    267255 unsigned int ltq_get_cpu_ver(void) 
    268 @@ -55,16 +59,51 @@ static void __init prom_init_cmdline(void) 
     256@@ -55,16 +59,51 @@ static void __init prom_init_cmdline(voi 
    269257        } 
    270258 } 
     
    276264+       __iomem void *ret = NULL; 
    277265+       struct resource *lookup = lookup_resource(&iomem_resource, res->start); 
    278 + 
     266  
    279267+       if (lookup && strcmp(lookup->name, res->name)) { 
    280268+               pr_err("conflicting memory range %s\n", res->name); 
     
    292280+               goto err_res; 
    293281+       } 
    294   
     282+ 
    295283+       ret = ioremap_nocache(res->start, resource_size(res)); 
    296284+       if (!ret) 
     
    324312        pr_info("SoC: %s\n", soc_info.sys_type); 
    325313        prom_init_cmdline(); 
    326 diff --git a/arch/mips/lantiq/prom.h b/arch/mips/lantiq/prom.h 
    327 index b4229d9..51dba1b 100644 
    328314--- a/arch/mips/lantiq/prom.h 
    329315+++ b/arch/mips/lantiq/prom.h 
     
    350336  
    351337 #endif 
    352 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    353 index c517f2e..6678402 100644 
    354338--- a/arch/mips/lantiq/xway/Makefile 
    355339+++ b/arch/mips/lantiq/xway/Makefile 
     
    365349 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    366350 obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    367 diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c 
    368 index d614aa7..f97e565 100644 
    369351--- a/arch/mips/lantiq/xway/devices.c 
    370352+++ b/arch/mips/lantiq/xway/devices.c 
     
    439421 static struct platform_device ltq_etop = { 
    440422        .name           = "ltq_etop", 
    441 diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c 
    442 index cbb6ae5..60cd11f 100644 
    443423--- a/arch/mips/lantiq/xway/dma.c 
    444424+++ b/arch/mips/lantiq/xway/dma.c 
     
    486466                panic("Failed to remap dma memory\n"); 
    487467  
    488 diff --git a/arch/mips/lantiq/xway/ebu.c b/arch/mips/lantiq/xway/ebu.c 
    489 deleted file mode 100644 
    490 index 033b318..0000000 
    491468--- a/arch/mips/lantiq/xway/ebu.c 
    492469+++ /dev/null 
     
    544521- 
    545522-postcore_initcall(lantiq_ebu_init); 
    546 diff --git a/arch/mips/lantiq/xway/pmu.c b/arch/mips/lantiq/xway/pmu.c 
    547 deleted file mode 100644 
    548 index 39f0d26..0000000 
    549523--- a/arch/mips/lantiq/xway/pmu.c 
    550524+++ /dev/null 
     
    619593- 
    620594-core_initcall(ltq_pmu_init); 
    621 diff --git a/arch/mips/lantiq/xway/prom-ase.c b/arch/mips/lantiq/xway/prom-ase.c 
    622 index ae4959a..3f86a3b 100644 
    623595--- a/arch/mips/lantiq/xway/prom-ase.c 
    624596+++ b/arch/mips/lantiq/xway/prom-ase.c 
     
    631603  
    632604 #define SOC_AMAZON_SE  "Amazon_SE" 
    633 @@ -26,6 +27,7 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     605@@ -26,6 +27,7 @@ void __init ltq_soc_detect(struct ltq_so 
    634606 { 
    635607        i->partnum = (ltq_r32(LTQ_MPS_CHIPID) & PART_MASK) >> PART_SHIFT; 
     
    639611        case SOC_ID_AMAZON_SE: 
    640612                i->name = SOC_AMAZON_SE; 
    641 @@ -37,3 +39,10 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     613@@ -37,3 +39,10 @@ void __init ltq_soc_detect(struct ltq_so 
    642614                break; 
    643615        } 
     
    650622+       ltq_register_wdt(); 
    651623+} 
    652 diff --git a/arch/mips/lantiq/xway/prom-xway.c b/arch/mips/lantiq/xway/prom-xway.c 
    653 index 2228133..d823a92 100644 
    654624--- a/arch/mips/lantiq/xway/prom-xway.c 
    655625+++ b/arch/mips/lantiq/xway/prom-xway.c 
     
    662632  
    663633 #define SOC_DANUBE     "Danube" 
    664 @@ -28,6 +29,7 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     634@@ -28,6 +29,7 @@ void __init ltq_soc_detect(struct ltq_so 
    665635 { 
    666636        i->partnum = (ltq_r32(LTQ_MPS_CHIPID) & PART_MASK) >> PART_SHIFT; 
     
    670640        case SOC_ID_DANUBE1: 
    671641        case SOC_ID_DANUBE2: 
    672 @@ -52,3 +54,11 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     642@@ -52,3 +54,11 @@ void __init ltq_soc_detect(struct ltq_so 
    673643                break; 
    674644        } 
     
    682652+       ltq_register_wdt(); 
    683653+} 
    684 diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c 
    685 index 3d41f0b..ca2212a 100644 
    686654--- a/arch/mips/lantiq/xway/reset.c 
    687655+++ b/arch/mips/lantiq/xway/reset.c 
     
    729697                panic("Failed to remap rcu memory\n"); 
    730698  
    731 diff --git a/arch/mips/lantiq/xway/setup-ase.c b/arch/mips/lantiq/xway/setup-ase.c 
    732 deleted file mode 100644 
    733 index f6f3267..0000000 
    734699--- a/arch/mips/lantiq/xway/setup-ase.c 
    735700+++ /dev/null 
     
    754719-       ltq_register_wdt(); 
    755720-} 
    756 diff --git a/arch/mips/lantiq/xway/setup-xway.c b/arch/mips/lantiq/xway/setup-xway.c 
    757 deleted file mode 100644 
    758 index c292f64..0000000 
    759721--- a/arch/mips/lantiq/xway/setup-xway.c 
    760722+++ /dev/null 
     
    780742-       ltq_register_wdt(); 
    781743-} 
    782 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    783 new file mode 100644 
    784 index 0000000..8fd13a1 
    785744--- /dev/null 
    786745+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    864823+       ltq_ebu_w32(ltq_ebu_r32(LTQ_EBU_BUSCON0) & ~EBU_WRDIS, LTQ_EBU_BUSCON0); 
    865824+} 
    866 diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c 
    867 index 102aed0..179bf98 100644 
    868825--- a/drivers/watchdog/lantiq_wdt.c 
    869826+++ b/drivers/watchdog/lantiq_wdt.c 
     
    877834 /* Section 3.4 of the datasheet 
    878835  * The password sequence protects the WDT control register from unintended 
    879 --  
    880 1.7.7.1 
    881  
  • trunk/target/linux/lantiq/patches-3.2/0006-MIPS-lantiq-change-ltq_request_gpio-call-signature.patch

    r31060 r31158  
    1818 4 files changed, 26 insertions(+), 28 deletions(-) 
    1919 
    20 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    21 index 9b7ee366..87f6d24 100644 
    2220--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    2321+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    3331 extern void ltq_pmu_disable(unsigned int module); 
    3432 extern void ltq_cgu_enable(unsigned int clk); 
    35 diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c 
    36 index d2fa98f..f204f6c 100644 
    3733--- a/arch/mips/lantiq/xway/gpio.c 
    3834+++ b/arch/mips/lantiq/xway/gpio.c 
     
    4844        int id = 0; 
    4945  
    50 @@ -67,13 +67,13 @@ int ltq_gpio_request(unsigned int pin, unsigned int alt0, 
     46@@ -67,13 +67,13 @@ int ltq_gpio_request(unsigned int pin, u 
    5147                pin -= PINS_PER_PORT; 
    5248                id++; 
     
    6460                        LTQ_GPIO_ALTSEL1, pin); 
    6561        else 
    66 diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c 
    67 index ff9991c..2c78660 100644 
    6862--- a/arch/mips/lantiq/xway/gpio_stp.c 
    6963+++ b/arch/mips/lantiq/xway/gpio_stp.c 
     
    8175        /* sane defaults */ 
    8276        ltq_stp_w32(0, LTQ_STP_AR); 
    83 diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c 
    84 index be1e1af..c001c5a 100644 
    8577--- a/arch/mips/pci/pci-lantiq.c 
    8678+++ b/arch/mips/pci/pci-lantiq.c 
     
    145137 } 
    146138  
    147 --  
    148 1.7.7.1 
    149  
  • trunk/target/linux/lantiq/patches-3.2/0007-MIPS-lantiq-make-irq.c-support-the-FALC-ON.patch

    r31060 r31158  
    1717 1 files changed, 13 insertions(+), 11 deletions(-) 
    1818 
    19 diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
    20 index f9737bb..17c057f 100644 
    2119--- a/arch/mips/lantiq/irq.c 
    2220+++ b/arch/mips/lantiq/irq.c 
    23 @@ -195,7 +195,7 @@ static void ltq_hw_irqdispatch(int module) 
     21@@ -195,7 +195,7 @@ static void ltq_hw_irqdispatch(int modul 
    2422        do_IRQ((int)irq + INT_NUM_IM0_IRL0 + (INT_NUM_IM_OFFSET * module)); 
    2523  
     
    3937+               if (insert_resource(&iomem_resource, &ltq_eiu_resource) < 0) 
    4038+                       panic("Failed to insert eiu memory\n"); 
     39+ 
     40+               if (request_mem_region(ltq_eiu_resource.start, 
     41+                               resource_size(&ltq_eiu_resource), "eiu") < 0) 
     42+                       panic("Failed to request eiu memory\n"); 
    4143  
    4244-       if (request_mem_region(ltq_eiu_resource.start, 
    4345-                       resource_size(&ltq_eiu_resource), "eiu") < 0) 
    4446-               panic("Failed to request eiu memory\n"); 
    45 +               if (request_mem_region(ltq_eiu_resource.start, 
    46 +                               resource_size(&ltq_eiu_resource), "eiu") < 0) 
    47 +                       panic("Failed to request eiu memory\n"); 
    48   
     47- 
    4948-       ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start, 
    5049+               ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start, 
     
    6968                                handle_level_irq); 
    7069                /* EIU3-5 only exist on ar9 and vr9 */ 
    71 --  
    72 1.7.7.1 
    73  
  • trunk/target/linux/lantiq/patches-3.2/0008-MIPS-lantiq-add-basic-support-for-FALC-ON.patch

    r31060 r31158  
    3535 create mode 100644 arch/mips/lantiq/falcon/sysctrl.c 
    3636 
    37 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h b/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h 
    38 new file mode 100644 
    39 index 0000000..4dc6466 
    4037--- /dev/null 
    4138+++ b/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h 
     
    309306+ 
    310307+#endif /* _FALCON_IRQ__ */ 
    311 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/irq.h b/arch/mips/include/asm/mach-lantiq/falcon/irq.h 
    312 new file mode 100644 
    313 index 0000000..2caccd9 
    314308--- /dev/null 
    315309+++ b/arch/mips/include/asm/mach-lantiq/falcon/irq.h 
     
    333327+ 
    334328+#endif 
    335 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    336 new file mode 100644 
    337 index 0000000..b074748 
    338329--- /dev/null 
    339330+++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
     
    482473+#endif /* CONFIG_SOC_FALCON */ 
    483474+#endif /* _LTQ_XWAY_H__ */ 
    484 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h 
    485 index 66d7300..188de0f 100644 
    486475--- a/arch/mips/include/asm/mach-lantiq/lantiq.h 
    487476+++ b/arch/mips/include/asm/mach-lantiq/lantiq.h 
    488 @@ -25,6 +25,7 @@ extern unsigned int ltq_get_soc_type(void); 
     477@@ -25,6 +25,7 @@ extern unsigned int ltq_get_soc_type(voi 
    489478 /* clock speeds */ 
    490479 #define CLOCK_60M      60000000 
     
    494483 #define CLOCK_133M     133333333 
    495484 #define CLOCK_167M     166666667 
    496 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    497 index 3fccf21..cb6b39f 100644 
    498485--- a/arch/mips/lantiq/Kconfig 
    499486+++ b/arch/mips/lantiq/Kconfig 
     
    511498  
    512499 endif 
    513 diff --git a/arch/mips/lantiq/Makefile b/arch/mips/lantiq/Makefile 
    514 index e5dae0e..7e9c69e 100644 
    515500--- a/arch/mips/lantiq/Makefile 
    516501+++ b/arch/mips/lantiq/Makefile 
    517 @@ -9,3 +9,4 @@ obj-y := irq.o setup.o clk.o prom.o devices.o 
     502@@ -9,3 +9,4 @@ obj-y := irq.o setup.o clk.o prom.o devi 
    518503 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
    519504  
    520505 obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ 
    521506+obj-$(CONFIG_SOC_FALCON) += falcon/ 
    522 diff --git a/arch/mips/lantiq/Platform b/arch/mips/lantiq/Platform 
    523 index f3dff05..b3ec498 100644 
    524507--- a/arch/mips/lantiq/Platform 
    525508+++ b/arch/mips/lantiq/Platform 
     
    529512 cflags-$(CONFIG_SOC_TYPE_XWAY) += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway 
    530513+cflags-$(CONFIG_SOC_FALCON)    += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon 
    531 diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile 
    532 new file mode 100644 
    533 index 0000000..e9c7455 
    534514--- /dev/null 
    535515+++ b/arch/mips/lantiq/falcon/Makefile 
    536516@@ -0,0 +1 @@ 
    537517+obj-y := clk.o prom.o reset.o sysctrl.o devices.o 
    538 diff --git a/arch/mips/lantiq/falcon/clk.c b/arch/mips/lantiq/falcon/clk.c 
    539 new file mode 100644 
    540 index 0000000..afe1b52 
    541518--- /dev/null 
    542519+++ b/arch/mips/lantiq/falcon/clk.c 
     
    586563+} 
    587564+EXPORT_SYMBOL(ltq_get_fpi_hz); 
    588 diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c 
    589 new file mode 100644 
    590 index 0000000..c4606f2 
    591565--- /dev/null 
    592566+++ b/arch/mips/lantiq/falcon/devices.c 
     
    679653+       platform_device_register(&ltq_flash_nand); 
    680654+} 
    681 diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h 
    682 new file mode 100644 
    683 index 0000000..e802a7c 
    684655--- /dev/null 
    685656+++ b/arch/mips/lantiq/falcon/devices.h 
     
    703674+ 
    704675+#endif 
    705 diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c 
    706 new file mode 100644 
    707 index 0000000..b50d6f9 
    708676--- /dev/null 
    709677+++ b/arch/mips/lantiq/falcon/prom.c 
     
    802770+       } 
    803771+} 
    804 diff --git a/arch/mips/lantiq/falcon/reset.c b/arch/mips/lantiq/falcon/reset.c 
    805 new file mode 100644 
    806 index 0000000..cbcadc5 
    807772--- /dev/null 
    808773+++ b/arch/mips/lantiq/falcon/reset.c 
     
    895860+ 
    896861+arch_initcall(mips_reboot_setup); 
    897 diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c 
    898 new file mode 100644 
    899 index 0000000..905a142 
    900862--- /dev/null 
    901863+++ b/arch/mips/lantiq/falcon/sysctrl.c 
     
    10841046+       ltq_gpe_enable(); 
    10851047+} 
    1086 --  
    1087 1.7.7.1 
    1088  
  • trunk/target/linux/lantiq/patches-3.2/0009-MIPS-lantiq-add-support-for-FALC-ON-GPIOs.patch

    r31060 r31158  
    1717 create mode 100644 arch/mips/lantiq/falcon/gpio.c 
    1818 
    19 diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile 
    20 index e9c7455..de72209 100644 
    2119--- a/arch/mips/lantiq/falcon/Makefile 
    2220+++ b/arch/mips/lantiq/falcon/Makefile 
     
    2422-obj-y := clk.o prom.o reset.o sysctrl.o devices.o 
    2523+obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o 
    26 diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c 
    27 index c4606f2..4f47b44 100644 
    2824--- a/arch/mips/lantiq/falcon/devices.c 
    2925+++ b/arch/mips/lantiq/falcon/devices.c 
     
    8076+               ACTS_PADCTRL3 | ACTS_PADCTRL4 | ACTS_P3 | ACTS_P4); 
    8177+} 
    82 diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h 
    83 index e802a7c..18be8b6 100644 
    8478--- a/arch/mips/lantiq/falcon/devices.h 
    8579+++ b/arch/mips/lantiq/falcon/devices.h 
     
    9286  
    9387 #endif 
    94 diff --git a/arch/mips/lantiq/falcon/gpio.c b/arch/mips/lantiq/falcon/gpio.c 
    95 new file mode 100644 
    96 index 0000000..28f8639 
    9788--- /dev/null 
    9889+++ b/arch/mips/lantiq/falcon/gpio.c 
     
    497488+ 
    498489+postcore_initcall(falcon_gpio_init); 
    499 --  
    500 1.7.7.1 
    501  
  • trunk/target/linux/lantiq/patches-3.2/0010-MIPS-lantiq-add-support-for-the-EASY98000-evaluation.patch

    r31060 r31158  
    1818 create mode 100644 arch/mips/lantiq/falcon/mach-easy98000.c 
    1919 
    20 diff --git a/arch/mips/lantiq/falcon/Kconfig b/arch/mips/lantiq/falcon/Kconfig 
    21 new file mode 100644 
    22 index 0000000..03e999d 
    2320--- /dev/null 
    2421+++ b/arch/mips/lantiq/falcon/Kconfig 
     
    3532+ 
    3633+endif 
    37 diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile 
    38 index de72209..56b22eb 100644 
    3934--- a/arch/mips/lantiq/falcon/Makefile 
    4035+++ b/arch/mips/lantiq/falcon/Makefile 
     
    4237 obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o 
    4338+obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o 
    44 diff --git a/arch/mips/lantiq/falcon/mach-easy98000.c b/arch/mips/lantiq/falcon/mach-easy98000.c 
    45 new file mode 100644 
    46 index 0000000..361b8f0 
    4739--- /dev/null 
    4840+++ b/arch/mips/lantiq/falcon/mach-easy98000.c 
     
    158150+                       "EASY98000 Eval Board (NAND Flash)", 
    159151+                       easy98000nand_init); 
    160 diff --git a/arch/mips/lantiq/machtypes.h b/arch/mips/lantiq/machtypes.h 
    161 index 7e01b8c..dfc6af7 100644 
    162152--- a/arch/mips/lantiq/machtypes.h 
    163153+++ b/arch/mips/lantiq/machtypes.h 
     
    174164  
    175165 #endif 
    176 --  
    177 1.7.7.1 
    178  
  • trunk/target/linux/lantiq/patches-3.2/0011-MIPS-lantiq-fix-early-printk.patch

    r31060 r31158  
    1515 2 files changed, 14 insertions(+), 6 deletions(-) 
    1616 
    17 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    18 index 87f6d24..e31f52d 100644 
    1917--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    2018+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    3230 #define LTQ_RCU_BASE_ADDR      0x1F203000 
    3331 #define LTQ_RCU_SIZE           0x1000 
    34 diff --git a/arch/mips/lantiq/early_printk.c b/arch/mips/lantiq/early_printk.c 
    35 index 972e05f..5089075 100644 
    3632--- a/arch/mips/lantiq/early_printk.c 
    3733+++ b/arch/mips/lantiq/early_printk.c 
     
    6460        local_irq_restore(flags); 
    6561 } 
    66 --  
    67 1.7.7.1 
    68  
  • trunk/target/linux/lantiq/patches-3.2/0012-MIPS-lantiq-fix-cmdline-parsing.patch

    r31060 r31158  
    1313 1 files changed, 4 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
    16 index e3b1e25..acb8921 100644 
    1715--- a/arch/mips/lantiq/prom.c 
    1816+++ b/arch/mips/lantiq/prom.c 
    19 @@ -49,10 +49,12 @@ static void __init prom_init_cmdline(void) 
     17@@ -49,10 +49,12 @@ static void __init prom_init_cmdline(voi 
    2018        char **argv = (char **) KSEG1ADDR(fw_arg1); 
    2119        int i; 
     
    3230                        strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline)); 
    3331                } 
    34 --  
    35 1.7.7.1 
    36  
  • trunk/target/linux/lantiq/patches-3.2/0013-MIPS-lantiq-fix-STP-gpio-groups.patch

    r31060 r31158  
    1313 1 files changed, 5 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c 
    16 index 2c78660..cb6f170 100644 
    1715--- a/arch/mips/lantiq/xway/gpio_stp.c 
    1816+++ b/arch/mips/lantiq/xway/gpio_stp.c 
     
    3836        /* stp are update periodically by the FPI bus */ 
    3937        ltq_stp_w32_mask(LTQ_STP_UPD_MASK, LTQ_STP_UPD_FPI, LTQ_STP_CON1); 
    40 --  
    41 1.7.7.1 
    42  
  • trunk/target/linux/lantiq/patches-3.2/0014-MIPS-lantiq-fix-pull-gpio-up-resistors-usage.patch

    r31060 r31158  
    1313 1 files changed, 6 insertions(+), 0 deletions(-) 
    1414 
    15 diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c 
    16 index f204f6c..14ff7c7 100644 
    1715--- a/arch/mips/lantiq/xway/gpio.c 
    1816+++ b/arch/mips/lantiq/xway/gpio.c 
     
    2624 #define PINS_PER_PORT          16 
    2725 #define MAX_PORTS              3 
    28 @@ -106,6 +108,8 @@ static int ltq_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) 
     26@@ -106,6 +108,8 @@ static int ltq_gpio_direction_input(stru 
    2927  
    3028        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_OD, offset); 
     
    3533        return 0; 
    3634 } 
    37 @@ -117,6 +121,8 @@ static int ltq_gpio_direction_output(struct gpio_chip *chip, 
     35@@ -117,6 +121,8 @@ static int ltq_gpio_direction_output(str 
    3836  
    3937        ltq_gpio_setbit(ltq_gpio->membase, LTQ_GPIO_OD, offset); 
     
    4442  
    4543        return 0; 
    46 --  
    47 1.7.7.1 
    48  
  • trunk/target/linux/lantiq/patches-3.2/0015-MIPS-lantiq-add-default-configs.patch

    r31060 r31158  
    2020 create mode 100644 arch/mips/configs/xway_defconfig 
    2121 
    22 diff --git a/arch/mips/configs/ase_defconfig b/arch/mips/configs/ase_defconfig 
    23 new file mode 100644 
    24 index 0000000..5bb1d93 
    2522--- /dev/null 
    2623+++ b/arch/mips/configs/ase_defconfig 
     
    9390+CONFIG_STRIP_ASM_SYMS=y 
    9491+CONFIG_DEBUG_FS=y 
    95 diff --git a/arch/mips/configs/falcon_defconfig b/arch/mips/configs/falcon_defconfig 
    96 new file mode 100644 
    97 index 0000000..ce242a8 
    9892--- /dev/null 
    9993+++ b/arch/mips/configs/falcon_defconfig 
     
    171165+CONFIG_STRIP_ASM_SYMS=y 
    172166+CONFIG_DEBUG_FS=y 
    173 diff --git a/arch/mips/configs/xway_defconfig b/arch/mips/configs/xway_defconfig 
    174 new file mode 100644 
    175 index 0000000..510a964 
    176167--- /dev/null 
    177168+++ b/arch/mips/configs/xway_defconfig 
     
    243234+CONFIG_STRIP_ASM_SYMS=y 
    244235+CONFIG_DEBUG_FS=y 
    245 --  
    246 1.7.7.1 
    247  
  • trunk/target/linux/lantiq/patches-3.2/0016-MAINTAINERS-add-entry-for-Lantiq-related-files.patch

    r31060 r31158  
    1111 1 files changed, 12 insertions(+), 0 deletions(-) 
    1212 
    13 diff --git a/MAINTAINERS b/MAINTAINERS 
    14 index 62f1cd3..c04defd 100644 
    1513--- a/MAINTAINERS 
    1614+++ b/MAINTAINERS 
    17 @@ -4348,6 +4348,18 @@ S:       Supported 
     15@@ -4353,6 +4353,18 @@ S:       Supported 
    1816 F:     Documentation/mips/ 
    1917 F:     arch/mips/ 
     
    3432 M:     James Bottomley <James.Bottomley@HansenPartnership.com> 
    3533 S:     Maintained 
    36 --  
    37 1.7.7.1 
    38  
  • trunk/target/linux/lantiq/patches-3.2/0018-MIPS-lantiq-enable-oprofile-support-on-lantiq-target.patch

    r31060 r31158  
    1414 2 files changed, 6 insertions(+), 0 deletions(-) 
    1515 
    16 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    17 index d46f1da..c1ceadb 100644 
    1816--- a/arch/mips/Kconfig 
    1917+++ b/arch/mips/Kconfig 
     
    2624  
    2725 config LASAT 
    28 diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
    29 index 17c057f..0b2ed87 100644 
    3026--- a/arch/mips/lantiq/irq.c 
    3127+++ b/arch/mips/lantiq/irq.c 
     
    4945  
    5046 unsigned int __cpuinit get_c0_compare_int(void) 
    51 --  
    52 1.7.7.1 
    53  
  • trunk/target/linux/lantiq/patches-3.2/0019-NET-MIPS-lantiq-make-etop-ethernet-work-on-ase-ar9.patch

    r31060 r31158  
    1717 4 files changed, 174 insertions(+), 40 deletions(-) 
    1818 
    19 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h 
    20 index b4465a8..2a8d5ad 100644 
    2119--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h 
    2220+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h 
     
    5048 #define LTQ_PPE_MBOX_INT       (INT_NUM_IM2_IRL0 + 24) 
    5149  
    52 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    53 index e31f52d..6983d75 100644 
    5450--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    5551+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    7369 #define LTQ_DMA_BASE_ADDR      0x1E104100 
    7470 #define LTQ_DMA_SIZE           0x800 
    75 @@ -147,6 +152,11 @@ extern void ltq_pmu_enable(unsigned int module); 
     71@@ -147,6 +152,11 @@ extern void ltq_pmu_enable(unsigned int 
    7672 extern void ltq_pmu_disable(unsigned int module); 
    7773 extern void ltq_cgu_enable(unsigned int clk); 
     
    8581 { 
    8682        return (ltq_get_soc_type() == SOC_TYPE_AR9); 
    87 diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c 
    88 index f97e565..eab4644d 100644 
    8983--- a/arch/mips/lantiq/xway/devices.c 
    9084+++ b/arch/mips/lantiq/xway/devices.c 
     
    116110                ltq_etop.dev.platform_data = eth; 
    117111                platform_device_register(&ltq_etop); 
    118 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    119 index 0b3567a..d3d4931 100644 
    120112--- a/drivers/net/ethernet/lantiq_etop.c 
    121113+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    124116 #define ETOP_PLEN_UNDER                0x40 
    125117 #define ETOP_CGEN              0x800 
    126 - 
     118+#define ETOP_CFG_MII0          0x01 
     119  
    127120-/* use 2 static channels for TX/RX */ 
    128 +#define ETOP_CFG_MII0          0x01 
    129 + 
    130121+#define LTQ_GBIT_MDIO_CTL      0xCC 
    131122+#define LTQ_GBIT_MDIO_DATA     0xd0 
     
    275266  
    276267                ch->idx = ch->dma.nr = i; 
    277 @@ -339,6 +421,39 @@ static const struct ethtool_ops ltq_etop_ethtool_ops = { 
     268@@ -339,6 +421,39 @@ static const struct ethtool_ops ltq_etop 
    278269 }; 
    279270  
     
    315306 { 
    316307        u32 val = MDIO_REQUEST | 
    317 @@ -379,14 +494,11 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     308@@ -379,14 +494,11 @@ ltq_etop_mdio_probe(struct net_device *d 
    318309 { 
    319310        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    334325        if (!phydev) { 
    335326                netdev_err(dev, "no PHY found\n"); 
    336 @@ -408,6 +520,9 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     327@@ -408,6 +520,9 @@ ltq_etop_mdio_probe(struct net_device *d 
    337328                              | SUPPORTED_Autoneg 
    338329                              | SUPPORTED_MII 
     
    344335        phydev->advertising = phydev->supported; 
    345336        priv->phydev = phydev; 
    346 @@ -433,8 +548,13 @@ ltq_etop_mdio_init(struct net_device *dev) 
     337@@ -433,8 +548,13 @@ ltq_etop_mdio_init(struct net_device *de 
    347338        } 
    348339  
     
    360351        snprintf(priv->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0); 
    361352        priv->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); 
    362 @@ -524,9 +644,9 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     353@@ -524,9 +644,9 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    363354        struct ltq_etop_priv *priv = netdev_priv(dev); 
    364355        struct ltq_etop_chan *ch = &priv->ch[(queue << 1) | 1]; 
     
    371362        len = skb->len < ETH_ZLEN ? ETH_ZLEN : skb->len; 
    372363  
    373 @@ -700,7 +820,7 @@ ltq_etop_probe(struct platform_device *pdev) 
     364@@ -700,7 +820,7 @@ ltq_etop_probe(struct platform_device *p 
    374365 { 
    375366        struct net_device *dev; 
     
    380371        int i; 
    381372  
    382 @@ -728,6 +848,23 @@ ltq_etop_probe(struct platform_device *pdev) 
     373@@ -728,6 +848,23 @@ ltq_etop_probe(struct platform_device *p 
    383374                goto err_out; 
    384375        } 
     
    404395        strcpy(dev->name, "eth%d"); 
    405396        dev->netdev_ops = &ltq_eth_netdev_ops; 
    406 --  
    407 1.7.7.1 
    408  
  • trunk/target/linux/lantiq/patches-3.2/0020-NET-MIPS-lantiq-non-existing-phy-was-not-handled-gra.patch

    r31060 r31158  
    1717 1 files changed, 8 insertions(+), 6 deletions(-) 
    1818 
    19 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    20 index d3d4931..9fd6779 100644 
    2119--- a/drivers/net/ethernet/lantiq_etop.c 
    2220+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    5553  
    5654 err_netdev: 
    57 @@ -868,7 +871,6 @@ ltq_etop_probe(struct platform_device *pdev) 
     55@@ -868,7 +871,6 @@ ltq_etop_probe(struct platform_device *p 
    5856        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4); 
    5957        strcpy(dev->name, "eth%d"); 
     
    6361        priv->res = res; 
    6462        priv->pldata = dev_get_platdata(&pdev->dev); 
    65 --  
    66 1.7.7.1 
    67  
  • trunk/target/linux/lantiq/patches-3.2/0021-NET-MIPS-lantiq-return-value-of-request_irq-was-not-.patch

    r31060 r31158  
    1818 1 files changed, 8 insertions(+), 6 deletions(-) 
    1919 
    20 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    21 index 9fd6779..dddb9fe 100644 
    2220--- a/drivers/net/ethernet/lantiq_etop.c 
    2321+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    6765  
    6866 static void 
    69 --  
    70 1.7.7.1 
    71  
  • trunk/target/linux/lantiq/patches-3.2/0022-MIPS-lantiq-use-devres-managed-gpios.patch

    r31060 r31158  
    2323 10 files changed, 45 insertions(+), 33 deletions(-) 
    2424 
    25 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    26 index b074748..a5dc06a 100644 
    2725--- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    2826+++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
     
    3836  
    3937 /* to keep the irq code generic we need to define these to 0 as falcon 
    40 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h 
    41 index 188de0f..924b91a 100644 
    4238--- a/arch/mips/include/asm/mach-lantiq/lantiq.h 
    4339+++ b/arch/mips/include/asm/mach-lantiq/lantiq.h 
    44 @@ -37,6 +37,10 @@ extern unsigned int ltq_get_soc_type(void); 
     40@@ -37,6 +37,10 @@ extern unsigned int ltq_get_soc_type(voi 
    4541 /* spinlock all ebu i/o */ 
    4642 extern spinlock_t ebu_lock; 
     
    5349 extern void ltq_disable_irq(struct irq_data *data); 
    5450 extern void ltq_mask_and_ack_irq(struct irq_data *data); 
    55 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    56 index 6983d75..6c5b705 100644 
    5751--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    5852+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    6761 extern void ltq_pmu_disable(unsigned int module); 
    6862 extern void ltq_cgu_enable(unsigned int clk); 
    69 diff --git a/arch/mips/lantiq/falcon/gpio.c b/arch/mips/lantiq/falcon/gpio.c 
    70 index 28f8639..a44f71b 100644 
    7163--- a/arch/mips/lantiq/falcon/gpio.c 
    7264+++ b/arch/mips/lantiq/falcon/gpio.c 
    73 @@ -97,7 +97,7 @@ int ltq_gpio_mux_set(unsigned int pin, unsigned int mux) 
     65@@ -97,7 +97,7 @@ int ltq_gpio_mux_set(unsigned int pin, u 
    7466 } 
    7567 EXPORT_SYMBOL(ltq_gpio_mux_set); 
     
    8072 { 
    8173        int port = pin / 100; 
    82 @@ -106,7 +106,7 @@ int ltq_gpio_request(unsigned int pin, unsigned int mux, 
     74@@ -106,7 +106,7 @@ int ltq_gpio_request(unsigned int pin, u 
    8375        if (offset >= PINS_PER_PORT || port >= MAX_PORTS) 
    8476                return -EINVAL; 
     
    8981                return -EBUSY; 
    9082        } 
    91 diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c 
    92 index b50d6f9..f98b389 100644 
    9383--- a/arch/mips/lantiq/falcon/prom.c 
    9484+++ b/arch/mips/lantiq/falcon/prom.c 
     
    114104        } 
    115105 } 
    116 diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c 
    117 index 14ff7c7..54ec6c9 100644 
    118106--- a/arch/mips/lantiq/xway/gpio.c 
    119107+++ b/arch/mips/lantiq/xway/gpio.c 
     
    135123                return -EBUSY; 
    136124        } 
    137 diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c 
    138 index cb6f170..e6b4809 100644 
    139125--- a/arch/mips/lantiq/xway/gpio_stp.c 
    140126+++ b/arch/mips/lantiq/xway/gpio_stp.c 
     
    151137        ltq_stp_w32(0, LTQ_STP_AR); 
    152138        ltq_stp_w32(0, LTQ_STP_CPU0); 
    153 @@ -133,6 +128,14 @@ static int __devinit ltq_stp_probe(struct platform_device *pdev) 
     139@@ -133,6 +128,14 @@ static int __devinit ltq_stp_probe(struc 
    154140                dev_err(&pdev->dev, "failed to remap STP memory\n"); 
    155141                return -ENOMEM; 
     
    166152        if (!ret) 
    167153                ret = ltq_stp_hw_init(); 
    168 diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c 
    169 index c001c5a..47b551c 100644 
    170154--- a/arch/mips/pci/pci-lantiq.c 
    171155+++ b/arch/mips/pci/pci-lantiq.c 
     
    203187        /* set clock to 33Mhz */ 
    204188        if (ltq_is_ar9()) { 
    205 @@ -190,7 +192,7 @@ static int __devinit ltq_pci_startup(struct ltq_pci_data *conf) 
     189@@ -190,7 +192,7 @@ static int __devinit ltq_pci_startup(str 
    206190        } 
    207191  
     
    212196        /* enable auto-switching between PCI and EBU */ 
    213197        ltq_pci_w32(0xa, PCI_CR_CLK_CTRL); 
    214 @@ -275,7 +277,7 @@ static int __devinit ltq_pci_probe(struct platform_device *pdev) 
     198@@ -275,7 +277,7 @@ static int __devinit ltq_pci_probe(struc 
    215199                ioremap_nocache(LTQ_PCI_CFG_BASE, LTQ_PCI_CFG_BASE); 
    216200        ltq_pci_controller.io_map_base = 
     
    221205  
    222206        return 0; 
    223 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    224 index dddb9fe..fcbb9c7 100644 
    225207--- a/drivers/net/ethernet/lantiq_etop.c 
    226208+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    235217        /** Disable MDIO auto polling mode */ 
    236218        ltq_gbit_w32_mask(0, PX_CTL_DMDIO, LTQ_GBIT_P0_CTL); 
    237 @@ -868,6 +865,12 @@ ltq_etop_probe(struct platform_device *pdev) 
     219@@ -868,6 +865,12 @@ ltq_etop_probe(struct platform_device *p 
    238220                        err = -ENOMEM; 
    239221                        goto err_out; 
     
    248230  
    249231        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4); 
    250 diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c 
    251 index 96c1cac..5d25828 100644 
    252232--- a/drivers/tty/serial/lantiq.c 
    253233+++ b/drivers/tty/serial/lantiq.c 
     
    262242 static struct ltq_uart_port *lqasc_port[MAXPORTS]; 
    263243 static struct uart_driver lqasc_reg; 
    264 @@ -529,6 +532,15 @@ lqasc_request_port(struct uart_port *port) 
     244@@ -529,6 +532,15 @@ lqasc_request_port(struct uart_port *por 
    265245                if (port->membase == NULL) 
    266246                        return -ENOMEM; 
     
    278258 } 
    279259  
    280 --  
    281 1.7.7.1 
    282  
  • trunk/target/linux/lantiq/patches-3.2/0023-MIPS-add-clkdev.h.patch

    r31060 r31158  
    1414 create mode 100644 arch/mips/include/asm/clkdev.h 
    1515 
    16 diff --git a/arch/mips/include/asm/clkdev.h b/arch/mips/include/asm/clkdev.h 
    17 new file mode 100644 
    18 index 0000000..2624754 
    1916--- /dev/null 
    2017+++ b/arch/mips/include/asm/clkdev.h 
     
    4542+ 
    4643+#endif 
    47 --  
    48 1.7.7.1 
    49  
  • trunk/target/linux/lantiq/patches-3.2/0024-MIPS-lantiq-helper-functions-for-SoC-detection.patch

    r31060 r31158  
    1313 2 files changed, 19 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    16 index a5dc06a..0aa1f16 100644 
    1715--- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    1816+++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    19 @@ -134,8 +134,20 @@ extern int ltq_gpio_mux_set(unsigned int pin, unsigned int mux); 
     17@@ -134,8 +134,20 @@ extern int ltq_gpio_mux_set(unsigned int 
    2018 #define LTQ_EIU_BASE_ADDR      0 
    2119 #define LTQ_EBU_PCC_ISTAT      0 
     
    4038 #endif /* CONFIG_SOC_FALCON */ 
    4139 #endif /* _LTQ_XWAY_H__ */ 
    42 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    43 index 6c5b705..45e480c 100644 
    4440--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    4541+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    5551 #endif /* CONFIG_SOC_TYPE_XWAY */ 
    5652 #endif /* _LTQ_XWAY_H__ */ 
    57 --  
    58 1.7.7.1 
    59  
  • trunk/target/linux/lantiq/patches-3.2/0025-MIPS-lantiq-convert-to-clkdev-api.patch

    r31060 r31158  
    1818 5 files changed, 111 insertions(+), 61 deletions(-) 
    1919 
    20 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    21 index c1ceadb..1b78cd7 100644 
    2220--- a/arch/mips/Kconfig 
    2321+++ b/arch/mips/Kconfig 
     
    3230        select MIPS_MACHINE 
    3331  
    34 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h 
    35 index 924b91a..622847f 100644 
    3632--- a/arch/mips/include/asm/mach-lantiq/lantiq.h 
    3733+++ b/arch/mips/include/asm/mach-lantiq/lantiq.h 
     
    6359 extern spinlock_t ebu_lock; 
    6460  
    65 @@ -46,6 +35,13 @@ extern void ltq_disable_irq(struct irq_data *data); 
     61@@ -46,6 +35,13 @@ extern void ltq_disable_irq(struct irq_d 
    6662 extern void ltq_mask_and_ack_irq(struct irq_data *data); 
    6763 extern void ltq_enable_irq(struct irq_data *data); 
     
    7773 extern int ltq_reset_cause(void); 
    7874  
    79 diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c 
    80 index 39eef7f..84a201e 100644 
    8175--- a/arch/mips/lantiq/clk.c 
    8276+++ b/arch/mips/lantiq/clk.c 
     
    123117-       }, 
    124118-}; 
    125 - 
    126 -void clk_init(void) 
    127119+struct clk *clk_get_cpu(void) 
    128120+{ 
     
    131123+ 
    132124+struct clk *clk_get_fpi(void) 
     125+{ 
     126+       return &cpu_clk_generic[1]; 
     127+} 
     128  
     129-void clk_init(void) 
     130+struct clk *clk_get_io(void) 
    133131 { 
    134132-       cpu_clk = cpu_clk_generic; 
    135133-       cpu_clk_cnt = ARRAY_SIZE(cpu_clk_generic); 
    136 +       return &cpu_clk_generic[1]; 
    137 +} 
    138 + 
    139 +struct clk *clk_get_io(void) 
    140 +{ 
    141134+       return &cpu_clk_generic[2]; 
    142135 } 
    143136  
    144137 static inline int clk_good(struct clk *clk) 
    145 @@ -73,36 +70,49 @@ unsigned long clk_get_rate(struct clk *clk) 
     138@@ -73,36 +70,49 @@ unsigned long clk_get_rate(struct clk *c 
    146139 } 
    147140 EXPORT_SYMBOL(clk_get_rate); 
     
    153146+       if (unlikely(!clk_good(clk))) 
    154147+               return -1; 
    155 + 
    156 +       if (clk->enable) 
    157 +               return clk->enable(clk); 
    158148  
    159149-       for (i = 0; i < cpu_clk_cnt; i++) 
     
    162152-       BUG(); 
    163153-       return ERR_PTR(-ENOENT); 
     154+       if (clk->enable) 
     155+               return clk->enable(clk); 
     156+ 
    164157+       return -1; 
    165158 } 
     
    220213        write_c0_compare(read_c0_count()); 
    221214        pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); 
    222 diff --git a/arch/mips/lantiq/clk.h b/arch/mips/lantiq/clk.h 
    223 index 3328925..d047768 100644 
    224215--- a/arch/mips/lantiq/clk.h 
    225216+++ b/arch/mips/lantiq/clk.h 
     
    283274  
    284275 #endif 
    285 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
    286 index acb8921..971554b 100644 
    287276--- a/arch/mips/lantiq/prom.c 
    288277+++ b/arch/mips/lantiq/prom.c 
     
    295284                soc_info.name, soc_info.rev_type); 
    296285        soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0'; 
    297 --  
    298 1.7.7.1 
    299  
  • trunk/target/linux/lantiq/patches-3.2/0026-MIPS-lantiq-convert-xway-to-clkdev-api.patch

    r31060 r31158  
    1919 create mode 100644 arch/mips/lantiq/xway/clk.c 
    2020 
    21 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    22 index 45e480c..e9d2dd4 100644 
    2321--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    2422+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    5048 { 
    5149        return (ltq_get_soc_type() == SOC_TYPE_AMAZON_SE); 
    52 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    53 index 6678402..4dcb96f 100644 
    5450--- a/arch/mips/lantiq/xway/Makefile 
    5551+++ b/arch/mips/lantiq/xway/Makefile 
     
    6561 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    6662 obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    67 diff --git a/arch/mips/lantiq/xway/clk-ase.c b/arch/mips/lantiq/xway/clk-ase.c 
    68 deleted file mode 100644 
    69 index 6522583..0000000 
    7063--- a/arch/mips/lantiq/xway/clk-ase.c 
    7164+++ /dev/null 
     
    119112-} 
    120113-EXPORT_SYMBOL(ltq_get_fpi_hz); 
    121 diff --git a/arch/mips/lantiq/xway/clk-xway.c b/arch/mips/lantiq/xway/clk-xway.c 
    122 deleted file mode 100644 
    123 index 696b1a3..0000000 
    124114--- a/arch/mips/lantiq/xway/clk-xway.c 
    125115+++ /dev/null 
     
    348338-} 
    349339-EXPORT_SYMBOL(ltq_get_fpi_hz); 
    350 diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c 
    351 new file mode 100644 
    352 index 0000000..f3b50fc 
    353340--- /dev/null 
    354341+++ b/arch/mips/lantiq/xway/clk.c 
     
    581568+       return ddr_clock; 
    582569+} 
    583 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    584 index 8fd13a1..c5782b5 100644 
    585570--- a/arch/mips/lantiq/xway/sysctrl.c 
    586571+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    640625-void ltq_cgu_enable(unsigned int clk) 
    641626+static int ltq_cgu_enable(struct clk *clk) 
     627+{ 
     628+       ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk->bits, LTQ_CGU_IFCCR); 
     629+       return 0; 
     630+} 
     631+ 
     632+static void ltq_cgu_disable(struct clk *clk) 
    642633 { 
    643634-       ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk, LTQ_CGU_IFCCR); 
    644 +       ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk->bits, LTQ_CGU_IFCCR); 
    645 +       return 0; 
     635+       ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) & ~clk->bits, LTQ_CGU_IFCCR); 
    646636 } 
    647637  
    648638-void ltq_pmu_enable(unsigned int module) 
    649 +static void ltq_cgu_disable(struct clk *clk) 
    650 +{ 
    651 +       ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) & ~clk->bits, LTQ_CGU_IFCCR); 
    652 +} 
    653 + 
    654639+static int ltq_pmu_enable(struct clk *clk) 
    655640 { 
     
    666651+ 
    667652+       return 0; 
    668  } 
    669 -EXPORT_SYMBOL(ltq_pmu_enable); 
    670   
    671 -void ltq_pmu_disable(unsigned int module) 
     653+} 
     654+ 
    672655+static void ltq_pmu_disable(struct clk *clk) 
    673  { 
    674 -       ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | module, LTQ_PMU_PWDCR); 
     656+{ 
    675657+       ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | clk->bits, LTQ_PMU_PWDCR); 
    676658+} 
     
    689671+       clk->bits = bits; 
    690672+       clkdev_add(&clk->cl); 
    691 +} 
    692 + 
     673 } 
     674-EXPORT_SYMBOL(ltq_pmu_enable); 
     675  
     676-void ltq_pmu_disable(unsigned int module) 
    693677+static inline void clkdev_add_cgu(const char *dev, const char *con, 
    694678+                                       unsigned int bits) 
    695 +{ 
     679 { 
     680-       ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | module, LTQ_PMU_PWDCR); 
    696681+       struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL); 
    697682+ 
     
    732717+       } 
    733718 } 
    734 --  
    735 1.7.7.1 
    736  
  • trunk/target/linux/lantiq/patches-3.2/0027-MIPS-lantiq-convert-falcon-to-clkdev-api.patch

    r31060 r31158  
    1313 3 files changed, 80 insertions(+), 59 deletions(-) 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    16 index 0aa1f16..120c56c 100644 
    1715--- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    1816+++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
     
    3937 extern __iomem void *ltq_ebu_membase; 
    4038 extern __iomem void *ltq_sys1_membase; 
    41 diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile 
    42 index 56b22eb..3634154 100644 
    4339--- a/arch/mips/lantiq/falcon/Makefile 
    4440+++ b/arch/mips/lantiq/falcon/Makefile 
     
    4743+obj-y := prom.o reset.o sysctrl.o devices.o gpio.o 
    4844 obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o 
    49 diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c 
    50 index 905a142..900f0e5 100644 
    5145--- a/arch/mips/lantiq/falcon/sysctrl.c 
    5246+++ b/arch/mips/lantiq/falcon/sysctrl.c 
     
    10094-void 
    10195-ltq_sysctl_activate(int module, unsigned int mask) 
    102 +static int 
    103 +ltq_sysctl_activate(struct clk *clk) 
    104  { 
     96-{ 
    10597-       if (module > SYSCTL_SYSGPE) 
    10698-               return; 
     
    109101-       ltq_reg_w32(module, mask, LTQ_SYSCTL_ACT); 
    110102-       ltq_sysctl_wait(module, mask, mask, LTQ_SYSCTL_ACTS); 
     103+static int 
     104+ltq_sysctl_activate(struct clk *clk) 
     105+{ 
    111106+       ltq_reg_w32(clk->module, clk->bits, LTQ_SYSCTL_CLKEN); 
    112107+       ltq_reg_w32(clk->module, clk->bits, LTQ_SYSCTL_ACT); 
     
    170165 { 
    171166        unsigned int act; 
    172 - 
     167+       unsigned int bits; 
     168  
    173169-       if (module > SYSCTL_SYSGPE) 
    174170-               return; 
     
    179175-       ltq_reg_w32(module, act & mask, LTQ_SYSCTL_RBT); 
    180176-       ltq_sysctl_wait(module, mask, mask, LTQ_SYSCTL_ACTS); 
    181 +       unsigned int bits; 
    182 + 
    183177+       act = ltq_reg_r32(clk->module, LTQ_SYSCTL_ACT); 
    184178+       bits = ~act & clk->bits; 
     
    240234+       clkdev_add_sys("falcon_i2c", SYSCTL_SYS1, ACTS_I2C_ACT); 
    241235 } 
    242 --  
    243 1.7.7.1 
    244  
  • trunk/target/linux/lantiq/patches-3.2/0028-MIPS-lantiq-convert-dma-driver-to-clkdev-api.patch

    r31060 r31158  
    1313 create mode 100644 arch/mips/lantiq/xway/Makefile.rej 
    1414 
    15 diff --git a/arch/mips/lantiq/xway/Makefile.rej b/arch/mips/lantiq/xway/Makefile.rej 
    16 new file mode 100644 
    17 index 0000000..c0d5b52 
    1815--- /dev/null 
    1916+++ b/arch/mips/lantiq/xway/Makefile.rej 
     
    3027+ obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    3128+ obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    32 diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c 
    33 index 60cd11f..388f1aa 100644 
    3429--- a/arch/mips/lantiq/xway/dma.c 
    3530+++ b/arch/mips/lantiq/xway/dma.c 
     
    6156  
    6257        /* disable all interrupts */ 
    63 --  
    64 1.7.7.1 
    65  
  • trunk/target/linux/lantiq/patches-3.2/0029-MIPS-lantiq-convert-gpio_stp-driver-to-clkdev-api.patch

    r31060 r31158  
    1111 1 files changed, 9 insertions(+), 3 deletions(-) 
    1212 
    13 diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c 
    14 index e6b4809..da91c5e 100644 
    1513--- a/arch/mips/lantiq/xway/gpio_stp.c 
    1614+++ b/arch/mips/lantiq/xway/gpio_stp.c 
     
    4745 } 
    4846  
    49 @@ -138,7 +144,7 @@ static int __devinit ltq_stp_probe(struct platform_device *pdev) 
     47@@ -138,7 +144,7 @@ static int __devinit ltq_stp_probe(struc 
    5048        } 
    5149        ret = gpiochip_add(&ltq_stp_chip); 
     
    5654        return ret; 
    5755 } 
    58 --  
    59 1.7.7.1 
    60  
  • trunk/target/linux/lantiq/patches-3.2/0030-MIPS-lantiq-convert-falcon-gpio-to-clkdev-api.patch

    r31060 r31158  
    1313 2 files changed, 10 insertions(+), 5 deletions(-) 
    1414 
    15 diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c 
    16 index 4f47b44..6cd7a88 100644 
    1715--- a/arch/mips/lantiq/falcon/devices.c 
    1816+++ b/arch/mips/lantiq/falcon/devices.c 
     
    3432-               ACTS_PADCTRL3 | ACTS_PADCTRL4 | ACTS_P3 | ACTS_P4); 
    3533 } 
    36 diff --git a/arch/mips/lantiq/falcon/gpio.c b/arch/mips/lantiq/falcon/gpio.c 
    37 index a44f71b..4147d61 100644 
    3834--- a/arch/mips/lantiq/falcon/gpio.c 
    3935+++ b/arch/mips/lantiq/falcon/gpio.c 
     
    5450  
    5551 static struct falcon_gpio_port ltq_gpio_port[MAX_PORTS]; 
    56 @@ -332,6 +334,14 @@ falcon_gpio_probe(struct platform_device *pdev) 
     52@@ -332,6 +334,14 @@ falcon_gpio_probe(struct platform_device 
    5753                goto err; 
    5854        } 
     
    6965                /* irq_chip support */ 
    7066                gpio_port->gpio_chip.to_irq = falcon_gpio_to_irq; 
    71 --  
    72 1.7.7.1 
    73  
  • trunk/target/linux/lantiq/patches-3.2/0031-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch

    r31060 r31158  
    1313 1 files changed, 5 insertions(+), 1 deletions(-) 
    1414 
    15 diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c 
    16 index 5d25828..1542ad6 100644 
    1715--- a/drivers/tty/serial/lantiq.c 
    1816+++ b/drivers/tty/serial/lantiq.c 
    19 @@ -540,6 +540,10 @@ lqasc_request_port(struct uart_port *port) 
     17@@ -540,6 +540,10 @@ lqasc_request_port(struct uart_port *por 
    2018                if (ltq_gpio_request(&pdev->dev, MUXC_SIF_TX_PIN, 
    2119                                3, 1, "asc1-tx")) 
     
    2826        return 0; 
    2927 } 
    30 @@ -698,7 +702,7 @@ lqasc_probe(struct platform_device *pdev) 
     28@@ -698,7 +702,7 @@ lqasc_probe(struct platform_device *pdev 
    3129        if (lqasc_port[pdev->id] != NULL) 
    3230                return -EBUSY; 
     
    3735                pr_err("failed to get fpi clk\n"); 
    3836                return -ENOENT; 
    39 --  
    40 1.7.7.1 
    41  
  • trunk/target/linux/lantiq/patches-3.2/0032-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch

    r31060 r31158  
    1414 2 files changed, 5 insertions(+), 6 deletions(-) 
    1515 
    16 diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c 
    17 index f98b389..2a4eea1 100644 
    1816--- a/arch/mips/lantiq/falcon/prom.c 
    1917+++ b/arch/mips/lantiq/falcon/prom.c 
     
    3028  
    3129 void __init 
    32 diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c 
    33 index 1542ad6..82956de 100644 
    3430--- a/drivers/tty/serial/lantiq.c 
    3531+++ b/drivers/tty/serial/lantiq.c 
     
    5147        ltq_w32_mask(ASCCLC_DISS | ASCCLC_RMCMASK, (1 << ASCCLC_RMCOFFSET), 
    5248                port->membase + LTQ_ASC_CLC); 
    53 @@ -646,7 +647,7 @@ lqasc_console_setup(struct console *co, char *options) 
     49@@ -646,7 +647,7 @@ lqasc_console_setup(struct console *co, 
    5450  
    5551        port = &ltq_port->port; 
     
    6056        if (options) 
    6157                uart_parse_options(options, &baud, &parity, &bits, &flow); 
    62 @@ -731,7 +732,7 @@ lqasc_probe(struct platform_device *pdev) 
     58@@ -731,7 +732,7 @@ lqasc_probe(struct platform_device *pdev 
    6359        port->irq       = tx_irq; /* unused, just to be backward-compatibe */ 
    6460        port->mapbase   = mmres->start; 
     
    6965        ltq_port->tx_irq = tx_irq; 
    7066        ltq_port->rx_irq = rx_irq; 
    71 --  
    72 1.7.7.1 
    73  
  • trunk/target/linux/lantiq/patches-3.2/0033-NET-MIPS-lantiq-convert-etop-driver-to-clkdev-api.patch

    r31060 r31158  
    1212 1 files changed, 42 insertions(+), 7 deletions(-) 
    1313 
    14 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    15 index fcbb9c7..a084d74 100644 
    1614--- a/drivers/net/ethernet/lantiq_etop.c 
    1715+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    9492                           make it work */ 
    9593                        ltq_etop_mdio_wr(NULL, 0x8, 0x12, 0xC020); 
    96 @@ -880,6 +897,24 @@ ltq_etop_probe(struct platform_device *pdev) 
     94@@ -880,6 +897,24 @@ ltq_etop_probe(struct platform_device *p 
    9795        priv->res = res; 
    9896        priv->pldata = dev_get_platdata(&pdev->dev); 
     
    119117  
    120118        for (i = 0; i < MAX_DMA_CHAN; i++) { 
    121 --  
    122 1.7.7.1 
    123  
  • trunk/target/linux/lantiq/patches-3.2/0034-WDT-MIPS-lantiq-convert-watchdog-driver-to-clkdev-ap.patch

    r31060 r31158  
    1313 1 files changed, 1 insertions(+), 1 deletions(-) 
    1414 
    15 diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c 
    16 index 179bf98..da2b09f 100644 
    1715--- a/drivers/watchdog/lantiq_wdt.c 
    1816+++ b/drivers/watchdog/lantiq_wdt.c 
    19 @@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pdev) 
     17@@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pd 
    2018        } 
    2119  
     
    2624        ltq_io_region_clk_rate = clk_get_rate(clk); 
    2725        clk_put(clk); 
    28 --  
    29 1.7.7.1 
    30  
  • trunk/target/linux/lantiq/patches-3.2/0035-MIPS-lantiq-unify-xway-prom-code.patch

    r31060 r31158  
    1919 create mode 100644 arch/mips/lantiq/xway/prom.c 
    2020 
    21 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    22 index 4dcb96f..9d1a0a2 100644 
    2321--- a/arch/mips/lantiq/xway/Makefile 
    2422+++ b/arch/mips/lantiq/xway/Makefile 
     
    3230 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    3331 obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    34 diff --git a/arch/mips/lantiq/xway/Makefile.rej b/arch/mips/lantiq/xway/Makefile.rej 
    35 deleted file mode 100644 
    36 index c0d5b52..0000000 
    3732--- a/arch/mips/lantiq/xway/Makefile.rej 
    3833+++ /dev/null 
     
    4944- obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    5045- obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    51 diff --git a/arch/mips/lantiq/xway/prom-ase.c b/arch/mips/lantiq/xway/prom-ase.c 
    52 deleted file mode 100644 
    53 index 3f86a3b..0000000 
    5446--- a/arch/mips/lantiq/xway/prom-ase.c 
    5547+++ /dev/null 
     
    10395-       ltq_register_wdt(); 
    10496-} 
    105 diff --git a/arch/mips/lantiq/xway/prom-xway.c b/arch/mips/lantiq/xway/prom-xway.c 
    106 deleted file mode 100644 
    107 index d823a92..0000000 
    10897--- a/arch/mips/lantiq/xway/prom-xway.c 
    10998+++ /dev/null 
     
    173162-       ltq_register_wdt(); 
    174163-} 
    175 diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c 
    176 new file mode 100644 
    177 index 0000000..0929acb 
    178164--- /dev/null 
    179165+++ b/arch/mips/lantiq/xway/prom.c 
     
    258244+       ltq_register_wdt(); 
    259245+} 
    260 --  
    261 1.7.7.1 
    262  
  • trunk/target/linux/lantiq/patches-3.2/0036-MIPS-lantiq-add-vr9-support.patch

    r31060 r31158  
    1616 4 files changed, 103 insertions(+), 1 deletions(-) 
    1717 
    18 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    19 index e9d2dd4..5d11eb7 100644 
    2018--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    2119+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    3028 /* SoC Types */ 
    3129 #define SOC_TYPE_DANUBE                0x01 
    32 diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c 
    33 index f3b50fc..3635c9f 100644 
    3430--- a/arch/mips/lantiq/xway/clk.c 
    3531+++ b/arch/mips/lantiq/xway/clk.c 
     
    121117+       return ltq_vr9_fpi_hz(); 
    122118+} 
    123 diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c 
    124 index 0929acb..b6f56b7 100644 
    125119--- a/arch/mips/lantiq/xway/prom.c 
    126120+++ b/arch/mips/lantiq/xway/prom.c 
    127 @@ -60,6 +60,12 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     121@@ -60,6 +60,12 @@ void __init ltq_soc_detect(struct ltq_so 
    128122 #endif 
    129123                break; 
     
    138132                unreachable(); 
    139133                break; 
    140 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    141 index c5782b5..38f02f9 100644 
    142134--- a/arch/mips/lantiq/xway/sysctrl.c 
    143135+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    168160                clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(), 
    169161                                        ltq_danube_io_region_clock()); 
    170 --  
    171 1.7.7.1 
    172  
  • trunk/target/linux/lantiq/patches-3.2/0037-MIPS-lantiq-add-ipi-handlers-to-make-vsmp-work.patch

    r31060 r31158  
    1313 2 files changed, 66 insertions(+), 0 deletions(-) 
    1414 
    15 diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
    16 index 0b2ed87..770a10c 100644 
    1715--- a/arch/mips/lantiq/irq.c 
    1816+++ b/arch/mips/lantiq/irq.c 
     
    106104        set_c0_status(IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | 
    107105                IE_IRQ3 | IE_IRQ4 | IE_IRQ5); 
    108 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
    109 index 971554b..00ad59c 100644 
    110106--- a/arch/mips/lantiq/prom.c 
    111107+++ b/arch/mips/lantiq/prom.c 
     
    120116+#endif 
    121117 } 
    122 --  
    123 1.7.7.1 
    124  
  • trunk/target/linux/lantiq/patches-3.2/0038-MIPS-lantiq-add-additional-soc-ids.patch

    r31060 r31158  
    99 2 files changed, 61 insertions(+), 12 deletions(-) 
    1010 
    11 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    12 index 5d11eb7..3f22acb 100644 
    1311--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    1412+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    7472  
    7573 static inline int ltq_is_falcon(void) 
    76 diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c 
    77 index b6f56b7..e3dcbbd 100644 
    7874--- a/arch/mips/lantiq/xway/prom.c 
    7975+++ b/arch/mips/lantiq/xway/prom.c 
     
    9692 void __init ltq_soc_detect(struct ltq_soc_info *i) 
    9793 { 
    98 @@ -46,13 +47,21 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     94@@ -46,13 +47,21 @@ void __init ltq_soc_detect(struct ltq_so 
    9995                break; 
    10096  
     
    120116                i->type = SOC_TYPE_AMAZON_SE; 
    121117 #ifdef CONFIG_PCI 
    122 @@ -60,12 +69,30 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     118@@ -60,12 +69,30 @@ void __init ltq_soc_detect(struct ltq_so 
    123119 #endif 
    124120                break; 
     
    152148                unreachable(); 
    153149                break; 
    154 --  
    155 1.7.7.1 
    156  
  • trunk/target/linux/lantiq/patches-3.2/0039-SPI-MIPS-lantiq-add-FALC-ON-spi-driver.patch

    r31060 r31158  
    2121 create mode 100644 drivers/spi/spi-falcon.c 
    2222 
    23 diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c 
    24 index 6cd7a88..92ec571 100644 
    2523--- a/arch/mips/lantiq/falcon/devices.c 
    2624+++ b/arch/mips/lantiq/falcon/devices.c 
     
    4240+       platform_device_register(&ltq_spi); 
    4341+} 
    44 diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h 
    45 index 18be8b6..5e6f720 100644 
    4642--- a/arch/mips/lantiq/falcon/devices.h 
    4743+++ b/arch/mips/lantiq/falcon/devices.h 
     
    6157  
    6258 #endif 
    63 diff --git a/arch/mips/lantiq/falcon/mach-easy98000.c b/arch/mips/lantiq/falcon/mach-easy98000.c 
    64 index 361b8f0..1a7caad 100644 
    6559--- a/arch/mips/lantiq/falcon/mach-easy98000.c 
    6660+++ b/arch/mips/lantiq/falcon/mach-easy98000.c 
    67 @@ -40,6 +40,21 @@ struct physmap_flash_data easy98000_nor_flash_data = { 
     61@@ -40,6 +40,21 @@ struct physmap_flash_data easy98000_nor_ 
    6862        .parts          = easy98000_nor_partitions, 
    6963 }; 
     
    113107                        "EASY98000NAND", 
    114108                        "EASY98000 Eval Board (NAND Flash)", 
    115 diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
    116 index 8ba4510..b8424ba 100644 
    117109--- a/drivers/spi/Kconfig 
    118110+++ b/drivers/spi/Kconfig 
    119 @@ -180,6 +180,10 @@ config SPI_MPC52xx 
     111@@ -189,6 +189,10 @@ config SPI_MPC52xx 
    120112          This drivers supports the MPC52xx SPI controller in master SPI 
    121113          mode. 
     
    128120        tristate "Freescale MPC52xx PSC SPI controller" 
    129121        depends on PPC_MPC52xx && EXPERIMENTAL 
    130 diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
    131 index 61c3261..570894c 100644 
    132122--- a/drivers/spi/Makefile 
    133123+++ b/drivers/spi/Makefile 
    134 @@ -25,6 +25,7 @@ obj-$(CONFIG_SPI_DW_MMIO)             += spi-dw-mmio.o 
     124@@ -25,6 +25,7 @@ obj-$(CONFIG_SPI_DW_MMIO)             += spi-dw-mmi 
    135125 obj-$(CONFIG_SPI_DW_PCI)               += spi-dw-midpci.o 
    136126 spi-dw-midpci-objs                     := spi-dw-pci.o spi-dw-mid.o 
     
    140130 obj-$(CONFIG_SPI_FSL_ESPI)             += spi-fsl-espi.o 
    141131 obj-$(CONFIG_SPI_FSL_SPI)              += spi-fsl-spi.o 
    142 diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c 
    143 new file mode 100644 
    144 index 0000000..447bbaa 
    145132--- /dev/null 
    146133+++ b/drivers/spi/spi-falcon.c 
     
    629616+MODULE_LICENSE("GPL"); 
    630617+MODULE_DESCRIPTION("Lantiq Falcon SPI controller driver"); 
    631 --  
    632 1.7.7.1 
    633  
  • trunk/target/linux/lantiq/patches-3.2/0040-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch

    r31060 r31158  
    2222 create mode 100644 drivers/i2c/busses/i2c-falcon.c 
    2323 
    24 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    25 index 120c56c..fff5ecd 100644 
    2624--- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
    2725+++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h 
     
    4543 /* global register ranges */ 
    4644 extern __iomem void *ltq_ebu_membase; 
    47 diff --git a/arch/mips/lantiq/falcon/clk.c b/arch/mips/lantiq/falcon/clk.c 
    48 deleted file mode 100644 
    49 index afe1b52..0000000 
    5045--- a/arch/mips/lantiq/falcon/clk.c 
    5146+++ /dev/null 
     
    9590-} 
    9691-EXPORT_SYMBOL(ltq_get_fpi_hz); 
    97 diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c 
    98 index 92ec571..e684ed4 100644 
    9992--- a/arch/mips/lantiq/falcon/devices.c 
    10093+++ b/arch/mips/lantiq/falcon/devices.c 
    101 @@ -134,3 +134,19 @@ falcon_register_spi_flash(struct spi_board_info *data) 
     94@@ -134,3 +134,19 @@ falcon_register_spi_flash(struct spi_boa 
    10295        spi_register_board_info(data, 1); 
    10396        platform_device_register(&ltq_spi); 
     
    119112+               falcon_i2c_resources, ARRAY_SIZE(falcon_i2c_resources)); 
    120113+} 
    121 diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h 
    122 index 5e6f720..d81edbe 100644 
    123114--- a/arch/mips/lantiq/falcon/devices.h 
    124115+++ b/arch/mips/lantiq/falcon/devices.h 
     
    130121  
    131122 #endif 
    132 diff --git a/arch/mips/lantiq/falcon/mach-easy98000.c b/arch/mips/lantiq/falcon/mach-easy98000.c 
    133 index 1a7caad..fc5720d 100644 
    134123--- a/arch/mips/lantiq/falcon/mach-easy98000.c 
    135124+++ b/arch/mips/lantiq/falcon/mach-easy98000.c 
     
    142131  
    143132 static void __init 
    144 diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig 
    145 index a3afac4..41be6cc 100644 
    146133--- a/drivers/i2c/busses/Kconfig 
    147134+++ b/drivers/i2c/busses/Kconfig 
     
    163150        tristate "GPIO-based bitbanging I2C" 
    164151        depends on GENERIC_GPIO 
    165 diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile 
    166 index fba6da6..36239c8 100644 
    167152--- a/drivers/i2c/busses/Makefile 
    168153+++ b/drivers/i2c/busses/Makefile 
    169 @@ -37,6 +37,7 @@ obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM) += i2c-designware-platform.o 
     154@@ -37,6 +37,7 @@ obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM) += 
    170155 i2c-designware-platform-objs := i2c-designware-platdrv.o i2c-designware-core.o 
    171156 obj-$(CONFIG_I2C_DESIGNWARE_PCI)       += i2c-designware-pci.o 
     
    175160 obj-$(CONFIG_I2C_HIGHLANDER)   += i2c-highlander.o 
    176161 obj-$(CONFIG_I2C_IBM_IIC)      += i2c-ibm_iic.o 
    177 diff --git a/drivers/i2c/busses/i2c-falcon.c b/drivers/i2c/busses/i2c-falcon.c 
    178 new file mode 100644 
    179 index 0000000..fc4f0eb 
    180162--- /dev/null 
    181163+++ b/drivers/i2c/busses/i2c-falcon.c 
     
    12211203+MODULE_LICENSE("GPL"); 
    12221204+MODULE_VERSION(DRV_VERSION); 
    1223 --  
    1224 1.7.7.1 
    1225  
  • trunk/target/linux/lantiq/patches-3.2/0041-MIPS-lantiq-add-xway-nand-driver.patch

    r31060 r31158  
    2626 create mode 100644 arch/mips/lantiq/xway/nand.c 
    2727 
    28 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    29 index 3f22acb..ab2d236 100644 
    3028--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    3129+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    3937 #define ltq_cgu_r32(x)         ltq_r32(ltq_cgu_membase + (x)) 
    4038  
    41 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    42 index 9d1a0a2..277aa34 100644 
    4339--- a/arch/mips/lantiq/xway/Makefile 
    4440+++ b/arch/mips/lantiq/xway/Makefile 
     
    4945 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    5046 obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    51 diff --git a/arch/mips/lantiq/xway/devices.h b/arch/mips/lantiq/xway/devices.h 
    52 index e904934..d825cbd 100644 
    5347--- a/arch/mips/lantiq/xway/devices.h 
    5448+++ b/arch/mips/lantiq/xway/devices.h 
     
    6054  
    6155 #endif 
    62 diff --git a/arch/mips/lantiq/xway/nand.c b/arch/mips/lantiq/xway/nand.c 
    63 new file mode 100644 
    64 index 0000000..9ab91d8 
    6556--- /dev/null 
    6657+++ b/arch/mips/lantiq/xway/nand.c 
     
    282273+       platform_device_register(&ltq_flash_nand); 
    283274+} 
    284 diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c 
    285 index ea8e123..9040ba1 100644 
    286275--- a/drivers/mtd/nand/plat_nand.c 
    287276+++ b/drivers/mtd/nand/plat_nand.c 
    288 @@ -75,6 +75,7 @@ static int __devinit plat_nand_probe(struct platform_device *pdev) 
     277@@ -75,6 +75,7 @@ static int __devinit plat_nand_probe(str 
    289278        data->chip.select_chip = pdata->ctrl.select_chip; 
    290279        data->chip.write_buf = pdata->ctrl.write_buf; 
     
    294283        data->chip.options |= pdata->chip.options; 
    295284        data->chip.bbt_options |= pdata->chip.bbt_options; 
    296 diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h 
    297 index 904131b..80e11b9 100644 
    298285--- a/include/linux/mtd/nand.h 
    299286+++ b/include/linux/mtd/nand.h 
    300 @@ -650,6 +650,7 @@ struct platform_nand_ctrl { 
     287@@ -651,6 +651,7 @@ struct platform_nand_ctrl { 
    301288        void (*cmd_ctrl)(struct mtd_info *mtd, int dat, unsigned int ctrl); 
    302289        void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); 
     
    306293 }; 
    307294  
    308 --  
    309 1.7.7.1 
    310  
  • trunk/target/linux/lantiq/patches-3.2/0042-SPI-MIPS-lantiq-adds-spi-xway.patch

    r31060 r31158  
    1313 create mode 100644 drivers/spi/spi-xway.c 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h 
    16 index a305f1d..38ed938 100644 
    1715--- a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h 
    1816+++ b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h 
     
    3129+ 
    3230 #endif 
    33 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h 
    34 index 2a8d5ad..b7f10e6 100644 
    3531--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h 
    3632+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h 
     
    4440  
    4541 #define LTQ_MEI_DYING_GASP_INT (INT_NUM_IM1_IRL0 + 21) 
    46 diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
    47 index b8424ba..ca4189c 100644 
    4842--- a/drivers/spi/Kconfig 
    4943+++ b/drivers/spi/Kconfig 
    50 @@ -384,6 +384,14 @@ config SPI_NUC900 
     44@@ -393,6 +393,14 @@ config SPI_NUC900 
    5145        help 
    5246          SPI driver for Nuvoton NUC900 series ARM SoCs 
     
    6357 # Add new SPI master controllers in alphabetical order above this line 
    6458 # 
    65 diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
    66 index 570894c..a465d9a 100644 
    6759--- a/drivers/spi/Makefile 
    6860+++ b/drivers/spi/Makefile 
    69 @@ -59,4 +59,5 @@ obj-$(CONFIG_SPI_TLE62X0)             += spi-tle62x0.o 
     61@@ -60,4 +60,5 @@ obj-$(CONFIG_SPI_TLE62X0)             += spi-tle62x 
    7062 obj-$(CONFIG_SPI_TOPCLIFF_PCH)         += spi-topcliff-pch.o 
    7163 obj-$(CONFIG_SPI_TXX9)                 += spi-txx9.o 
     
    7365+obj-$(CONFIG_SPI_XWAY)                 += spi-xway.o 
    7466  
    75 diff --git a/drivers/spi/spi-xway.c b/drivers/spi/spi-xway.c 
    76 new file mode 100644 
    77 index 0000000..016a6d0 
    7867--- /dev/null 
    7968+++ b/drivers/spi/spi-xway.c 
     
    11471136+MODULE_LICENSE("GPL"); 
    11481137+MODULE_ALIAS("platform:ltq-spi"); 
    1149 --  
    1150 1.7.7.1 
    1151  
  • trunk/target/linux/lantiq/patches-3.2/0043-NET-adds-driver-for-lantiq-vr9-ethernet.patch

    r31060 r31158  
    1414 create mode 100644 drivers/net/ethernet/lantiq_vrx200.c 
    1515 
    16 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    17 index ab2d236..d1b8cc8 100644 
    1816--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    1917+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    2725 /* DMA */ 
    2826 #define LTQ_DMA_BASE_ADDR      0x1E104100 
    29 diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c 
    30 index eab4644d..5efa4f3 100644 
    3127--- a/arch/mips/lantiq/xway/devices.c 
    3228+++ b/arch/mips/lantiq/xway/devices.c 
    33 @@ -83,6 +83,7 @@ static struct platform_device ltq_etop = { 
     29@@ -83,6 +83,7 @@ static struct platform_device ltq_etop = 
    3430        .name           = "ltq_etop", 
    3531        .resource       = ltq_etop_resources, 
     
    3935  
    4036 void __init 
    41 @@ -96,3 +97,22 @@ ltq_register_etop(struct ltq_eth_data *eth) 
     37@@ -96,3 +97,22 @@ ltq_register_etop(struct ltq_eth_data *e 
    4238                platform_device_register(&ltq_etop); 
    4339        } 
     
    6258+       platform_device_register(&ltq_vrx200); 
    6359+} 
    64 diff --git a/arch/mips/lantiq/xway/devices.h b/arch/mips/lantiq/xway/devices.h 
    65 index d825cbd..08befd9 100644 
    6660--- a/arch/mips/lantiq/xway/devices.h 
    6761+++ b/arch/mips/lantiq/xway/devices.h 
     
    7367  
    7468 #endif 
    75 diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig 
    76 index 597f4d4..2035cab 100644 
    7769--- a/drivers/net/ethernet/Kconfig 
    7870+++ b/drivers/net/ethernet/Kconfig 
     
    9082 source "drivers/net/ethernet/mellanox/Kconfig" 
    9183 source "drivers/net/ethernet/micrel/Kconfig" 
    92 diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile 
    93 index be5dde0..4fde2be 100644 
    9484--- a/drivers/net/ethernet/Makefile 
    9585+++ b/drivers/net/ethernet/Makefile 
     
    10292 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 
    10393 obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/ 
    104 diff --git a/drivers/net/ethernet/lantiq_vrx200.c b/drivers/net/ethernet/lantiq_vrx200.c 
    105 new file mode 100644 
    106 index 0000000..d79d380 
    10794--- /dev/null 
    10895+++ b/drivers/net/ethernet/lantiq_vrx200.c 
     
    14661453+MODULE_DESCRIPTION("Lantiq SoC ETOP"); 
    14671454+MODULE_LICENSE("GPL"); 
    1468 --  
    1469 1.7.7.1 
    1470  
  • trunk/target/linux/lantiq/patches-3.2/0044-MIPS-NET-several-fixes-to-etop-driver.patch

    r31060 r31158  
    88 1 files changed, 108 insertions(+), 100 deletions(-) 
    99 
    10 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    11 index a084d74..1a807d8 100644 
    1210--- a/drivers/net/ethernet/lantiq_etop.c 
    1311+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    4947        spinlock_t lock; 
    5048  
    51 @@ -206,8 +197,10 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
     49@@ -206,8 +197,10 @@ ltq_etop_poll_rx(struct napi_struct *nap 
    5250 { 
    5351        struct ltq_etop_chan *ch = container_of(napi, 
     
    6058        while ((rx < budget) && !complete) { 
    6159                struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; 
    62 @@ -221,7 +214,9 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
     60@@ -221,7 +214,9 @@ ltq_etop_poll_rx(struct napi_struct *nap 
    6361        } 
    6462        if (complete || !rx) { 
     
    7068        return rx; 
    7169 } 
    72 @@ -233,7 +228,7 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
     70@@ -233,7 +228,7 @@ ltq_etop_poll_tx(struct napi_struct *nap 
    7371                container_of(napi, struct ltq_etop_chan, napi); 
    7472        struct ltq_etop_priv *priv = netdev_priv(ch->netdev); 
     
    7977  
    8078        spin_lock_irqsave(&priv->lock, flags); 
    81 @@ -251,7 +246,9 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
     79@@ -251,7 +246,9 @@ ltq_etop_poll_tx(struct napi_struct *nap 
    8280        if (netif_tx_queue_stopped(txq)) 
    8381                netif_tx_start_queue(txq); 
     
    103101 } 
    104102  
    105 @@ -273,7 +271,7 @@ ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch) 
     103@@ -273,7 +271,7 @@ ltq_etop_free_channel(struct net_device 
    106104        ltq_dma_free(&ch->dma); 
    107105        if (ch->dma.irq) 
     
    213211 } 
    214212  
    215 @@ -410,7 +423,10 @@ ltq_etop_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
     213@@ -410,7 +423,10 @@ ltq_etop_get_settings(struct net_device 
    216214 { 
    217215        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    225223  
    226224 static int 
    227 @@ -418,7 +434,10 @@ ltq_etop_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
     225@@ -418,7 +434,10 @@ ltq_etop_set_settings(struct net_device 
    228226 { 
    229227        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    237235  
    238236 static int 
    239 @@ -426,7 +445,10 @@ ltq_etop_nway_reset(struct net_device *dev) 
     237@@ -426,7 +445,10 @@ ltq_etop_nway_reset(struct net_device *d 
    240238 { 
    241239        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    305303 } 
    306304  
    307 @@ -660,16 +683,16 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     305@@ -660,16 +683,16 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    308306        int queue = skb_get_queue_mapping(skb); 
    309307        struct netdev_queue *txq = netdev_get_tx_queue(dev, queue); 
     
    326324                netif_tx_stop_queue(txq); 
    327325                return NETDEV_TX_BUSY; 
    328 @@ -677,7 +700,7 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     326@@ -677,7 +700,7 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    329327  
    330328        /* dma needs to start on a 16 byte aligned address */ 
     
    335333        dev->trans_start = jiffies; 
    336334  
    337 @@ -687,11 +710,11 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     335@@ -687,11 +710,11 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    338336        wmb(); 
    339337        desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP | 
     
    361359  
    362360        memcpy(&mac, &priv->pldata->mac, sizeof(struct sockaddr)); 
    363 @@ -811,6 +838,9 @@ ltq_etop_tx_timeout(struct net_device *dev) 
     361@@ -811,6 +838,9 @@ ltq_etop_tx_timeout(struct net_device *d 
    364362        err = ltq_etop_hw_init(dev); 
    365363        if (err) 
     
    371369        netif_wake_queue(dev); 
    372370        return; 
    373 @@ -834,14 +864,13 @@ static const struct net_device_ops ltq_eth_netdev_ops = { 
     371@@ -834,14 +864,13 @@ static const struct net_device_ops ltq_e 
    374372        .ndo_tx_timeout = ltq_etop_tx_timeout, 
    375373 }; 
     
    387385        res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    388386        if (!res) { 
    389 @@ -917,15 +946,10 @@ ltq_etop_probe(struct platform_device *pdev) 
     387@@ -917,15 +946,10 @@ ltq_etop_probe(struct platform_device *p 
    390388  
    391389        spin_lock_init(&priv->lock); 
     
    407405        err = register_netdev(dev); 
    408406        if (err) 
    409 @@ -955,6 +979,7 @@ ltq_etop_remove(struct platform_device *pdev) 
     407@@ -955,6 +979,7 @@ ltq_etop_remove(struct platform_device * 
    410408 } 
    411409  
     
    415413        .driver = { 
    416414                .name = "ltq_etop", 
    417 @@ -962,24 +987,7 @@ static struct platform_driver ltq_mii_driver = { 
     415@@ -962,24 +987,7 @@ static struct platform_driver ltq_mii_dr 
    418416        }, 
    419417 }; 
     
    441439 MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); 
    442440 MODULE_DESCRIPTION("Lantiq SoC ETOP"); 
    443 --  
    444 1.7.7.1 
    445  
  • trunk/target/linux/lantiq/patches-3.2/0045-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch

    r31060 r31158  
    1313 1 files changed, 3 insertions(+), 19 deletions(-) 
    1414 
    15 diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c 
    16 index 764d468..b55212c 100644 
    1715--- a/drivers/mtd/maps/lantiq-flash.c 
    1816+++ b/drivers/mtd/maps/lantiq-flash.c 
    19 @@ -108,7 +108,7 @@ ltq_copy_to(struct map_info *map, unsigned long to, 
     17@@ -108,7 +108,7 @@ ltq_copy_to(struct map_info *map, unsign 
    2018        spin_unlock_irqrestore(&ebu_lock, flags); 
    2119 } 
     
    2624 { 
    2725        struct physmap_flash_data *ltq_mtd_data = dev_get_platdata(&pdev->dev); 
    28 @@ -208,6 +208,7 @@ ltq_mtd_remove(struct platform_device *pdev) 
     26@@ -208,6 +208,7 @@ ltq_mtd_remove(struct platform_device *p 
    2927 } 
    3028  
     
    3432        .driver = { 
    3533                .name = "ltq_nor", 
    36 @@ -215,24 +216,7 @@ static struct platform_driver ltq_mtd_driver = { 
     34@@ -215,24 +216,7 @@ static struct platform_driver ltq_mtd_dr 
    3735        }, 
    3836 }; 
     
    6058 MODULE_LICENSE("GPL"); 
    6159 MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); 
    62 --  
    63 1.7.7.1 
    64  
  • trunk/target/linux/lantiq/patches-3.2/0046-WDT-MIPS-lantiq-use-module_platform_driver-inside-la.patch

    r31060 r31158  
    1313 1 files changed, 3 insertions(+), 16 deletions(-) 
    1414 
    15 diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c 
    16 index da2b09f..40c9eb7 100644 
    1715--- a/drivers/watchdog/lantiq_wdt.c 
    1816+++ b/drivers/watchdog/lantiq_wdt.c 
    19 @@ -182,7 +182,7 @@ static struct miscdevice ltq_wdt_miscdev = { 
     17@@ -182,7 +182,7 @@ static struct miscdevice ltq_wdt_miscdev 
    2018        .fops   = &ltq_wdt_fops, 
    2119 }; 
     
    2624 { 
    2725        struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    28 @@ -230,6 +230,7 @@ ltq_wdt_remove(struct platform_device *pdev) 
     26@@ -230,6 +230,7 @@ ltq_wdt_remove(struct platform_device *p 
    2927  
    3028  
     
    3432        .driver = { 
    3533                .name = "ltq_wdt", 
    36 @@ -237,21 +238,7 @@ static struct platform_driver ltq_wdt_driver = { 
     34@@ -237,21 +238,7 @@ static struct platform_driver ltq_wdt_dr 
    3735        }, 
    3836 }; 
     
    5755 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started"); 
    5856  
    59 --  
    60 1.7.7.1 
    61  
  • trunk/target/linux/lantiq/patches-3.2/0047-MIPS-lantiq-adds-GPTU-driver.patch

    r31060 r31158  
    1313 create mode 100644 arch/mips/lantiq/xway/timer.c 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_timer.h b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
    16 new file mode 100644 
    17 index 0000000..ef564ab 
    1815--- /dev/null 
    1916+++ b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
     
    174171+ 
    175172+#endif /* __DANUBE_GPTU_DEV_H__2005_07_26__10_19__ */ 
    176 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    177 index 277aa34..4c3106f 100644 
    178173--- a/arch/mips/lantiq/xway/Makefile 
    179174+++ b/arch/mips/lantiq/xway/Makefile 
     
    184179 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    185180 obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    186 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    187 index 38f02f9..1a2e2d4 100644 
    188181--- a/arch/mips/lantiq/xway/sysctrl.c 
    189182+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    196189                clkdev_add_pmu("ltq_etop", NULL, 0, PMU_PPE); 
    197190        if (ltq_is_ase()) { 
    198 diff --git a/arch/mips/lantiq/xway/timer.c b/arch/mips/lantiq/xway/timer.c 
    199 new file mode 100644 
    200 index 0000000..9794c87 
    201191--- /dev/null 
    202192+++ b/arch/mips/lantiq/xway/timer.c 
     
    10481038+module_init(lq_gptu_init); 
    10491039+module_exit(lq_gptu_exit); 
    1050 --  
    1051 1.7.7.1 
    1052  
  • trunk/target/linux/lantiq/patches-3.2/0048-MIPS-lantiq-adds-dwc_otg.patch

    r31060 r31158  
    4646 create mode 100644 drivers/usb/dwc_otg/dwc_otg_regs.h 
    4747 
    48 diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig 
    49 index 791f11b..1eafa7a 100644 
    5048--- a/drivers/usb/Kconfig 
    5149+++ b/drivers/usb/Kconfig 
     
    5957  
    6058 source "drivers/usb/renesas_usbhs/Kconfig" 
    61 diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile 
    62 index 75eca76..7fe8e83 100644 
    6359--- a/drivers/usb/Makefile 
    6460+++ b/drivers/usb/Makefile 
     
    7268 obj-$(CONFIG_USB_PRINTER)      += class/ 
    7369 obj-$(CONFIG_USB_WDM)          += class/ 
    74 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c 
    75 index 7978146..6a7df52 100644 
    7670--- a/drivers/usb/core/hub.c 
    7771+++ b/drivers/usb/core/hub.c 
    78 @@ -2935,11 +2935,11 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, 
     72@@ -2939,11 +2939,11 @@ hub_port_init (struct usb_hub *hub, stru 
    7973                udev->ttport = hdev->ttport; 
    8074        } else if (udev->speed != USB_SPEED_HIGH 
     
    9084                udev->ttport = port1; 
    9185        } 
    92 diff --git a/drivers/usb/dwc_otg/Kconfig b/drivers/usb/dwc_otg/Kconfig 
    93 new file mode 100644 
    94 index 0000000..e018490 
    9586--- /dev/null 
    9687+++ b/drivers/usb/dwc_otg/Kconfig 
     
    133124+        bool "Enable debug mode" 
    134125+        depends on DWC_OTG 
    135 diff --git a/drivers/usb/dwc_otg/Makefile b/drivers/usb/dwc_otg/Makefile 
    136 new file mode 100644 
    137 index 0000000..d4d2355 
    138126--- /dev/null 
    139127+++ b/drivers/usb/dwc_otg/Makefile 
     
    178166+#obj-$(CONFIG_DWC_OTG_IFX)     := dwc_otg_ifx.o 
    179167+#dwc_otg_ifx-objs              := dwc_otg_ifx.o 
    180 diff --git a/drivers/usb/dwc_otg/dwc_otg_attr.c b/drivers/usb/dwc_otg/dwc_otg_attr.c 
    181 new file mode 100644 
    182 index 0000000..4675a5c 
    183168--- /dev/null 
    184169+++ b/drivers/usb/dwc_otg/dwc_otg_attr.c 
     
    986971+       device_remove_file(_dev, &dev_attr_wr_reg_test); 
    987972+} 
    988 diff --git a/drivers/usb/dwc_otg/dwc_otg_attr.h b/drivers/usb/dwc_otg/dwc_otg_attr.h 
    989 new file mode 100644 
    990 index 0000000..4bbf7df 
    991973--- /dev/null 
    992974+++ b/drivers/usb/dwc_otg/dwc_otg_attr.h 
     
    10591041+ 
    10601042+#endif 
    1061 diff --git a/drivers/usb/dwc_otg/dwc_otg_cil.c b/drivers/usb/dwc_otg/dwc_otg_cil.c 
    1062 new file mode 100644 
    1063 index 0000000..42c69eb 
    10641043--- /dev/null 
    10651044+++ b/drivers/usb/dwc_otg/dwc_otg_cil.c 
     
    40904069+} 
    40914070+ 
    4092 diff --git a/drivers/usb/dwc_otg/dwc_otg_cil.h b/drivers/usb/dwc_otg/dwc_otg_cil.h 
    4093 new file mode 100644 
    4094 index 0000000..bbb9516 
    40954071--- /dev/null 
    40964072+++ b/drivers/usb/dwc_otg/dwc_otg_cil.h 
     
    50074983+ 
    50084984+#endif 
    5009 diff --git a/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h b/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h 
    5010 new file mode 100644 
    5011 index 0000000..b0298ec 
    50124985--- /dev/null 
    50134986+++ b/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h 
     
    50715044+#endif // __DWC_OTG_CIL_IFX_H__ 
    50725045+ 
    5073 diff --git a/drivers/usb/dwc_otg/dwc_otg_cil_intr.c b/drivers/usb/dwc_otg/dwc_otg_cil_intr.c 
    5074 new file mode 100644 
    5075 index 0000000..d469ab4 
    50765046--- /dev/null 
    50775047+++ b/drivers/usb/dwc_otg/dwc_otg_cil_intr.c 
     
    57855755+        return retval; 
    57865756+} 
    5787 diff --git a/drivers/usb/dwc_otg/dwc_otg_driver.c b/drivers/usb/dwc_otg/dwc_otg_driver.c 
    5788 new file mode 100644 
    5789 index 0000000..1b0daab 
    57905757--- /dev/null 
    57915758+++ b/drivers/usb/dwc_otg/dwc_otg_driver.c 
     
    70657032+ 
    70667033+*/ 
    7067 diff --git a/drivers/usb/dwc_otg/dwc_otg_driver.h b/drivers/usb/dwc_otg/dwc_otg_driver.h 
    7068 new file mode 100644 
    7069 index 0000000..7e6940d 
    70707034--- /dev/null 
    70717035+++ b/drivers/usb/dwc_otg/dwc_otg_driver.h 
     
    71557119+ 
    71567120+#endif 
    7157 diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.c b/drivers/usb/dwc_otg/dwc_otg_hcd.c 
    7158 new file mode 100644 
    7159 index 0000000..ad6bc72 
    71607121--- /dev/null 
    71617122+++ b/drivers/usb/dwc_otg/dwc_otg_hcd.c 
     
    100319992+} 
    100329993+#endif /* DWC_DEVICE_ONLY */ 
    10033 diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.h b/drivers/usb/dwc_otg/dwc_otg_hcd.h 
    10034 new file mode 100644 
    10035 index 0000000..8a20dff 
    100369994--- /dev/null 
    100379995+++ b/drivers/usb/dwc_otg/dwc_otg_hcd.h 
     
    1071310671+#endif // __DWC_HCD_H__ 
    1071410672+#endif /* DWC_DEVICE_ONLY */ 
    10715 diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c 
    10716 new file mode 100644 
    10717 index 0000000..834b5e0 
    1071810673--- /dev/null 
    1071910674+++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c 
     
    1256012515+ 
    1256112516+#endif /* DWC_DEVICE_ONLY */ 
    12562 diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c b/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c 
    12563 new file mode 100644 
    12564 index 0000000..fcb5ce6 
    1256512517--- /dev/null 
    1256612518+++ b/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c 
     
    1336013312+ 
    1336113313+#endif /* DWC_DEVICE_ONLY */ 
    13362 diff --git a/drivers/usb/dwc_otg/dwc_otg_ifx.c b/drivers/usb/dwc_otg/dwc_otg_ifx.c 
    13363 new file mode 100644 
    13364 index 0000000..0a4c209 
    1336513314--- /dev/null 
    1336613315+++ b/drivers/usb/dwc_otg/dwc_otg_ifx.c 
     
    1346613415+{ 
    1346713416+} 
    13468 diff --git a/drivers/usb/dwc_otg/dwc_otg_ifx.h b/drivers/usb/dwc_otg/dwc_otg_ifx.h 
    13469 new file mode 100644 
    13470 index 0000000..402d7a6 
    1347113417--- /dev/null 
    1347213418+++ b/drivers/usb/dwc_otg/dwc_otg_ifx.h 
     
    1355713503+} 
    1355813504+#endif //__DWC_OTG_IFX_H__ 
    13559 diff --git a/drivers/usb/dwc_otg/dwc_otg_plat.h b/drivers/usb/dwc_otg/dwc_otg_plat.h 
    13560 new file mode 100644 
    13561 index 0000000..727d0c4 
    1356213505--- /dev/null 
    1356313506+++ b/drivers/usb/dwc_otg/dwc_otg_plat.h 
     
    1383213775+#endif 
    1383313776+ 
    13834 diff --git a/drivers/usb/dwc_otg/dwc_otg_regs.h b/drivers/usb/dwc_otg/dwc_otg_regs.h 
    13835 new file mode 100644 
    13836 index 0000000..397a954 
    1383713777--- /dev/null 
    1383813778+++ b/drivers/usb/dwc_otg/dwc_otg_regs.h 
     
    1563515575+ 
    1563615576+#endif 
    15637 --  
    15638 1.7.7.1 
    15639  
  • trunk/target/linux/lantiq/patches-3.2/0049-dwc_otg-remove-bogus-halt_channel.patch

    r31060 r31158  
    99 1 files changed, 0 insertions(+), 2 deletions(-) 
    1010 
    11 diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c 
    12 index 834b5e0..f6f3f3d 100644 
    1311--- a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c 
    1412+++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c 
    15 @@ -1278,8 +1278,6 @@ static int32_t handle_hc_ack_intr(dwc_otg_hcd_t *_hcd, 
     13@@ -1278,8 +1278,6 @@ static int32_t handle_hc_ack_intr(dwc_ot 
    1614                         * automatically executes the PING, then the transfer. 
    1715                         */ 
     
    2220        } 
    2321  
    24 --  
    25 1.7.7.1 
    26  
  • trunk/target/linux/lantiq/patches-3.2/0050-MIPS-adds-ifxhcd.patch

    r31060 r31158  
    4949 create mode 100644 drivers/usb/ifxhcd/ifxusb_version.h 
    5050 
    51 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    52 index 4c3106f..c9baf91 100644 
    5351--- a/arch/mips/lantiq/xway/Makefile 
    5452+++ b/arch/mips/lantiq/xway/Makefile 
     
    5957 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o 
    6058 obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o 
    61 diff --git a/arch/mips/lantiq/xway/dev-ifxhcd.c b/arch/mips/lantiq/xway/dev-ifxhcd.c 
    62 new file mode 100644 
    63 index 0000000..ea08a35 
    6459--- /dev/null 
    6560+++ b/arch/mips/lantiq/xway/dev-ifxhcd.c 
     
    110105+       return platform_device_register(&platform_dev); 
    111106+} 
    112 diff --git a/arch/mips/lantiq/xway/dev-ifxhcd.h b/arch/mips/lantiq/xway/dev-ifxhcd.h 
    113 new file mode 100644 
    114 index 0000000..18b3d2d 
    115107--- /dev/null 
    116108+++ b/arch/mips/lantiq/xway/dev-ifxhcd.h 
     
    133125+ 
    134126+#endif 
    135 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    136 index 1a2e2d4..ac7383f 100644 
    137127--- a/arch/mips/lantiq/xway/sysctrl.c 
    138128+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    146136                clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(), 
    147137                                        ltq_danube_io_region_clock()); 
    148 diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig 
    149 index 1eafa7a..0f7926e 100644 
    150138--- a/drivers/usb/Kconfig 
    151139+++ b/drivers/usb/Kconfig 
     
    157145+ 
    158146 endif # USB_SUPPORT 
    159 diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile 
    160 index 7fe8e83..61b4c88 100644 
    161147--- a/drivers/usb/Makefile 
    162148+++ b/drivers/usb/Makefile 
     
    167153+ 
    168154+obj-$(CONFIG_USB_HOST_IFX)     += ifxhcd/ 
    169 diff --git a/drivers/usb/ifxhcd/Kconfig b/drivers/usb/ifxhcd/Kconfig 
    170 new file mode 100644 
    171 index 0000000..7eb8ceb 
    172155--- /dev/null 
    173156+++ b/drivers/usb/ifxhcd/Kconfig 
     
    231214+ 
    232215+ 
    233 diff --git a/drivers/usb/ifxhcd/Makefile b/drivers/usb/ifxhcd/Makefile 
    234 new file mode 100644 
    235 index 0000000..0a2ac99 
    236216--- /dev/null 
    237217+++ b/drivers/usb/ifxhcd/Makefile 
     
    322302+obj-$(CONFIG_USB_HOST_IFX)     += ifxusb_host.o 
    323303+ 
    324 diff --git a/drivers/usb/ifxhcd/TagHistory b/drivers/usb/ifxhcd/TagHistory 
    325 new file mode 100644 
    326 index 0000000..3820d70 
    327304--- /dev/null 
    328305+++ b/drivers/usb/ifxhcd/TagHistory 
     
    499476+Bekanntes Problem: Stick and Surf funktioniert nur sporadisch, weil CONTROL_IRQ manchmal ausbleibt. 
    500477+ 
    501 diff --git a/drivers/usb/ifxhcd/ifxhcd.c b/drivers/usb/ifxhcd/ifxhcd.c 
    502 new file mode 100644 
    503 index 0000000..d2ae125 
    504478--- /dev/null 
    505479+++ b/drivers/usb/ifxhcd/ifxhcd.c 
     
    30283002+#endif //__ENABLE_DUMP__ 
    30293003+ 
    3030 diff --git a/drivers/usb/ifxhcd/ifxhcd.h b/drivers/usb/ifxhcd/ifxhcd.h 
    3031 new file mode 100644 
    3032 index 0000000..3a40851 
    30333004--- /dev/null 
    30343005+++ b/drivers/usb/ifxhcd/ifxhcd.h 
     
    36623633+ 
    36633634+#endif // __IFXHCD_H__ 
    3664 diff --git a/drivers/usb/ifxhcd/ifxhcd_es.c b/drivers/usb/ifxhcd/ifxhcd_es.c 
    3665 new file mode 100644 
    3666 index 0000000..ef9e8c0 
    36673635--- /dev/null 
    36683636+++ b/drivers/usb/ifxhcd/ifxhcd_es.c 
     
    42174185+#endif //__WITH_HS_ELECT_TST__ 
    42184186+ 
    4219 diff --git a/drivers/usb/ifxhcd/ifxhcd_intr.c b/drivers/usb/ifxhcd/ifxhcd_intr.c 
    4220 new file mode 100644 
    4221 index 0000000..76fe602 
    42224187--- /dev/null 
    42234188+++ b/drivers/usb/ifxhcd/ifxhcd_intr.c 
     
    79657930+       return retval; 
    79667931+} 
    7967 diff --git a/drivers/usb/ifxhcd/ifxhcd_queue.c b/drivers/usb/ifxhcd/ifxhcd_queue.c 
    7968 new file mode 100644 
    7969 index 0000000..8f9dd25 
    79707932--- /dev/null 
    79717933+++ b/drivers/usb/ifxhcd/ifxhcd_queue.c 
     
    83898351+} 
    83908352+ 
    8391 diff --git a/drivers/usb/ifxhcd/ifxusb_cif.c b/drivers/usb/ifxhcd/ifxusb_cif.c 
    8392 new file mode 100644 
    8393 index 0000000..10b1292 
    83948353--- /dev/null 
    83958354+++ b/drivers/usb/ifxhcd/ifxusb_cif.c 
     
    98539812+} 
    98549813+ 
    9855 diff --git a/drivers/usb/ifxhcd/ifxusb_cif.h b/drivers/usb/ifxhcd/ifxusb_cif.h 
    9856 new file mode 100644 
    9857 index 0000000..191781f 
    98589814--- /dev/null 
    98599815+++ b/drivers/usb/ifxhcd/ifxusb_cif.h 
     
    1052410480+ 
    1052510481+ 
    10526 diff --git a/drivers/usb/ifxhcd/ifxusb_cif_d.c b/drivers/usb/ifxhcd/ifxusb_cif_d.c 
    10527 new file mode 100644 
    10528 index 0000000..36ab0e7 
    1052910482--- /dev/null 
    1053010483+++ b/drivers/usb/ifxhcd/ifxusb_cif_d.c 
     
    1098810941+} 
    1098910942+ 
    10990 diff --git a/drivers/usb/ifxhcd/ifxusb_cif_h.c b/drivers/usb/ifxhcd/ifxusb_cif_h.c 
    10991 new file mode 100644 
    10992 index 0000000..0f47ecd 
    1099310943--- /dev/null 
    1099410944+++ b/drivers/usb/ifxhcd/ifxusb_cif_h.c 
     
    1184011790+ 
    1184111791+ 
    11842 diff --git a/drivers/usb/ifxhcd/ifxusb_ctl.c b/drivers/usb/ifxhcd/ifxusb_ctl.c 
    11843 new file mode 100644 
    11844 index 0000000..ade8e13 
    1184511792--- /dev/null 
    1184611793+++ b/drivers/usb/ifxhcd/ifxusb_ctl.c 
     
    1323113178+ 
    1323213179+ 
    13233 diff --git a/drivers/usb/ifxhcd/ifxusb_driver.c b/drivers/usb/ifxhcd/ifxusb_driver.c 
    13234 new file mode 100644 
    13235 index 0000000..2334905 
    1323613180--- /dev/null 
    1323713181+++ b/drivers/usb/ifxhcd/ifxusb_driver.c 
     
    1420714151+ 
    1420814152+ 
    14209 diff --git a/drivers/usb/ifxhcd/ifxusb_plat.h b/drivers/usb/ifxhcd/ifxusb_plat.h 
    14210 new file mode 100644 
    14211 index 0000000..a50294f 
    1421214153--- /dev/null 
    1421314154+++ b/drivers/usb/ifxhcd/ifxusb_plat.h 
     
    1523115172+#endif //__IFXUSB_PLAT_H__ 
    1523215173+ 
    15233 diff --git a/drivers/usb/ifxhcd/ifxusb_regs.h b/drivers/usb/ifxhcd/ifxusb_regs.h 
    15234 new file mode 100644 
    15235 index 0000000..014c6db 
    1523615174--- /dev/null 
    1523715175+++ b/drivers/usb/ifxhcd/ifxusb_regs.h 
     
    1665716595+ 
    1665816596+#endif //__IFXUSB_REGS_H__ 
    16659 diff --git a/drivers/usb/ifxhcd/ifxusb_version.h b/drivers/usb/ifxhcd/ifxusb_version.h 
    16660 new file mode 100644 
    16661 index 0000000..2dff735 
    1666216597--- /dev/null 
    1666316598+++ b/drivers/usb/ifxhcd/ifxusb_version.h 
     
    1666816603+#endif 
    1666916604+ 
    16670 --  
    16671 1.7.7.1 
    16672  
  • trunk/target/linux/lantiq/patches-3.2/0051-MIPS-adds-gptu-driver.patch

    r31060 r31158  
    99 create mode 100644 arch/mips/lantiq/xway/gptu.c 
    1010 
    11 diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c 
    12 new file mode 100644 
    13 index 0000000..ac82c37 
    1411--- /dev/null 
    1512+++ b/arch/mips/lantiq/xway/gptu.c 
     
    191188+ 
    192189+arch_initcall(gptu_setup); 
    193 --  
    194 1.7.7.1 
    195  
  • trunk/target/linux/lantiq/patches-3.2/0052-MIPS-lantiq-pci-rename-variable-inside.patch

    r31060 r31158  
    1111 3 files changed, 7 insertions(+), 7 deletions(-) 
    1212 
    13 diff --git a/arch/mips/pci/ops-lantiq.c b/arch/mips/pci/ops-lantiq.c 
    14 index 1f2afb5..5cbb0cf 100644 
    1513--- a/arch/mips/pci/ops-lantiq.c 
    1614+++ b/arch/mips/pci/ops-lantiq.c 
    17 @@ -41,7 +41,7 @@ static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus, 
     15@@ -41,7 +41,7 @@ static int ltq_pci_config_access(unsigne 
    1816  
    1917        spin_lock_irqsave(&ebu_lock, flags); 
     
    2422                        LTQ_PCI_CFG_FUNNUM_SHF) | (where & ~0x3); 
    2523  
    26 @@ -55,11 +55,11 @@ static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus, 
     24@@ -55,11 +55,11 @@ static int ltq_pci_config_access(unsigne 
    2725        wmb(); 
    2826  
     
    3836        ltq_w32(temp, ((u32 *)cfg_base)); 
    3937  
    40 diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c 
    41 index 47b551c..efcdd45 100644 
    4238--- a/arch/mips/pci/pci-lantiq.c 
    4339+++ b/arch/mips/pci/pci-lantiq.c 
     
    5349 struct ltq_pci_gpio_map { 
    5450        int pin; 
    55 @@ -273,7 +273,7 @@ static int __devinit ltq_pci_probe(struct platform_device *pdev) 
     51@@ -273,7 +273,7 @@ static int __devinit ltq_pci_probe(struc 
    5652        pci_probe_only = 0; 
    5753        ltq_pci_irq_map = ltq_pci_data->irq; 
     
    6258        ltq_pci_controller.io_map_base = 
    6359                (unsigned long)ioremap(LTQ_PCI_IO_BASE, LTQ_PCI_IO_SIZE - 1); 
    64 diff --git a/arch/mips/pci/pci-lantiq.h b/arch/mips/pci/pci-lantiq.h 
    65 index 66bf6cd..c4721b4 100644 
    6660--- a/arch/mips/pci/pci-lantiq.h 
    6761+++ b/arch/mips/pci/pci-lantiq.h 
     
    7569        unsigned int devfn, int where, int size, u32 *val); 
    7670 extern int ltq_pci_write_config_dword(struct pci_bus *bus, 
    77 --  
    78 1.7.7.1 
    79  
  • trunk/target/linux/lantiq/patches-3.2/0053-MIPS-lantiq-pci-give-xway-pci-support-its-own-kbuild.patch

    r31060 r31158  
    1010 2 files changed, 6 insertions(+), 1 deletions(-) 
    1111 
    12 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    13 index cb6b39f..dde9fc6 100644 
    1412--- a/arch/mips/lantiq/Kconfig 
    1513+++ b/arch/mips/lantiq/Kconfig 
     
    2826 source "arch/mips/lantiq/falcon/Kconfig" 
    2927  
    30 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    31 index bb82cbd..afad91d 100644 
    3228--- a/arch/mips/pci/Makefile 
    3329+++ b/arch/mips/pci/Makefile 
    34 @@ -40,7 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)   += fixup-sb1250.o pci-sb1250.o 
     30@@ -40,7 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)   += fixup-sb1 
    3531 obj-$(CONFIG_SIBYTE_BCM112X)   += fixup-sb1250.o pci-sb1250.o 
    3632 obj-$(CONFIG_SIBYTE_BCM1x80)   += pci-bcm1480.o pci-bcm1480ht.o 
     
    4137 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    4238 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    43 --  
    44 1.7.7.1 
    45  
  • trunk/target/linux/lantiq/patches-3.2/0054-MIPS-lantiq-pci-move-pcibios-code-into-fixup-lantiq..patch

    r31060 r31158  
    1212 create mode 100644 arch/mips/pci/fixup-lantiq.c 
    1313 
    14 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    15 index afad91d..3ca5f75 100644 
    1614--- a/arch/mips/pci/Makefile 
    1715+++ b/arch/mips/pci/Makefile 
    18 @@ -40,6 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)   += fixup-sb1250.o pci-sb1250.o 
     16@@ -40,6 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)   += fixup-sb1 
    1917 obj-$(CONFIG_SIBYTE_BCM112X)   += fixup-sb1250.o pci-sb1250.o 
    2018 obj-$(CONFIG_SIBYTE_BCM1x80)   += pci-bcm1480.o pci-bcm1480ht.o 
     
    2422 obj-$(CONFIG_TANBAC_TB0219)    += fixup-tb0219.o 
    2523 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    26 diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c 
    27 new file mode 100644 
    28 index 0000000..daf5ae9 
    2924--- /dev/null 
    3025+++ b/arch/mips/pci/fixup-lantiq.c 
     
    7267+ 
    7368+ 
    74 diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c 
    75 index efcdd45..7a29738 100644 
    7669--- a/arch/mips/pci/pci-lantiq.c 
    7770+++ b/arch/mips/pci/pci-lantiq.c 
    78 @@ -93,16 +93,14 @@ static struct ltq_pci_gpio_map ltq_pci_gpio_map[] = { 
     71@@ -93,16 +93,14 @@ static struct ltq_pci_gpio_map ltq_pci_g 
    7972        { 37, 2, 0, "pci-req4" }, 
    8073 }; 
     
    9588 struct pci_ops ltq_pci_ops = { 
    9689        .read   = ltq_pci_read_config_dword, 
    97 @@ -131,14 +129,6 @@ static struct pci_controller ltq_pci_controller = { 
     90@@ -131,14 +129,6 @@ static struct pci_controller ltq_pci_con 
    9891        .io_offset      = 0x00000000UL, 
    9992 }; 
     
    110103 { 
    111104        u32 mem, bar11mask; 
    112 @@ -256,16 +246,6 @@ static int __devinit ltq_pci_startup(struct device *dev) 
     105@@ -256,16 +246,6 @@ static int __devinit ltq_pci_startup(str 
    113106        return 0; 
    114107 } 
     
    127120 { 
    128121        struct ltq_pci_data *ltq_pci_data = 
    129 --  
    130 1.7.7.1 
    131  
  • trunk/target/linux/lantiq/patches-3.2/0055-MIPS-lantiq-pcie-add-pcie-driver.patch

    r31060 r31158  
    2222 create mode 100644 arch/mips/pci/pcie-lantiq.h 
    2323 
    24 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    25 index 1b78cd7..bbaff9b 100644 
    2624--- a/arch/mips/Kconfig 
    2725+++ b/arch/mips/Kconfig 
    28 @@ -2329,6 +2329,7 @@ config PCI_DOMAINS 
     26@@ -2353,6 +2353,7 @@ config PCI_DOMAINS 
    2927        bool 
    3028  
     
    3432 # 
    3533 # ISA support is now enabled via select.  Too many systems still have the one 
    36 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    37 index dde9fc6..d21d9d4 100644 
    3834--- a/arch/mips/lantiq/Kconfig 
    3935+++ b/arch/mips/lantiq/Kconfig 
     
    4945 source "arch/mips/lantiq/falcon/Kconfig" 
    5046  
    51 diff --git a/arch/mips/lantiq/xway/Kconfig b/arch/mips/lantiq/xway/Kconfig 
    52 index 2b857de..54a51ff 100644 
    5347--- a/arch/mips/lantiq/xway/Kconfig 
    5448+++ b/arch/mips/lantiq/xway/Kconfig 
     
    8175  
    8276 if SOC_AMAZON_SE 
    83 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    84 index 3ca5f75..3386888 100644 
    8577--- a/arch/mips/pci/Makefile 
    8678+++ b/arch/mips/pci/Makefile 
    87 @@ -42,6 +42,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o 
     79@@ -42,6 +42,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1 
    8880 obj-$(CONFIG_SNI_RM)           += fixup-sni.o ops-sni.o 
    8981 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
     
    9486 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    9587 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    96 diff --git a/arch/mips/pci/fixup-lantiq-pcie.c b/arch/mips/pci/fixup-lantiq-pcie.c 
    97 new file mode 100644 
    98 index 0000000..84517df 
    9988--- /dev/null 
    10089+++ b/arch/mips/pci/fixup-lantiq-pcie.c 
     
    181170+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LANTIQ, PCI_DEVICE_ID_LANTIQ_PCIE, 
    182171+     ifx_pcie_rc_class_early_fixup); 
    183 diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c 
    184 index 41af7fa..2239cda 100644 
    185172--- a/arch/mips/pci/pci.c 
    186173+++ b/arch/mips/pci/pci.c 
     
    217204 { 
    218205        u16 cmd, old_cmd; 
    219 diff --git a/arch/mips/pci/pcie-lantiq-msi.c b/arch/mips/pci/pcie-lantiq-msi.c 
    220 new file mode 100644 
    221 index 0000000..9cbf639 
    222206--- /dev/null 
    223207+++ b/arch/mips/pci/pcie-lantiq-msi.c 
     
    622606+MODULE_DESCRIPTION("Infineon PCIe IP builtin MSI PIC driver"); 
    623607+ 
    624 diff --git a/arch/mips/pci/pcie-lantiq-phy.c b/arch/mips/pci/pcie-lantiq-phy.c 
    625 new file mode 100644 
    626 index 0000000..9f5027d 
    627608--- /dev/null 
    628609+++ b/arch/mips/pci/pcie-lantiq-phy.c 
     
    10361017+} 
    10371018+ 
    1038 diff --git a/arch/mips/pci/pcie-lantiq.c b/arch/mips/pci/pcie-lantiq.c 
    1039 new file mode 100644 
    1040 index 0000000..1df55b5 
    10411019--- /dev/null 
    10421020+++ b/arch/mips/pci/pcie-lantiq.c 
     
    21882166+ 
    21892167+arch_initcall(pciebios_init); 
    2190 diff --git a/arch/mips/pci/pcie-lantiq.h b/arch/mips/pci/pcie-lantiq.h 
    2191 new file mode 100644 
    2192 index 0000000..d877c23 
    21932168--- /dev/null 
    21942169+++ b/arch/mips/pci/pcie-lantiq.h 
     
    34993474+#endif /* IFXMIPS_PCIE_VR9_H */ 
    35003475+ 
    3501 --  
    3502 1.7.7.1 
    3503  
  • trunk/target/linux/lantiq/patches-3.2/0056-MIPS-lantiq-make-GPIO3-work-on-AR9.patch

    r31060 r31158  
    1919 5 files changed, 75 insertions(+), 20 deletions(-) 
    2020 
    21 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    22 index d1b8cc8..bfdeb16 100644 
    2321--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    2422+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    3331 /* SSC */ 
    3432 #define LTQ_SSC_BASE_ADDR      0x1e100800 
    35 diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c 
    36 index 5efa4f3..e6d45bc 100644 
    3733--- a/arch/mips/lantiq/xway/devices.c 
    3834+++ b/arch/mips/lantiq/xway/devices.c 
    39 @@ -34,6 +34,7 @@ static struct resource ltq_gpio_resource[] = { 
     35@@ -34,6 +34,7 @@ static struct resource ltq_gpio_resource 
    4036        MEM_RES("gpio0", LTQ_GPIO0_BASE_ADDR, LTQ_GPIO_SIZE), 
    4137        MEM_RES("gpio1", LTQ_GPIO1_BASE_ADDR, LTQ_GPIO_SIZE), 
     
    5450 } 
    5551  
    56 diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c 
    57 index 54ec6c9..375329b 100644 
    5852--- a/arch/mips/lantiq/xway/gpio.c 
    5953+++ b/arch/mips/lantiq/xway/gpio.c 
     
    7771 #define ltq_gpio_getbit(m, r, p)       (!!(ltq_r32(m + r) & (1 << p))) 
    7872 #define ltq_gpio_setbit(m, r, p)       ltq_w32_mask(0, (1 << p), m + r) 
    79 @@ -55,7 +63,7 @@ int ltq_gpio_request(struct device *dev, unsigned int pin, unsigned int mux, 
     73@@ -55,7 +63,7 @@ int ltq_gpio_request(struct device *dev, 
    8074 { 
    8175        int id = 0; 
     
    8680        if (devm_gpio_request(dev, pin, name)) { 
    8781                pr_err("failed to setup lantiq gpio: %s\n", name); 
    88 @@ -75,12 +83,21 @@ int ltq_gpio_request(struct device *dev, unsigned int pin, unsigned int mux, 
     82@@ -75,12 +83,21 @@ int ltq_gpio_request(struct device *dev, 
    8983        else 
    9084                ltq_gpio_clearbit(ltq_gpio_port[id].membase, 
     
    114108 } 
    115109 EXPORT_SYMBOL(ltq_gpio_request); 
    116 @@ -106,10 +123,19 @@ static int ltq_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) 
     110@@ -106,10 +123,19 @@ static int ltq_gpio_direction_input(stru 
    117111 { 
    118112        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip); 
     
    137131        return 0; 
    138132 } 
    139 @@ -119,10 +145,19 @@ static int ltq_gpio_direction_output(struct gpio_chip *chip, 
     133@@ -119,10 +145,19 @@ static int ltq_gpio_direction_output(str 
    140134 { 
    141135        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip); 
     
    160154  
    161155        return 0; 
    162 @@ -133,7 +168,11 @@ static int ltq_gpio_req(struct gpio_chip *chip, unsigned offset) 
     156@@ -133,7 +168,11 @@ static int ltq_gpio_req(struct gpio_chip 
    163157        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip); 
    164158  
     
    173167 } 
    174168  
    175 @@ -146,6 +185,16 @@ static int ltq_gpio_probe(struct platform_device *pdev) 
     169@@ -146,6 +185,16 @@ static int ltq_gpio_probe(struct platfor 
    176170                        pdev->id); 
    177171                return -EINVAL; 
     
    190184        if (!res) { 
    191185                dev_err(&pdev->dev, "failed to get memory for gpio port %d\n", 
    192 @@ -175,7 +224,10 @@ static int ltq_gpio_probe(struct platform_device *pdev) 
     186@@ -175,7 +224,10 @@ static int ltq_gpio_probe(struct platfor 
    193187        ltq_gpio_port[pdev->id].chip.set = ltq_gpio_set; 
    194188        ltq_gpio_port[pdev->id].chip.request = ltq_gpio_req; 
     
    202196        return gpiochip_add(&ltq_gpio_port[pdev->id].chip); 
    203197 } 
    204 diff --git a/arch/mips/lantiq/xway/gpio_ebu.c b/arch/mips/lantiq/xway/gpio_ebu.c 
    205 index b91c7f1..bc5696b 100644 
    206198--- a/arch/mips/lantiq/xway/gpio_ebu.c 
    207199+++ b/arch/mips/lantiq/xway/gpio_ebu.c 
     
    217209 }; 
    218210  
    219 diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c 
    220 index da91c5e..9610c10 100644 
    221211--- a/arch/mips/lantiq/xway/gpio_stp.c 
    222212+++ b/arch/mips/lantiq/xway/gpio_stp.c 
     
    232222 }; 
    233223  
    234 --  
    235 1.7.7.1 
    236  
  • trunk/target/linux/lantiq/patches-3.2/0057-MIPS-lantiq-VPE-extensions.patch

    r31060 r31158  
    1818 create mode 100644 arch/mips/kernel/perf_proc.c 
    1919 
    20 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    21 index bbaff9b..902aedb 100644 
    2220--- a/arch/mips/Kconfig 
    2321+++ b/arch/mips/Kconfig 
    24 @@ -1897,6 +1897,28 @@ config MIPS_VPE_LOADER 
     22@@ -1909,6 +1909,28 @@ config MIPS_VPE_LOADER 
    2523          Includes a loader for loading an elf relocatable object 
    2624          onto another VPE and running it. 
     
    5149        bool "Use per-TC register bits as backstop for inhibited IM bits" 
    5250        depends on MIPS_MT_SMTC 
    53 diff --git a/arch/mips/include/asm/mipsmtregs.h b/arch/mips/include/asm/mipsmtregs.h 
    54 index c9420aa..04bfb4b 100644 
    5551--- a/arch/mips/include/asm/mipsmtregs.h 
    5652+++ b/arch/mips/include/asm/mipsmtregs.h 
     
    162158 /* GPR */ 
    163159 #define read_tc_gpr_sp()               mftgpr(29) 
    164 diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile 
    165 index 1a96618..bc5989e 100644 
    166160--- a/arch/mips/kernel/Makefile 
    167161+++ b/arch/mips/kernel/Makefile 
    168 @@ -88,7 +88,8 @@ obj-$(CONFIG_MIPS32_O32)      += binfmt_elfo32.o scall64-o32.o 
     162@@ -88,7 +88,8 @@ obj-$(CONFIG_MIPS32_O32)      += binfmt_elfo3 
    169163  
    170164 obj-$(CONFIG_KGDB)             += kgdb.o 
     
    176170  
    177171 obj-$(CONFIG_I8253)            += i8253.o 
    178 diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c 
    179 index c23d11f..11d6489 100644 
    180172--- a/arch/mips/kernel/mips-mt.c 
    181173+++ b/arch/mips/kernel/mips-mt.c 
     
    282274 /* 
    283275  * Dump new MIPS MT state for the core. Does not leave TCs halted. 
    284 @@ -78,18 +148,18 @@ void mips_mt_regdump(unsigned long mvpctl) 
     276@@ -78,18 +148,18 @@ void mips_mt_regdump(unsigned long mvpct 
    285277                        if ((read_tc_c0_tcbind() & TCBIND_CURVPE) == i) { 
    286278                                printk("  VPE %d\n", i); 
     
    318310  
    319311 /* 
    320 diff --git a/arch/mips/kernel/mtsched_proc.c b/arch/mips/kernel/mtsched_proc.c 
    321 new file mode 100644 
    322 index 0000000..4dafded 
    323312--- /dev/null 
    324313+++ b/arch/mips/kernel/mtsched_proc.c 
     
    603592+/* Automagically create the entry */ 
    604593+module_init(init_mtsched_proc); 
    605 diff --git a/arch/mips/kernel/perf_proc.c b/arch/mips/kernel/perf_proc.c 
    606 new file mode 100644 
    607 index 0000000..7eec015 
    608594--- /dev/null 
    609595+++ b/arch/mips/kernel/perf_proc.c 
     
    800786+/* Automagically create the entry */ 
    801787+module_init(init_perf_proc); 
    802 diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c 
    803 index e309665..2de204f 100644 
    804788--- a/arch/mips/kernel/proc.c 
    805789+++ b/arch/mips/kernel/proc.c 
     
    812796 #include <asm/cpu.h> 
    813797 #include <asm/cpu-features.h> 
    814 @@ -110,3 +111,19 @@ const struct seq_operations cpuinfo_op = { 
     798@@ -110,3 +111,19 @@ const struct seq_operations cpuinfo_op = 
    815799        .stop   = c_stop, 
    816800        .show   = show_cpuinfo, 
     
    832816+       return(mips_proc); 
    833817+} 
    834 diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c 
    835 index f0895e7..199e853 100644 
    836818--- a/arch/mips/kernel/smtc.c 
    837819+++ b/arch/mips/kernel/smtc.c 
    838 @@ -1334,6 +1334,13 @@ void smtc_get_new_mmu_context(struct mm_struct *mm, unsigned long cpu) 
     820@@ -1334,6 +1334,13 @@ void smtc_get_new_mmu_context(struct mm_ 
    839821        asid = asid_cache(cpu); 
    840822  
     
    850832                        if (cpu_has_vtag_icache) 
    851833                                flush_icache_all(); 
    852 diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c 
    853 index bfa12a4..e338ba5 100644 
    854834--- a/arch/mips/kernel/vpe.c 
    855835+++ b/arch/mips/kernel/vpe.c 
    856 @@ -75,6 +75,58 @@ static struct kspd_notifications kspd_events; 
     836@@ -75,6 +75,58 @@ static struct kspd_notifications kspd_ev 
    857837 static int kspd_events_reqd; 
    858838 #endif 
     
    913893 #ifdef CONFIG_MIPS_VPE_LOADER_TOM 
    914894 #define P_SIZE (2 * 1024 * 1024) 
    915 @@ -267,6 +319,13 @@ static void *alloc_progmem(unsigned long len) 
     895@@ -267,6 +319,13 @@ static void *alloc_progmem(unsigned long 
    916896        void *addr; 
    917897  
     
    961941         * The sde-kit passes 'memsize' to __start in $a3, so set something 
    962942         * here...  Or set $a3 to zero and define DFLT_STACK_SIZE and 
    963 @@ -832,6 +911,9 @@ static int find_vpe_symbols(struct vpe * v, Elf_Shdr * sechdrs, 
     943@@ -832,6 +911,9 @@ static int find_vpe_symbols(struct vpe * 
    964944        if ( (v->__start == 0) || (v->shared_ptr == NULL)) 
    965945                return -1; 
     
    987967                        printk(KERN_WARNING "VPE loader: program does not contain " 
    988968                               "a __start symbol\n"); 
    989 @@ -1063,6 +1154,9 @@ static int vpe_open(struct inode *inode, struct file *filp) 
     969@@ -1063,6 +1154,9 @@ static int vpe_open(struct inode *inode, 
    990970        struct vpe_notifications *not; 
    991971        struct vpe *v; 
     
    997977        if (minor != iminor(inode)) { 
    998978                /* assume only 1 device at the moment. */ 
    999 @@ -1088,7 +1182,12 @@ static int vpe_open(struct inode *inode, struct file *filp) 
     979@@ -1088,7 +1182,12 @@ static int vpe_open(struct inode *inode, 
    1000980                release_progmem(v->load_addr); 
    1001981                cleanup_tc(get_tc(tclimit)); 
     
    1011991        v->pbuffer = vmalloc(P_SIZE); 
    1012992        if (!v->pbuffer) { 
    1013 @@ -1096,11 +1195,14 @@ static int vpe_open(struct inode *inode, struct file *filp) 
     993@@ -1096,11 +1195,14 @@ static int vpe_open(struct inode *inode, 
    1014994                return -ENOMEM; 
    1015995        } 
     
    12171197        evpe(vpflags); 
    12181198        emt(mtflags); 
    1219 --  
    1220 1.7.7.1 
    1221  
  • trunk/target/linux/lantiq/patches-3.2/0058-MIPS-lantiq-falcon-VPE-softdog.patch

    r31060 r31158  
    1111 create mode 100644 arch/mips/lantiq/falcon/softdog_vpe.c 
    1212 
    13 diff --git a/arch/mips/include/asm/mach-lantiq/falcon/vpe.h b/arch/mips/include/asm/mach-lantiq/falcon/vpe.h 
    14 new file mode 100644 
    15 index 0000000..22a701b 
    1613--- /dev/null 
    1714+++ b/arch/mips/include/asm/mach-lantiq/falcon/vpe.h 
     
    6158+ 
    6259+#endif 
    63 diff --git a/arch/mips/lantiq/falcon/softdog_vpe.c b/arch/mips/lantiq/falcon/softdog_vpe.c 
    64 new file mode 100644 
    65 index 0000000..85d22a2 
    6660--- /dev/null 
    6761+++ b/arch/mips/lantiq/falcon/softdog_vpe.c 
     
    176170+MODULE_DESCRIPTION("Software Watchdog For VPE1"); 
    177171+MODULE_LICENSE("GPL"); 
    178 --  
    179 1.7.7.1 
    180  
  • trunk/target/linux/lantiq/patches-3.2/0059-MIPS-lantiq-udp-in-kernel-redirect.patch

    r31060 r31158  
    1414 create mode 100644 net/ipv4/udp_redirect_symb.c 
    1515 
    16 diff --git a/include/linux/udp_redirect.h b/include/linux/udp_redirect.h 
    17 new file mode 100644 
    18 index 0000000..de1e64f 
    1916--- /dev/null 
    2017+++ b/include/linux/udp_redirect.h 
     
    7774+                               int fraglen, int odd, struct sk_buff *skb); 
    7875+#endif 
    79 diff --git a/net/Kconfig b/net/Kconfig 
    80 index a073148..d13e3fa 100644 
    8176--- a/net/Kconfig 
    8277+++ b/net/Kconfig 
     
    9489 source "net/ipv4/Kconfig" 
    9590 source "net/ipv6/Kconfig" 
    96 diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile 
    97 index f2dc69c..6badd72 100644 
    9891--- a/net/ipv4/Makefile 
    9992+++ b/net/ipv4/Makefile 
    100 @@ -14,6 +14,9 @@ obj-y     := route.o inetpeer.o protocol.o \ 
     93@@ -14,6 +14,9 @@ obj-y     := route.o inetpeer.o protocol 
    10194             inet_fragment.o ping.o 
    10295  
     
    108101 obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o 
    109102 obj-$(CONFIG_IP_MROUTE) += ipmr.o 
    110 diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c 
    111 index 5a65eea..cdfa0d4 100644 
    112103--- a/net/ipv4/udp.c 
    113104+++ b/net/ipv4/udp.c 
     
    123114 EXPORT_SYMBOL(udp_table); 
    124115  
    125 @@ -803,7 +807,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, 
     116@@ -803,7 +807,7 @@ int udp_sendmsg(struct kiocb *iocb, stru 
    126117        u8  tos; 
    127118        int err, is_udplite = IS_UDPLITE(sk); 
     
    132123        struct ip_options_data opt_copy; 
    133124  
    134 @@ -820,7 +824,13 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, 
     125@@ -820,7 +824,13 @@ int udp_sendmsg(struct kiocb *iocb, stru 
    135126        ipc.opt = NULL; 
    136127        ipc.tx_flags = 0; 
     
    147138        fl4 = &inet->cork.fl.u.ip4; 
    148139        if (up->pending) { 
    149 @@ -1623,6 +1633,7 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, 
     140@@ -1623,6 +1633,7 @@ int __udp4_lib_rcv(struct sk_buff *skb, 
    150141        struct rtable *rt = skb_rtable(skb); 
    151142        __be32 saddr, daddr; 
     
    155146        /* 
    156147         *  Validate the packet. 
    157 @@ -1655,7 +1666,16 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, 
     148@@ -1655,7 +1666,16 @@ int __udp4_lib_rcv(struct sk_buff *skb, 
    158149        sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable); 
    159150  
     
    182173 #ifdef CONFIG_PROC_FS 
    183174  
    184 diff --git a/net/ipv4/udp_redirect_symb.c b/net/ipv4/udp_redirect_symb.c 
    185 new file mode 100644 
    186 index 0000000..5617e86 
    187175--- /dev/null 
    188176+++ b/net/ipv4/udp_redirect_symb.c 
     
    374362+EXPORT_SYMBOL(udpredirect_getfrag_fn); 
    375363+#endif /* CONFIG_IFX_UDP_REDIRECT* */ 
    376 --  
    377 1.7.7.1 
    378  
  • trunk/target/linux/lantiq/patches-3.2/0060-MIPS-lantiq-cache-split.patch

    r31060 r31158  
    1010 3 files changed, 260 insertions(+), 0 deletions(-) 
    1111 
    12 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    13 index 902aedb..12ee3df 100644 
    1412--- a/arch/mips/Kconfig 
    1513+++ b/arch/mips/Kconfig 
    16 @@ -1904,6 +1904,28 @@ config IFX_VPE_EXT 
     14@@ -1916,6 +1916,28 @@ config IFX_VPE_EXT 
    1715        help 
    1816          IFX included extensions in APRP 
     
    4341        bool "34K Performance counters" 
    4442        depends on MIPS_MT && PROC_FS 
    45 diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c 
    46 index e338ba5..0511d11 100644 
    4743--- a/arch/mips/kernel/vpe.c 
    4844+++ b/arch/mips/kernel/vpe.c 
    49 @@ -127,6 +127,13 @@ __setup("vpe1_wdog_timeout=", wdog_timeout); 
     45@@ -127,6 +127,13 @@ __setup("vpe1_wdog_timeout=", wdog_timeo 
    5046 EXPORT_SYMBOL(vpe1_wdog_timeout); 
    5147  
     
    127123        write_vpe_c0_status(0); 
    128124        write_vpe_c0_cause(0); 
    129 diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c 
    130 index a79fe9a..94cb24f 100644 
    131125--- a/arch/mips/mm/c-r4k.c 
    132126+++ b/arch/mips/mm/c-r4k.c 
    133 @@ -1383,6 +1383,106 @@ static int __init setcoherentio(char *str) 
     127@@ -1383,6 +1383,106 @@ static int __init setcoherentio(char *st 
    134128 __setup("coherentio", setcoherentio); 
    135129 #endif 
     
    317311        setup_scache(); 
    318312  
    319 --  
    320 1.7.7.1 
    321  
  • trunk/target/linux/lantiq/patches-3.2/0061-MIPS-clean-up-clock-code.patch

    r31060 r31158  
    1111 4 files changed, 143 insertions(+), 39 deletions(-) 
    1212 
    13 diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c 
    14 index 84a201e..5494b6e 100644 
    1513--- a/arch/mips/lantiq/clk.c 
    1614+++ b/arch/mips/lantiq/clk.c 
     
    2321 struct clk *clk_get_io(void) 
    2422 { 
    25 @@ -70,6 +71,16 @@ unsigned long clk_get_rate(struct clk *clk) 
     23@@ -70,6 +71,16 @@ unsigned long clk_get_rate(struct clk *c 
    2624 } 
    2725 EXPORT_SYMBOL(clk_get_rate); 
     
    4038 { 
    4139        if (unlikely(!clk_good(clk))) 
    42 diff --git a/arch/mips/lantiq/clk.h b/arch/mips/lantiq/clk.h 
    43 index d047768..b34e675 100644 
    4440--- a/arch/mips/lantiq/clk.h 
    4541+++ b/arch/mips/lantiq/clk.h 
     
    6359        void (*disable) (struct clk *clk); 
    6460        int (*activate) (struct clk *clk); 
    65 diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c 
    66 index e6d45bc..5d4650d 100644 
    6761--- a/arch/mips/lantiq/xway/devices.c 
    6862+++ b/arch/mips/lantiq/xway/devices.c 
    69 @@ -59,7 +59,7 @@ static struct resource ltq_stp_resource = 
     63@@ -59,7 +59,7 @@ static struct resource ltq_stp_resource 
    7064  
    7165 void __init ltq_register_gpio_stp(void) 
     
    7670  
    7771 /* asc ports - amazon se has its own serial mapping */ 
    78 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    79 index ac7383f..9df048c 100644 
    8072--- a/arch/mips/lantiq/xway/sysctrl.c 
    8173+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    185177  
    186178 static int ltq_pmu_enable(struct clk *clk) 
    187 @@ -94,9 +111,49 @@ static int ltq_pmu_enable(struct clk *clk) 
     179@@ -94,9 +111,49 @@ static int ltq_pmu_enable(struct clk *cl 
    188180  
    189181 static void ltq_pmu_disable(struct clk *clk) 
     
    192184+       ltq_pmu_w32(ltq_pmu_r32(PWDCR(clk->module)) | clk->bits, 
    193185+               PWDCR(clk->module)); 
    194 +} 
    195 + 
     186 } 
     187  
    196188+static int ltq_pci_enable(struct clk *clk) 
    197189+{ 
     
    230222+               CGU_IFCCR); 
    231223+       ltq_cgu_w32((1 << 31) | (1 << 30), CGU_PCICR); 
    232  } 
    233   
     224+} 
     225+ 
    234226+/* manage the clock gates via PMU */ 
    235227 static inline void clkdev_add_pmu(const char *dev, const char *con, 
    236228                                        unsigned int module, unsigned int bits) 
    237229 { 
    238 @@ -112,6 +169,7 @@ static inline void clkdev_add_pmu(const char *dev, const char *con, 
     230@@ -112,6 +169,7 @@ static inline void clkdev_add_pmu(const 
    239231        clkdev_add(&clk->cl); 
    240232 } 
     
    244236                                        unsigned int bits) 
    245237 { 
    246 @@ -126,6 +184,33 @@ static inline void clkdev_add_cgu(const char *dev, const char *con, 
     238@@ -126,6 +184,33 @@ static inline void clkdev_add_cgu(const 
    247239        clkdev_add(&clk->cl); 
    248240 } 
     
    315307                        clkdev_add_pmu("ltq_etop", "switch", 0, PMU_SWITCH); 
    316308        } 
    317 --  
    318 1.7.7.1 
    319  
  • trunk/target/linux/lantiq/patches-3.2/0062-MIPS-cleanup-reset-code.patch

    r31060 r31158  
    88 1 files changed, 50 insertions(+), 9 deletions(-) 
    99 
    10 diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c 
    11 index ca2212a..8a5dff1 100644 
    1210--- a/arch/mips/lantiq/xway/reset.c 
    1311+++ b/arch/mips/lantiq/xway/reset.c 
     
    9997 } 
    10098  
    101 --  
    102 1.7.7.1 
    103  
  • trunk/target/linux/lantiq/patches-3.2/0063-MIPS-lantiq-fixes-ar9-vr9-clock.patch

    r31060 r31158  
    1010 3 files changed, 35 insertions(+), 11 deletions(-) 
    1111 
    12 diff --git a/arch/mips/lantiq/clk.h b/arch/mips/lantiq/clk.h 
    13 index b34e675..010dfa7 100644 
    1412--- a/arch/mips/lantiq/clk.h 
    1513+++ b/arch/mips/lantiq/clk.h 
    16 @@ -56,8 +56,10 @@ extern unsigned long ltq_danube_cpu_hz(void); 
     14@@ -56,8 +56,10 @@ extern unsigned long ltq_danube_cpu_hz(v 
    1715 extern unsigned long ltq_danube_fpi_hz(void); 
    1816 extern unsigned long ltq_danube_io_region_clock(void); 
     
    2624  
    2725 #endif 
    28 diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c 
    29 index 3635c9f..2bafc04 100644 
    3026--- a/arch/mips/lantiq/xway/clk.c 
    3127+++ b/arch/mips/lantiq/xway/clk.c 
     
    7369 { 
    7470        return ltq_vr9_fpi_hz(); 
    75 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    76 index 9df048c..6771a7e 100644 
    7771--- a/arch/mips/lantiq/xway/sysctrl.c 
    7872+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    112106        } 
    113107 } 
    114 --  
    115 1.7.7.1 
    116  
  • trunk/target/linux/lantiq/patches-3.2/0064-MIPS-lantiq-fixes-danube-clock.patch

    r31060 r31158  
    88 1 files changed, 10 insertions(+), 10 deletions(-) 
    99 
    10 diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c 
    11 index 2bafc04..5d850dc 100644 
    1210--- a/arch/mips/lantiq/xway/clk.c 
    1311+++ b/arch/mips/lantiq/xway/clk.c 
    14 @@ -181,7 +181,7 @@ unsigned long ltq_danube_io_region_clock(void) 
     12@@ -181,7 +181,7 @@ unsigned long ltq_danube_io_region_clock 
    1513 { 
    1614        unsigned int ret = ltq_get_pll0_fosc(); 
     
    2119        case 0: 
    2220                return (ret + 1) / 2; 
    23 @@ -203,6 +203,15 @@ unsigned long ltq_danube_fpi_bus_clock(int fpi) 
     21@@ -203,6 +203,15 @@ unsigned long ltq_danube_fpi_bus_clock(i 
    2422        return ret; 
    2523 } 
     
    5351 { 
    5452        unsigned int cpu_sel; 
    55 --  
    56 1.7.7.1 
    57  
  • trunk/target/linux/lantiq/patches-3.2/0065-MIPS-adds-dsl-clocks.patch

    r31060 r31158  
    88 1 files changed, 13 insertions(+), 2 deletions(-) 
    99 
    10 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    11 index 6771a7e..3672fc6 100644 
    1210--- a/arch/mips/lantiq/xway/sysctrl.c 
    1311+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    2321 #define PMU_STP                BIT(11) 
    2422 #define PMU_GPT                BIT(12) 
    25 @@ -147,7 +148,7 @@ static int ltq_pci_ext_enable(struct clk *clk) 
     23@@ -147,7 +148,7 @@ static int ltq_pci_ext_enable(struct clk 
    2624  
    2725 static void ltq_pci_ext_disable(struct clk *clk) 
     
    6260        } 
    6361 } 
    64 --  
    65 1.7.7.1 
    66  
  • trunk/target/linux/lantiq/patches-3.2/0066-MIPS-lantiq-dont-always-register-asc0.patch

    r31060 r31158  
    88 1 files changed, 2 insertions(+), 4 deletions(-) 
    99 
    10 diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c 
    11 index e3dcbbd..f776d5a 100644 
    1210--- a/arch/mips/lantiq/xway/prom.c 
    1311+++ b/arch/mips/lantiq/xway/prom.c 
    14 @@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_soc_info *i) 
     12@@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_so 
    1513  
    1614 void __init ltq_soc_setup(void) 
     
    2725        ltq_register_wdt(); 
    2826 } 
    29 --  
    30 1.7.7.1 
    31  
  • trunk/target/linux/lantiq/patches-3.2/0067-MIPS-lantiq-irqs-were-not-cleared-properly-on-boot.patch

    r31060 r31158  
    88 1 files changed, 5 insertions(+), 5 deletions(-) 
    99 
    10 diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
    11 index 770a10c..d4e70b4 100644 
    1210--- a/arch/mips/lantiq/irq.c 
    1311+++ b/arch/mips/lantiq/irq.c 
     
    3028        mips_cpu_irq_init(); 
    3129  
    32 --  
    33 1.7.7.1 
    34  
  • trunk/target/linux/lantiq/patches-3.2/0068-MIPS-lantiq-adds-bootsel-helper.patch

    r31060 r31158  
    99 2 files changed, 23 insertions(+), 1 deletions(-) 
    1010 
    11 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    12 index bfdeb16..1ec8f2a 100644 
    1311--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    1412+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     
    3230 #define ltq_ebu_w32(x, y)      ltq_w32((x), ltq_ebu_membase + (y)) 
    3331 #define ltq_ebu_r32(x)         ltq_r32(ltq_ebu_membase + (x)) 
    34 diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c 
    35 index 8a5dff1..b8f7ffb 100644 
    3632--- a/arch/mips/lantiq/xway/reset.c 
    3733+++ b/arch/mips/lantiq/xway/reset.c 
     
    6258 { 
    6359        ltq_rcu_w32(ltq_rcu_r32(RCU_RST_REQ) | module, RCU_RST_REQ); 
    64 --  
    65 1.7.7.1 
    66  
  • trunk/target/linux/lantiq/patches-3.2/0069-MIPS-lantiq-adds-USB_ARCH_HAS_HCD-to-CONFIG_LANTIQ.patch

    r31060 r31158  
    88 1 files changed, 1 insertions(+), 0 deletions(-) 
    99 
    10 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    11 index 12ee3df..81b22c1 100644 
    1210--- a/arch/mips/Kconfig 
    1311+++ b/arch/mips/Kconfig 
     
    2018 config LASAT 
    2119        bool "LASAT Networks platforms" 
    22 --  
    23 1.7.7.1 
    24  
  • trunk/target/linux/lantiq/patches-3.2/200-owrt-netif_receive_skb.patch

    r31060 r31158  
    11--- a/drivers/net/ethernet/lantiq_etop.c 
    22+++ b/drivers/net/ethernet/lantiq_etop.c 
    3 @@ -190,8 +190,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan 
     3@@ -188,8 +188,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan 
    44  
    55        skb_put(skb, len); 
  • trunk/target/linux/lantiq/patches-3.2/201-owrt-mtd_split.patch

    r31060 r31158  
    1 Index: linux-3.2.9/drivers/mtd/Kconfig 
    2 =================================================================== 
    3 --- linux-3.2.9.orig/drivers/mtd/Kconfig        2012-03-17 17:43:47.395607926 +0100 
    4 +++ linux-3.2.9/drivers/mtd/Kconfig     2012-03-17 20:49:30.279873461 +0100 
    5 @@ -31,6 +31,10 @@ 
     1--- a/drivers/mtd/Kconfig 
     2+++ b/drivers/mtd/Kconfig 
     3@@ -31,6 +31,10 @@ config MTD_ROOTFS_SPLIT 
    64        bool "Automatically split 'rootfs' partition for squashfs" 
    75        default y 
     
    1412        tristate "RedBoot partition table parsing" 
    1513        ---help--- 
    16 Index: linux-3.2.9/drivers/mtd/mtdpart.c 
    17 =================================================================== 
    18 --- linux-3.2.9.orig/drivers/mtd/mtdpart.c      2012-03-17 17:43:47.407607922 +0100 
    19 +++ linux-3.2.9/drivers/mtd/mtdpart.c   2012-03-17 20:49:42.987873819 +0100 
    20 @@ -874,6 +874,169 @@ 
     14--- a/drivers/mtd/mtdpart.c 
     15+++ b/drivers/mtd/mtdpart.c 
     16@@ -874,6 +874,169 @@ static int refresh_rootfs_split(struct m 
    2117 } 
    2218 #endif /* CONFIG_MTD_ROOTFS_SPLIT */ 
     
    188184  * This function, given a master MTD object and a partition table, creates 
    189185  * and registers slave MTD objects which are bound to the master according to 
    190 @@ -907,6 +1070,17 @@ 
     186@@ -907,6 +1070,17 @@ int add_mtd_partitions(struct mtd_info * 
    191187  
    192188                add_mtd_device(&slave->mtd); 
     
    206202 #ifdef CONFIG_MTD_ROOTFS_ROOT_DEV 
    207203                        if (ROOT_DEV == 0) { 
    208 Index: linux-3.2.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    209 =================================================================== 
    210 --- linux-3.2.9.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h        2012-03-17 20:49:32.000000000 +0100 
    211 +++ linux-3.2.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h     2012-03-17 20:50:07.815874369 +0100 
    212 @@ -156,6 +156,7 @@ 
     204--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     205+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     206@@ -166,6 +166,7 @@ extern unsigned char ltq_boot_select(voi 
    213207  
    214208 extern __iomem void *ltq_ebu_membase; 
     
    218212 static inline int ltq_is_ase(void) 
    219213 { 
    220 Index: linux-3.2.9/arch/mips/lantiq/setup.c 
    221 =================================================================== 
    222 --- linux-3.2.9.orig/arch/mips/lantiq/setup.c   2012-03-17 20:49:32.000000000 +0100 
    223 +++ linux-3.2.9/arch/mips/lantiq/setup.c        2012-03-17 20:50:07.815874369 +0100 
     214--- a/arch/mips/lantiq/setup.c 
     215+++ b/arch/mips/lantiq/setup.c 
    224216@@ -18,6 +18,9 @@ 
    225217 #include "devices.h" 
     
    232224 { 
    233225        /* assume 16M as default incase uboot fails to pass proper ramsize */ 
    234 @@ -38,6 +41,10 @@ 
     226@@ -38,6 +41,10 @@ void __init plat_mem_setup(void) 
    235227                        if (strict_strtoul(e, 0, &memsize)) 
    236228                                pr_warn("bad memsize specified\n"); 
  • trunk/target/linux/lantiq/patches-3.2/202-owrt-atm.patch

    r31060 r31158  
    1 Index: linux-3.2.9/arch/mips/lantiq/irq.c 
    2 =================================================================== 
    3 --- linux-3.2.9.orig/arch/mips/lantiq/irq.c     2012-03-08 17:17:13.937473031 +0100 
    4 +++ linux-3.2.9/arch/mips/lantiq/irq.c  2012-03-08 17:32:57.389513360 +0100 
     1--- a/arch/mips/lantiq/irq.c 
     2+++ b/arch/mips/lantiq/irq.c 
    53@@ -10,6 +10,7 @@ 
    64 #include <linux/interrupt.h> 
     
    119 #include <asm/bootinfo.h> 
    1210 #include <asm/irq_cpu.h> 
    13 @@ -111,6 +112,7 @@ 
     11@@ -111,6 +112,7 @@ void ltq_mask_and_ack_irq(struct irq_dat 
    1412        ltq_icu_w32(ltq_icu_r32(ier) & ~(1 << irq_nr), ier); 
    1513        ltq_icu_w32((1 << irq_nr), isr); 
     
    1917 static void ltq_ack_irq(struct irq_data *d) 
    2018 { 
    21 Index: linux-3.2.9/arch/mips/mm/cache.c 
    22 =================================================================== 
    23 --- linux-3.2.9.orig/arch/mips/mm/cache.c       2012-03-01 01:32:49.000000000 +0100 
    24 +++ linux-3.2.9/arch/mips/mm/cache.c    2012-03-08 17:17:14.193473042 +0100 
    25 @@ -57,6 +57,8 @@ 
     19--- a/arch/mips/mm/cache.c 
     20+++ b/arch/mips/mm/cache.c 
     21@@ -57,6 +57,8 @@ void (*_dma_cache_wback)(unsigned long s 
    2622 void (*_dma_cache_inv)(unsigned long start, unsigned long size); 
    2723  
     
    3228 #endif /* CONFIG_DMA_NONCOHERENT */ 
    3329  
    34 Index: linux-3.2.9/net/atm/proc.c 
    35 =================================================================== 
    36 --- linux-3.2.9.orig/net/atm/proc.c     2012-03-01 01:32:49.000000000 +0100 
    37 +++ linux-3.2.9/net/atm/proc.c  2012-03-08 17:17:14.193473042 +0100 
    38 @@ -154,7 +154,7 @@ 
     30--- a/net/atm/proc.c 
     31+++ b/net/atm/proc.c 
     32@@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_fil 
    3933 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) 
    4034 { 
     
    4539                "---",  "1",    "2",    "3/4",  /*  0- 3 */ 
    4640                "???",  "5",    "???",  "???",  /*  4- 7 */ 
    47 Index: linux-3.2.9/net/atm/common.c 
    48 =================================================================== 
    49 --- linux-3.2.9.orig/net/atm/common.c   2012-03-01 01:32:49.000000000 +0100 
    50 +++ linux-3.2.9/net/atm/common.c        2012-03-08 17:17:14.193473042 +0100 
    51 @@ -62,11 +62,17 @@ 
     41--- a/net/atm/common.c 
     42+++ b/net/atm/common.c 
     43@@ -62,11 +62,17 @@ static void vcc_remove_socket(struct soc 
    5244        write_unlock_irq(&vcc_sklist_lock); 
    5345 } 
  • trunk/target/linux/lantiq/patches-3.2/204-owrt-dm9000-polling.patch

    r31060 r31158  
    99 #include <linux/ioport.h> 
    1010 #include <linux/netdevice.h> 
    11 @@ -126,6 +127,8 @@ typedef struct board_info { 
     11@@ -132,6 +133,8 @@ typedef struct board_info { 
    1212        struct delayed_work phy_poll; 
    1313        struct net_device  *ndev; 
     
    1818  
    1919        struct mii_if_info mii; 
    20 @@ -839,6 +842,8 @@ static void dm9000_timeout(struct net_de 
     20@@ -844,6 +847,8 @@ static void dm9000_timeout(struct net_de 
    2121        netif_stop_queue(dev); 
    2222        dm9000_reset(db); 
     
    2727        dev->trans_start = jiffies; /* prevent tx timeout */ 
    2828        netif_wake_queue(dev); 
    29 @@ -910,6 +915,12 @@ dm9000_start_xmit(struct sk_buff *skb, s 
     29@@ -915,6 +920,12 @@ dm9000_start_xmit(struct sk_buff *skb, s 
    3030        /* free this SKB */ 
    3131        dev_kfree_skb(skb); 
     
    4040 } 
    4141  
    42 @@ -1151,6 +1162,18 @@ static void dm9000_poll_controller(struc 
     42@@ -1156,6 +1167,18 @@ static void dm9000_poll_controller(struc 
    4343 } 
    4444 #endif 
     
    5959  *  Open the interface. 
    6060  *  The interface is opened whenever "ifconfig" actives it. 
    61 @@ -1164,14 +1187,15 @@ dm9000_open(struct net_device *dev) 
     61@@ -1169,14 +1192,15 @@ dm9000_open(struct net_device *dev) 
    6262        if (netif_msg_ifup(db)) 
    6363                dev_dbg(db->dev, "enabling %s\n", dev->name); 
     
    8181        iow(db, DM9000_GPR, 0); /* REG_1F bit0 activate phyxcer */ 
    8282        mdelay(1); /* delay needs by DM9000B */ 
    83 @@ -1180,8 +1204,14 @@ dm9000_open(struct net_device *dev) 
     83@@ -1185,8 +1209,14 @@ dm9000_open(struct net_device *dev) 
    8484        dm9000_reset(db); 
    8585        dm9000_init_dm9000(dev); 
     
    9898        /* Init driver variable */ 
    9999        db->dbug_cnt = 0; 
    100 @@ -1189,6 +1219,9 @@ dm9000_open(struct net_device *dev) 
     100@@ -1194,6 +1224,9 @@ dm9000_open(struct net_device *dev) 
    101101        mii_check_media(&db->mii, netif_msg_link(db), 1); 
    102102        netif_start_queue(dev); 
     
    108108  
    109109        return 0; 
    110 @@ -1386,6 +1419,7 @@ dm9000_probe(struct platform_device *pde 
     110@@ -1391,6 +1424,7 @@ dm9000_probe(struct platform_device *pde 
    111111        mutex_init(&db->addr_lock); 
    112112  
  • trunk/target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch

    r31060 r31158  
    1 Index: linux-3.1.10/drivers/gpio/gpiolib.c 
    2 =================================================================== 
    3 --- linux-3.1.10.orig/drivers/gpio/gpiolib.c    2012-01-18 16:33:18.000000000 +0100 
    4 +++ linux-3.1.10/drivers/gpio/gpiolib.c 2012-02-03 20:22:42.554529747 +0100 
    5 @@ -64,9 +64,9 @@ 
     1--- a/drivers/gpio/gpiolib.c 
     2+++ b/drivers/gpio/gpiolib.c 
     3@@ -64,9 +64,9 @@ struct gpio_desc { 
    64 #define GPIO_FLAGS_MASK                ((1 << ID_SHIFT) - 1) 
    75 #define GPIO_TRIGGER_MASK      (BIT(FLAG_TRIG_FALL) | BIT(FLAG_TRIG_RISE))