Changeset 37103


Ignore:
Timestamp:
2013-06-30T15:10:12+02:00 (5 years ago)
Author:
jogo
Message:

kernel: update linux 3.9 to 3.9.8

Includes memory allocation fixes as well as several networking fixes.

Signed-off-by: Jonas Gorski <jogo@…>

Location:
trunk
Files:
103 edited

Legend:

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

    r36725 r37103  
    1515  LINUX_KERNEL_MD5SUM:=2af19d06cd47ec459519159cdd10542d 
    1616endif 
    17 ifeq ($(LINUX_VERSION),3.9.4) 
    18   LINUX_KERNEL_MD5SUM:=053095dfe88fbd52e7cc8db302631d99 
     17ifeq ($(LINUX_VERSION),3.9.8) 
     18  LINUX_KERNEL_MD5SUM:=04d74575ef1c484ad00be61f32bb4557 
    1919endif 
    2020 
  • trunk/target/linux/ar7/Makefile

    r36863 r37103  
    1414SUBTARGETS:=generic ac49x 
    1515 
    16 LINUX_VERSION:=3.9.4 
     16LINUX_VERSION:=3.9.8 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/brcm63xx/Makefile

    r36947 r37103  
    1212SUBTARGETS:=generic smp 
    1313FEATURES:=squashfs usb atm pci pcmcia 
    14 LINUX_VERSION:=3.9.4 
     14LINUX_VERSION:=3.9.8 
    1515MAINTAINER:=Florian Fainelli <florian@openwrt.org> 
    1616 
  • trunk/target/linux/gemini/Makefile

    r37049 r37103  
    1414MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> 
    1515 
    16 LINUX_VERSION:=3.9.4 
     16LINUX_VERSION:=3.9.8 
    1717 
    1818KERNELNAME:="zImage" 
  • trunk/target/linux/generic/patches-3.9/220-gc_sections.patch

    r36657 r37103  
    514514  
    515515 ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj) 
    516  asflags-y := -Wa,-march=all -DZIMAGE 
     516 asflags-y := -DZIMAGE 
  • trunk/target/linux/generic/patches-3.9/630-packet_socket_type.patch

    r36676 r37103  
    2727--- a/net/packet/af_packet.c 
    2828+++ b/net/packet/af_packet.c 
    29 @@ -1266,6 +1266,7 @@ static int packet_rcv_spkt(struct sk_buf 
     29@@ -1267,6 +1267,7 @@ static int packet_rcv_spkt(struct sk_buf 
    3030 { 
    3131        struct sock *sk; 
     
    3535        /* 
    3636         *      When we registered the protocol we saved the socket in the data 
    37 @@ -1273,6 +1274,7 @@ static int packet_rcv_spkt(struct sk_buf 
     37@@ -1274,6 +1275,7 @@ static int packet_rcv_spkt(struct sk_buf 
    3838         */ 
    3939  
     
    4343        /* 
    4444         *      Yank back the headers [hope the device set this 
    45 @@ -1285,7 +1287,7 @@ static int packet_rcv_spkt(struct sk_buf 
     45@@ -1286,7 +1288,7 @@ static int packet_rcv_spkt(struct sk_buf 
    4646         *      so that this procedure is noop. 
    4747         */ 
     
    5252  
    5353        if (!net_eq(dev_net(dev), sock_net(sk))) 
    54 @@ -1491,12 +1493,12 @@ static int packet_rcv(struct sk_buff *sk 
     54@@ -1498,12 +1500,12 @@ static int packet_rcv(struct sk_buff *sk 
    5555        int skb_len = skb->len; 
    5656        unsigned int snaplen, res; 
     
    6868                goto drop; 
    6969  
    70 @@ -1615,12 +1617,12 @@ static int tpacket_rcv(struct sk_buff *s 
     70@@ -1622,12 +1624,12 @@ static int tpacket_rcv(struct sk_buff *s 
    7171        struct timespec ts; 
    7272        struct skb_shared_hwtstamps *shhwtstamps = skb_hwtstamps(skb); 
     
    8484                goto drop; 
    8585  
    86 @@ -2532,6 +2534,7 @@ static int packet_create(struct net *net 
     86@@ -2553,6 +2555,7 @@ static int packet_create(struct net *net 
    8787        spin_lock_init(&po->bind_lock); 
    8888        mutex_init(&po->pg_vec_lock); 
     
    9292        if (sock->type == SOCK_PACKET) 
    9393                po->prot_hook.func = packet_rcv_spkt; 
    94 @@ -3145,6 +3148,16 @@ packet_setsockopt(struct socket *sock, i 
     94@@ -3165,6 +3168,16 @@ packet_setsockopt(struct socket *sock, i 
    9595                po->tp_tx_has_off = !!val; 
    9696                return 0; 
     
    109109                return -ENOPROTOOPT; 
    110110        } 
    111 @@ -3199,6 +3212,13 @@ static int packet_getsockopt(struct sock 
     111@@ -3219,6 +3232,13 @@ static int packet_getsockopt(struct sock 
    112112        case PACKET_VNET_HDR: 
    113113                val = po->has_vnet_hdr; 
  • trunk/target/linux/generic/patches-3.9/643-bridge_remove_ipv6_dependency.patch

    r36469 r37103  
    5050 int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr, 
    5151                    unsigned char banned_flags) 
    52 @@ -4947,6 +4946,9 @@ int __init addrconf_init(void) 
     52@@ -4949,6 +4948,9 @@ int __init addrconf_init(void) 
    5353  
    5454        ipv6_addr_label_rtnl_register(); 
     
    6060 errout: 
    6161        rtnl_af_unregister(&inet6_ops); 
    62 @@ -4965,6 +4967,9 @@ void addrconf_cleanup(void) 
     62@@ -4967,6 +4969,9 @@ void addrconf_cleanup(void) 
    6363        struct net_device *dev; 
    6464        int i; 
  • trunk/target/linux/generic/patches-3.9/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch

    r36911 r37103  
    1 diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h 
    2 index 005e2c2..a6a1df4 100644 
    31--- a/include/net/netns/ipv6.h 
    42+++ b/include/net/netns/ipv6.h 
     
    119        struct fib6_table       *fib6_local_tbl; 
    1210        struct fib_rules_ops    *fib6_rules_ops; 
    13 diff --git a/include/uapi/linux/fib_rules.h b/include/uapi/linux/fib_rules.h 
    14 index 51da65b..1429852 100644 
    1511--- a/include/uapi/linux/fib_rules.h 
    1612+++ b/include/uapi/linux/fib_rules.h 
     
    2622 }; 
    2723  
    28 diff --git a/include/uapi/linux/icmpv6.h b/include/uapi/linux/icmpv6.h 
    29 index e0133c7..dabfa1a 100644 
    3024--- a/include/uapi/linux/icmpv6.h 
    3125+++ b/include/uapi/linux/icmpv6.h 
     
    3832 /* 
    3933  *     Codes for Time Exceeded 
    40 diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h 
    41 index 7a2144e..8f643f1 100644 
    4234--- a/include/uapi/linux/rtnetlink.h 
    4335+++ b/include/uapi/linux/rtnetlink.h 
     
    5042 }; 
    5143  
    52 diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c 
    53 index 26aa65d..2f66341 100644 
    5444--- a/net/ipv4/fib_rules.c 
    5545+++ b/net/ipv4/fib_rules.c 
    56 @@ -84,6 +84,10 @@ static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, 
     46@@ -84,6 +84,10 @@ static int fib4_rule_action(struct fib_r 
    5747                err = -EACCES; 
    5848                goto errout; 
     
    6555        default: 
    6656                err = -EINVAL; 
    67 diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c 
    68 index 8f6cb7a..dbae75d 100644 
    6957--- a/net/ipv4/fib_semantics.c 
    7058+++ b/net/ipv4/fib_semantics.c 
    71 @@ -138,6 +138,10 @@ const struct fib_prop fib_props[RTN_MAX + 1] = { 
     59@@ -138,6 +138,10 @@ const struct fib_prop fib_props[RTN_MAX 
    7260                .error  = -EINVAL, 
    7361                .scope  = RT_SCOPE_NOWHERE, 
     
    8068  
    8169 static void rt_fibinfo_free(struct rtable __rcu **rtp) 
    82 diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c 
    83 index 49616fe..e2845bd 100644 
    8470--- a/net/ipv4/fib_trie.c 
    8571+++ b/net/ipv4/fib_trie.c 
    86 @@ -2343,6 +2343,7 @@ static const char *const rtn_type_names[__RTN_MAX] = { 
     72@@ -2343,6 +2343,7 @@ static const char *const rtn_type_names[ 
    8773        [RTN_THROW] = "THROW", 
    8874        [RTN_NAT] = "NAT", 
     
    9278  
    9379 static inline const char *rtn_type(char *buf, size_t len, unsigned int t) 
    94 diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c 
    95 index df97f0a..2bd33cc 100644 
    9680--- a/net/ipv4/ipmr.c 
    9781+++ b/net/ipv4/ipmr.c 
    98 @@ -181,6 +181,7 @@ static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, 
     82@@ -181,6 +181,7 @@ static int ipmr_rule_action(struct fib_r 
    9983        case FR_ACT_UNREACHABLE: 
    10084                return -ENETUNREACH; 
     
    10488        case FR_ACT_BLACKHOLE: 
    10589        default: 
    106 diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c 
    107 index 2e1a432..c4413b2 100644 
    10890--- a/net/ipv6/fib6_rules.c 
    10991+++ b/net/ipv6/fib6_rules.c 
    110 @@ -69,6 +69,9 @@ static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, 
     92@@ -69,6 +69,9 @@ static int fib6_rule_action(struct fib_r 
    11193        case FR_ACT_PROHIBIT: 
    11294                rt = net->ipv6.ip6_prohibit_entry; 
     
    118100  
    119101        table = fib6_get_table(net, rule->table); 
    120 diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c 
    121 index 583e8d4..1e524da 100644 
    122102--- a/net/ipv6/ip6mr.c 
    123103+++ b/net/ipv6/ip6mr.c 
    124 @@ -166,6 +166,8 @@ static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, 
     104@@ -166,6 +166,8 @@ static int ip6mr_rule_action(struct fib_ 
    125105                return -ENETUNREACH; 
    126106        case FR_ACT_PROHIBIT: 
     
    131111        default: 
    132112                return -EINVAL; 
    133 diff --git a/net/ipv6/route.c b/net/ipv6/route.c 
    134 index 2b87418..864f5fe 100644 
    135113--- a/net/ipv6/route.c 
    136114+++ b/net/ipv6/route.c 
    137 @@ -245,6 +245,24 @@ static const struct rt6_info ip6_prohibit_entry_template = { 
     115@@ -245,6 +245,24 @@ static const struct rt6_info ip6_prohibi 
    138116        .rt6i_ref       = ATOMIC_INIT(1), 
    139117 }; 
     
    160138        .dst = { 
    161139                .__refcnt       = ATOMIC_INIT(1), 
    162 @@ -1459,6 +1477,9 @@ int ip6_route_add(struct fib6_config *cfg) 
     140@@ -1459,6 +1477,9 @@ int ip6_route_add(struct fib6_config *cf 
    163141                case RTN_THROW: 
    164142                        rt->dst.error = -EAGAIN; 
     
    170148                        rt->dst.error = -ENETUNREACH; 
    171149                        break; 
    172 @@ -2035,6 +2056,17 @@ static int ip6_pkt_prohibit_out(struct sk_buff *skb) 
     150@@ -2035,6 +2056,17 @@ static int ip6_pkt_prohibit_out(struct s 
    173151        return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED, IPSTATS_MIB_OUTNOROUTES); 
    174152 } 
     
    188166  
    189167 /* 
    190 @@ -2240,7 +2272,8 @@ static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, 
     168@@ -2240,7 +2272,8 @@ static int rtm_to_fib6_config(struct sk_ 
    191169        if (rtm->rtm_type == RTN_UNREACHABLE || 
    192170            rtm->rtm_type == RTN_BLACKHOLE || 
     
    198176  
    199177        if (rtm->rtm_type == RTN_LOCAL) 
    200 @@ -2442,6 +2475,9 @@ static int rt6_fill_node(struct net *net, 
     178@@ -2442,6 +2475,9 @@ static int rt6_fill_node(struct net *net 
    201179                case -EACCES: 
    202180                        rtm->rtm_type = RTN_PROHIBIT; 
     
    208186                        rtm->rtm_type = RTN_THROW; 
    209187                        break; 
    210 @@ -2692,6 +2728,8 @@ static int ip6_route_dev_notify(struct notifier_block *this, 
     188@@ -2692,6 +2728,8 @@ static int ip6_route_dev_notify(struct n 
    211189 #ifdef CONFIG_IPV6_MULTIPLE_TABLES 
    212190                net->ipv6.ip6_prohibit_entry->dst.dev = dev; 
     
    217195                net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev); 
    218196 #endif 
    219 @@ -2952,6 +2990,17 @@ static int __net_init ip6_route_net_init(struct net *net) 
     197@@ -2952,6 +2990,17 @@ static int __net_init ip6_route_net_init 
    220198        net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops; 
    221199        dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst, 
     
    244222        kfree(net->ipv6.ip6_prohibit_entry); 
    245223 out_ip6_null_entry: 
    246 @@ -2987,6 +3038,7 @@ static void __net_exit ip6_route_net_exit(struct net *net) 
     224@@ -2987,6 +3038,7 @@ static void __net_exit ip6_route_net_exi 
    247225 #ifdef CONFIG_IPV6_MULTIPLE_TABLES 
    248226        kfree(net->ipv6.ip6_prohibit_entry); 
  • trunk/target/linux/generic/patches-3.9/800-usb-ohci-multiple-platform-driver-fix.patch

    r36008 r37103  
    11--- a/drivers/usb/host/ohci-hcd.c 
    22+++ b/drivers/usb/host/ohci-hcd.c 
    3 @@ -1188,7 +1188,7 @@ MODULE_LICENSE ("GPL"); 
     3@@ -1192,7 +1192,7 @@ MODULE_LICENSE ("GPL"); 
    44  
    55 #ifdef CONFIG_USB_OHCI_HCD_PLATFORM 
     
    1010  
    1111 #if    !defined(PCI_DRIVER) &&         \ 
    12 @@ -1199,7 +1199,8 @@ MODULE_LICENSE ("GPL"); 
     12@@ -1203,7 +1203,8 @@ MODULE_LICENSE ("GPL"); 
    1313        !defined(SA1111_DRIVER) &&      \ 
    1414        !defined(PS3_SYSTEM_BUS_DRIVER) && \ 
     
    2020 #endif 
    2121  
    22 @@ -1277,9 +1278,19 @@ static int __init ohci_hcd_mod_init(void 
     22@@ -1281,9 +1282,19 @@ static int __init ohci_hcd_mod_init(void 
    2323                goto error_tmio; 
    2424 #endif 
     
    4040        platform_driver_unregister(&TMIO_OHCI_DRIVER); 
    4141  error_tmio: 
    42 @@ -1329,6 +1340,9 @@ module_init(ohci_hcd_mod_init); 
     42@@ -1333,6 +1344,9 @@ module_init(ohci_hcd_mod_init); 
    4343  
    4444 static void __exit ohci_hcd_mod_exit(void) 
  • trunk/target/linux/generic/patches-3.9/902-debloat_proc.patch

    r36676 r37103  
    185185--- a/net/ipv4/fib_trie.c 
    186186+++ b/net/ipv4/fib_trie.c 
    187 @@ -2598,10 +2598,12 @@ static const struct file_operations fib_ 
     187@@ -2599,10 +2599,12 @@ static const struct file_operations fib_ 
    188188  
    189189 int __net_init fib_proc_init(struct net *net) 
     
    200200                goto out2; 
    201201  
    202 @@ -2611,17 +2613,21 @@ int __net_init fib_proc_init(struct net 
     202@@ -2612,17 +2614,21 @@ int __net_init fib_proc_init(struct net 
    203203        return 0; 
    204204  
  • trunk/target/linux/imx23/Makefile

    r37038 r37103  
    1313CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves 
    1414MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu> 
    15 LINUX_VERSION:=3.9.4 
     15LINUX_VERSION:=3.9.8 
    1616KERNELNAME:="zImage dtbs" 
    1717DEPENDS:=+imx-bootlets 
  • trunk/target/linux/imx23/patches/100-imx23-i2c.patch

    r37038 r37103  
    1 diff -ruN linux-3.8.11.orig/arch/arm/boot/dts/imx23.dtsi linux-3.8.11/arch/arm/boot/dts/imx23.dtsi 
    2 --- linux-3.8.11.orig/arch/arm/boot/dts/imx23.dtsi      2013-05-01 18:56:10.000000000 +0200 
    3 +++ linux-3.8.11/arch/arm/boot/dts/imx23.dtsi   2013-05-07 01:17:33.000000000 +0200 
     1--- a/arch/arm/boot/dts/imx23.dtsi 
     2+++ b/arch/arm/boot/dts/imx23.dtsi 
    43@@ -292,8 +292,42 @@ 
    54                                        fsl,voltage = <1>; 
     
    4645                                reg = <0x8001c000 2000>; 
    4746                                status = "disabled"; 
    48 @@ -400,8 +434,14 @@ 
     47@@ -402,8 +436,14 @@ 
    4948                                status = "disabled"; 
    5049                        }; 
     
    6261                        }; 
    6362  
    64 diff -ruN linux-3.8.11.orig/arch/arm/boot/dts/imx23-olinuxino.dts linux-3.8.11/arch/arm/boot/dts/imx23-olinuxino.dts 
    65 --- linux-3.8.11.orig/arch/arm/boot/dts/imx23-olinuxino.dts     2013-05-01 18:56:10.000000000 +0200 
    66 +++ linux-3.8.11/arch/arm/boot/dts/imx23-olinuxino.dts  2013-05-07 01:16:41.000000000 +0200 
     63--- a/arch/arm/boot/dts/imx23-olinuxino.dts 
     64+++ b/arch/arm/boot/dts/imx23-olinuxino.dts 
    6765@@ -68,6 +68,12 @@ 
    6866                }; 
  • trunk/target/linux/lantiq/patches-3.9/0001-MTD-m25p80-allow-loading-mtd-name-from-OF.patch

    r37089 r37103  
    1313 1 file changed, 5 insertions(+) 
    1414 
    15 diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c 
    16 index 5b6b072..3a7a8f7 100644 
    1715--- a/drivers/mtd/devices/m25p80.c 
    1816+++ b/drivers/mtd/devices/m25p80.c 
    19 @@ -904,10 +904,13 @@ static int m25p_probe(struct spi_device *spi) 
     17@@ -922,10 +922,13 @@ static int m25p_probe(struct spi_device 
    2018        unsigned                        i; 
    2119        struct mtd_part_parser_data     ppdata; 
     
    3129  
    3230        /* Platform data helps sort out which chip type we have, as 
    33 @@ -983,6 +986,8 @@ static int m25p_probe(struct spi_device *spi) 
     31@@ -1001,6 +1004,8 @@ static int m25p_probe(struct spi_device 
    3432  
    3533        if (data && data->name) 
     
    4038                flash->mtd.name = dev_name(&spi->dev); 
    4139  
    42 --  
    43 1.7.10.4 
    44  
  • trunk/target/linux/lantiq/patches-3.9/0002-MIPS-lantiq-adds-4dword-burst-length-for-dma.patch

    r37089 r37103  
    88 1 file changed, 3 insertions(+), 1 deletion(-) 
    99 
    10 diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c 
    11 index 08f7ebd..ccf1451 100644 
    1210--- a/arch/mips/lantiq/xway/dma.c 
    1311+++ b/arch/mips/lantiq/xway/dma.c 
     
    3028                break; 
    3129  
    32 --  
    33 1.7.10.4 
    34  
  • trunk/target/linux/lantiq/patches-3.9/0003-GPIO-MIPS-add-gpio-driver-for-falcon-SoC.patch

    r37089 r37103  
    1717 create mode 100644 drivers/gpio/gpio-falcon.c 
    1818 
    19 diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig 
    20 index 93aaadf..8cc0e74 100644 
    2119--- a/drivers/gpio/Kconfig 
    2220+++ b/drivers/gpio/Kconfig 
     
    3331        bool "Lantiq Memory mapped GPIOs" 
    3432        depends on LANTIQ && SOC_XWAY 
    35 diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile 
    36 index 22e07bc..f1762be 100644 
    3733--- a/drivers/gpio/Makefile 
    3834+++ b/drivers/gpio/Makefile 
    39 @@ -24,6 +24,7 @@ obj-$(CONFIG_GPIO_DA9055)     += gpio-da9055.o 
     35@@ -24,6 +24,7 @@ obj-$(CONFIG_GPIO_DA9055)     += gpio-da9055 
    4036 obj-$(CONFIG_ARCH_DAVINCI)     += gpio-davinci.o 
    4137 obj-$(CONFIG_GPIO_EM)          += gpio-em.o 
     
    4541 obj-$(CONFIG_GPIO_ICH)         += gpio-ich.o 
    4642 obj-$(CONFIG_GPIO_IT8761E)     += gpio-it8761e.o 
    47 diff --git a/drivers/gpio/gpio-falcon.c b/drivers/gpio/gpio-falcon.c 
    48 new file mode 100644 
    49 index 0000000..ae8b55d 
    5043--- /dev/null 
    5144+++ b/drivers/gpio/gpio-falcon.c 
     
    400393+ 
    401394+subsys_initcall(falcon_gpio_init); 
    402 --  
    403 1.7.10.4 
    404  
  • trunk/target/linux/lantiq/patches-3.9/0004-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch

    r37089 r37103  
    1717 create mode 100644 drivers/i2c/busses/i2c-lantiq.h 
    1818 
    19 diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig 
    20 index adfee98..83d3147 100644 
    2119--- a/drivers/i2c/busses/Kconfig 
    2220+++ b/drivers/i2c/busses/Kconfig 
     
    3836        tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" 
    3937        depends on PPC 
    40 diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile 
    41 index 8f4fc23..3273061 100644 
    4238--- a/drivers/i2c/busses/Makefile 
    4339+++ b/drivers/i2c/busses/Makefile 
    44 @@ -48,6 +48,7 @@ obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic.o 
     40@@ -48,6 +48,7 @@ obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic 
    4541 obj-$(CONFIG_I2C_IMX)          += i2c-imx.o 
    4642 obj-$(CONFIG_I2C_INTEL_MID)    += i2c-intel-mid.o 
     
    5046 obj-$(CONFIG_I2C_MV64XXX)      += i2c-mv64xxx.o 
    5147 obj-$(CONFIG_I2C_MXS)          += i2c-mxs.o 
    52 diff --git a/drivers/i2c/busses/i2c-lantiq.c b/drivers/i2c/busses/i2c-lantiq.c 
    53 new file mode 100644 
    54 index 0000000..9a5f58b 
    5548--- /dev/null 
    5649+++ b/drivers/i2c/busses/i2c-lantiq.c 
     
    803796+MODULE_LICENSE("GPL"); 
    804797+MODULE_VERSION(DRV_VERSION); 
    805 diff --git a/drivers/i2c/busses/i2c-lantiq.h b/drivers/i2c/busses/i2c-lantiq.h 
    806 new file mode 100644 
    807 index 0000000..7a86b89 
    808798--- /dev/null 
    809799+++ b/drivers/i2c/busses/i2c-lantiq.h 
     
    10431033+ 
    10441034+#endif /* I2C_LANTIQ_H */ 
    1045 --  
    1046 1.7.10.4 
    1047  
  • trunk/target/linux/lantiq/patches-3.9/0005-USB-fix-roothub-for-IFXHCD.patch

    r37089 r37103  
    99 2 files changed, 2 insertions(+), 1 deletion(-) 
    1010 
    11 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    12 index c002191..675310a 100644 
    1311--- a/arch/mips/lantiq/Kconfig 
    1412+++ b/arch/mips/lantiq/Kconfig 
     
    2119  
    2220 choice 
    23 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c 
    24 index 5480352..9763b0d 100644 
    2521--- a/drivers/usb/core/hub.c 
    2622+++ b/drivers/usb/core/hub.c 
    27 @@ -4016,7 +4016,7 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, 
     23@@ -4016,7 +4016,7 @@ hub_port_init (struct usb_hub *hub, stru 
    2824                udev->ttport = hdev->ttport; 
    2925        } else if (udev->speed != USB_SPEED_HIGH 
     
    3430                        retval = -EINVAL; 
    3531                        goto fail; 
    36 --  
    37 1.7.10.4 
    38  
  • trunk/target/linux/lantiq/patches-3.9/0006-SPI-MIPS-lantiq-adds-spi-xway.patch

    r37089 r37103  
    1717 create mode 100644 drivers/spi/spi-xway.c 
    1818 
    19 diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
    20 index 2be0de9..2c8cd63 100644 
    2119--- a/drivers/spi/Kconfig 
    2220+++ b/drivers/spi/Kconfig 
    23 @@ -461,6 +461,14 @@ config SPI_NUC900 
     21@@ -470,6 +470,14 @@ config SPI_NUC900 
    2422        help 
    2523          SPI driver for Nuvoton NUC900 series ARM SoCs 
     
    3634 # Add new SPI master controllers in alphabetical order above this line 
    3735 # 
    38 diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
    39 index e53c309..f65578d 100644 
    4036--- a/drivers/spi/Makefile 
    4137+++ b/drivers/spi/Makefile 
    42 @@ -71,3 +71,4 @@ obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-topcliff-pch.o 
     38@@ -72,3 +72,4 @@ obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-t 
    4339 obj-$(CONFIG_SPI_TXX9)                 += spi-txx9.o 
    4440 obj-$(CONFIG_SPI_XCOMM)                += spi-xcomm.o 
    4541 obj-$(CONFIG_SPI_XILINX)               += spi-xilinx.o 
    4642+obj-$(CONFIG_SPI_XWAY)                 += spi-xway.o 
    47 diff --git a/drivers/spi/spi-xway.c b/drivers/spi/spi-xway.c 
    48 new file mode 100644 
    49 index 0000000..61532e3 
    5043--- /dev/null 
    5144+++ b/drivers/spi/spi-xway.c 
     
    10281021+MODULE_LICENSE("GPL"); 
    10291022+MODULE_ALIAS("platform:spi-xway"); 
    1030 --  
    1031 1.7.10.4 
    1032  
  • trunk/target/linux/lantiq/patches-3.9/0007-NET-MIPS-lantiq-adds-xrx200-net.patch

    r37089 r37103  
    1313 create mode 100644 drivers/net/ethernet/lantiq_xrx200.c 
    1414 
    15 diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig 
    16 index ed956e0..9261fe4 100644 
    1715--- a/drivers/net/ethernet/Kconfig 
    1816+++ b/drivers/net/ethernet/Kconfig 
     
    3230 source "drivers/net/ethernet/marvell/Kconfig" 
    3331 source "drivers/net/ethernet/mellanox/Kconfig" 
    34 diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile 
    35 index 8268d85..e8410d8 100644 
    3632--- a/drivers/net/ethernet/Makefile 
    3733+++ b/drivers/net/ethernet/Makefile 
     
    4440 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 
    4541 obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/ 
    46 diff --git a/drivers/net/ethernet/lantiq_pce.h b/drivers/net/ethernet/lantiq_pce.h 
    47 new file mode 100644 
    48 index 0000000..0c38efe 
    4942--- /dev/null 
    5043+++ b/drivers/net/ethernet/lantiq_pce.h 
     
    213206+       MC_ENTRY(0x0000, 0x0000, 39, OUT_NONE,   0, INSTR,   FLAG_END,   0), 
    214207+}; 
    215 diff --git a/drivers/net/ethernet/lantiq_xrx200.c b/drivers/net/ethernet/lantiq_xrx200.c 
    216 new file mode 100644 
    217 index 0000000..ed892d0 
    218208--- /dev/null 
    219209+++ b/drivers/net/ethernet/lantiq_xrx200.c 
     
    14221412+MODULE_DESCRIPTION("Lantiq SoC XRX200 ethernet"); 
    14231413+MODULE_LICENSE("GPL"); 
    1424 --  
    1425 1.7.10.4 
    1426  
  • trunk/target/linux/lantiq/patches-3.9/0008-NET-lantiq-adds-PHY11G-firmware-blobs.patch

    r37089 r37103  
    1313 create mode 100644 firmware/lantiq/README 
    1414 
    15 diff --git a/firmware/Makefile b/firmware/Makefile 
    16 index cbb09ce..f4a315c 100644 
    1715--- a/firmware/Makefile 
    1816+++ b/firmware/Makefile 
    19 @@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_PDA) += keyspan_pda/keyspan_pda.fw 
     17@@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_P 
    2018 fw-shipped-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda/xircom_pgs.fw 
    2119 fw-shipped-$(CONFIG_USB_VICAM) += vicam/firmware.fw 
     
    2725  
    2826 fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-) 
    29 diff --git a/firmware/lantiq/COPYING b/firmware/lantiq/COPYING 
    30 new file mode 100644 
    31 index 0000000..5ec70b2 
    3227--- /dev/null 
    3328+++ b/firmware/lantiq/COPYING 
     
    323318+ 
    324319+                    END OF TERMS AND CONDITIONS 
    325 diff --git a/firmware/lantiq/README b/firmware/lantiq/README 
    326 new file mode 100644 
    327 index 0000000..cb1a10a 
    328320--- /dev/null 
    329321+++ b/firmware/lantiq/README 
     
    374366+lantiq/vr9_phy11g_a2x.bin 
    375367+lantiq/vr9_phy22f_a2x.bin 
    376 --  
    377 1.7.10.4 
    378  
  • trunk/target/linux/lantiq/patches-3.9/0009-NET-PHY-adds-driver-for-lantiq-PHY11G.patch

    r37089 r37103  
    1212 create mode 100644 drivers/net/phy/lantiq.c 
    1313 
    14 diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig 
    15 index 4503452..edc61b0 100644 
    1614--- a/drivers/net/phy/Kconfig 
    1715+++ b/drivers/net/phy/Kconfig 
    18 @@ -106,6 +106,11 @@ config MICREL_PHY 
     16@@ -149,6 +149,11 @@ config MICREL_PHY 
    1917        ---help--- 
    20           Supports the KSZ9021, VSC8201, KS8001 PHYs. 
     18          Currently has a driver for the KSZ8041 
    2119  
    2220+config LANTIQ_PHY 
     
    2826        bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs" 
    2927        depends on PHYLIB=y 
    30 diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile 
    31 index 9645e38..e2eeee3 100644 
    3228--- a/drivers/net/phy/Makefile 
    3329+++ b/drivers/net/phy/Makefile 
    34 @@ -23,6 +23,7 @@ obj-$(CONFIG_NATIONAL_PHY)    += national.o 
     30@@ -39,6 +39,7 @@ obj-$(CONFIG_NATIONAL_PHY)    += national.o 
    3531 obj-$(CONFIG_DP83640_PHY)      += dp83640.o 
    3632 obj-$(CONFIG_STE10XP)          += ste10Xp.o 
     
    4036 obj-$(CONFIG_MICREL_KS8995MA)  += spi_ks8995.o 
    4137 obj-$(CONFIG_AT803X_PHY)       += at803x.o 
    42 diff --git a/drivers/net/phy/lantiq.c b/drivers/net/phy/lantiq.c 
    43 new file mode 100644 
    44 index 0000000..418dff0 
    4538--- /dev/null 
    4639+++ b/drivers/net/phy/lantiq.c 
     
    266259+MODULE_AUTHOR("Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>"); 
    267260+MODULE_LICENSE("GPL"); 
    268 --  
    269 1.7.10.4 
    270  
  • trunk/target/linux/lantiq/patches-3.9/0010-NET-MIPS-lantiq-update-etop-driver-for-devicetree.patch

    r37089 r37103  
    88 1 file changed, 354 insertions(+), 146 deletions(-) 
    99 
    10 diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
    11 index bfdb0686..c711787 100644 
    1210--- a/drivers/net/ethernet/lantiq_etop.c 
    1311+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    3634 #define ETOP_PLEN_UNDER                0x40 
    3735 #define ETOP_CGEN              0x800 
    38 - 
     36+#define ETOP_CFG_MII0          0x01 
     37  
    3938-/* use 2 static channels for TX/RX */ 
    4039-#define LTQ_ETOP_TX_CHANNEL    1 
     
    4241-#define IS_TX(x)               (x == LTQ_ETOP_TX_CHANNEL) 
    4342-#define IS_RX(x)               (x == LTQ_ETOP_RX_CHANNEL) 
    44 - 
    45 +#define ETOP_CFG_MII0          0x01 
    46 + 
    4743+#define LTQ_GBIT_MDIO_CTL      0xCC 
    4844+#define LTQ_GBIT_MDIO_DATA     0xd0 
     
    7571+#define MDIO_XR9_ADDR_OFFSET   5 
    7672+#define MDIO_XR9_WR_OFFSET     16 
    77 + 
     73  
    7874+#define LTQ_DMA_ETOP   ((of_machine_is_compatible("lantiq,ase")) ? \ 
    7975+                       (INT_NUM_IM3_IRL0) : (INT_NUM_IM2_IRL0)) 
     
    143139                return -ENOMEM; 
    144140        ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(NULL, 
    145 @@ -149,8 +202,11 @@ ltq_etop_hw_receive(struct ltq_etop_chan *ch) 
     141@@ -149,8 +202,11 @@ ltq_etop_hw_receive(struct ltq_etop_chan 
    146142        spin_unlock_irqrestore(&priv->lock, flags); 
    147143  
     
    155151  
    156152 static int 
    157 @@ -158,8 +214,10 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
     153@@ -158,8 +214,10 @@ ltq_etop_poll_rx(struct napi_struct *nap 
    158154 { 
    159155        struct ltq_etop_chan *ch = container_of(napi, 
     
    166162        while ((rx < budget) && !complete) { 
    167163                struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; 
    168 @@ -173,7 +231,9 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
     164@@ -173,7 +231,9 @@ ltq_etop_poll_rx(struct napi_struct *nap 
    169165        } 
    170166        if (complete || !rx) { 
     
    176172        return rx; 
    177173 } 
    178 @@ -185,12 +245,14 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
     174@@ -185,12 +245,14 @@ ltq_etop_poll_tx(struct napi_struct *nap 
    179175                container_of(napi, struct ltq_etop_chan, napi); 
    180176        struct ltq_etop_priv *priv = netdev_priv(ch->netdev); 
     
    192188                ch->skb[ch->tx_free] = NULL; 
    193189                memset(&ch->dma.desc_base[ch->tx_free], 0, 
    194 @@ -203,7 +265,9 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
     190@@ -203,7 +265,9 @@ ltq_etop_poll_tx(struct napi_struct *nap 
    195191        if (netif_tx_queue_stopped(txq)) 
    196192                netif_tx_start_queue(txq); 
     
    216212 } 
    217213  
    218 @@ -225,7 +290,7 @@ ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch) 
     214@@ -225,7 +290,7 @@ ltq_etop_free_channel(struct net_device 
    219215        ltq_dma_free(&ch->dma); 
    220216        if (ch->dma.irq) 
     
    384380  
    385381 static void 
    386 @@ -312,7 +442,10 @@ ltq_etop_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
     382@@ -312,7 +442,10 @@ ltq_etop_get_settings(struct net_device 
    387383 { 
    388384        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    396392  
    397393 static int 
    398 @@ -320,7 +453,10 @@ ltq_etop_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
     394@@ -320,7 +453,10 @@ ltq_etop_set_settings(struct net_device 
    399395 { 
    400396        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    408404  
    409405 static int 
    410 @@ -328,7 +464,10 @@ ltq_etop_nway_reset(struct net_device *dev) 
     406@@ -328,7 +464,10 @@ ltq_etop_nway_reset(struct net_device *d 
    411407 { 
    412408        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    420416  
    421417 static const struct ethtool_ops ltq_etop_ethtool_ops = { 
    422 @@ -339,6 +478,39 @@ static const struct ethtool_ops ltq_etop_ethtool_ops = { 
     418@@ -339,6 +478,39 @@ static const struct ethtool_ops ltq_etop 
    423419 }; 
    424420  
     
    460456 { 
    461457        u32 val = MDIO_REQUEST | 
    462 @@ -379,14 +551,18 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     458@@ -379,14 +551,18 @@ ltq_etop_mdio_probe(struct net_device *d 
    463459 { 
    464460        struct ltq_etop_priv *priv = netdev_priv(dev); 
    465461        struct phy_device *phydev = NULL; 
    466462-       int phy_addr; 
    467 - 
    468 -       for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { 
    469 -               if (priv->mii_bus->phy_map[phy_addr]) { 
    470 -                       phydev = priv->mii_bus->phy_map[phy_addr]; 
    471 -                       break; 
    472 -               } 
    473 -       } 
    474463+       u32 phy_supported =  (SUPPORTED_10baseT_Half 
    475464+                       | SUPPORTED_10baseT_Full 
     
    479468+                       | SUPPORTED_MII 
    480469+                       | SUPPORTED_TP); 
    481 + 
     470  
     471-       for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { 
     472-               if (priv->mii_bus->phy_map[phy_addr]) { 
     473-                       phydev = priv->mii_bus->phy_map[phy_addr]; 
     474-                       break; 
     475-               } 
     476-       } 
    482477+       if (of_machine_is_compatible("lantiq,ase")) 
    483478+               phydev = priv->mii_bus->phy_map[8]; 
     
    487482        if (!phydev) { 
    488483                netdev_err(dev, "no PHY found\n"); 
    489 @@ -394,21 +570,18 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     484@@ -394,21 +570,18 @@ ltq_etop_mdio_probe(struct net_device *d 
    490485        } 
    491486  
     
    514509        priv->phydev = phydev; 
    515510        pr_info("%s: attached PHY [%s] (phy_addr=%s, irq=%d)\n", 
    516 @@ -433,8 +606,13 @@ ltq_etop_mdio_init(struct net_device *dev) 
     511@@ -433,8 +606,13 @@ ltq_etop_mdio_init(struct net_device *de 
    517512        } 
    518513  
     
    570565-       for (i = 0; i < MAX_DMA_CHAN; i++) { 
    571566-               struct ltq_etop_chan *ch = &priv->ch[i]; 
    572 +       if (priv->phydev) 
    573 +               phy_stop(priv->phydev); 
    574 +       napi_disable(&priv->txch.napi); 
    575 +       napi_disable(&priv->rxch.napi); 
    576 + 
    577 +       spin_lock_irqsave(&priv->lock, flags); 
    578 +       ltq_dma_close(&priv->txch.dma); 
    579 +       ltq_dma_close(&priv->rxch.dma); 
    580 +       spin_unlock_irqrestore(&priv->lock, flags); 
    581   
     567- 
    582568-               if (!IS_RX(i) && !IS_TX(i)) 
    583569-                       continue; 
     
    585571-               ltq_dma_close(&ch->dma); 
    586572-       } 
     573+       if (priv->phydev) 
     574+               phy_stop(priv->phydev); 
     575+       napi_disable(&priv->txch.napi); 
     576+       napi_disable(&priv->rxch.napi); 
     577+ 
     578+       spin_lock_irqsave(&priv->lock, flags); 
     579+       ltq_dma_close(&priv->txch.dma); 
     580+       ltq_dma_close(&priv->rxch.dma); 
     581+       spin_unlock_irqrestore(&priv->lock, flags); 
     582+ 
    587583        return 0; 
    588584 } 
    589585  
    590 @@ -523,16 +704,16 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     586@@ -523,16 +704,16 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    591587        int queue = skb_get_queue_mapping(skb); 
    592588        struct netdev_queue *txq = netdev_get_tx_queue(dev, queue); 
     
    610606                netif_tx_stop_queue(txq); 
    611607                return NETDEV_TX_BUSY; 
    612 @@ -540,7 +721,7 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     608@@ -540,7 +721,7 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    613609  
    614610        /* dma needs to start on a 16 byte aligned address */ 
     
    619615        dev->trans_start = jiffies; 
    620616  
    621 @@ -550,11 +731,11 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
     617@@ -550,11 +731,11 @@ ltq_etop_tx(struct sk_buff *skb, struct 
    622618        wmb(); 
    623619        desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP | 
     
    680676  
    681677 err_netdev: 
    682 @@ -680,6 +860,9 @@ ltq_etop_tx_timeout(struct net_device *dev) 
     678@@ -680,6 +860,9 @@ ltq_etop_tx_timeout(struct net_device *d 
    683679        err = ltq_etop_hw_init(dev); 
    684680        if (err) 
     
    690686        netif_wake_queue(dev); 
    691687        return; 
    692 @@ -703,14 +886,18 @@ static const struct net_device_ops ltq_eth_netdev_ops = { 
     688@@ -703,14 +886,18 @@ static const struct net_device_ops ltq_e 
    693689        .ndo_tx_timeout = ltq_etop_tx_timeout, 
    694690 }; 
     
    713709        res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    714710        if (!res) { 
    715 @@ -736,30 +923,60 @@ ltq_etop_probe(struct platform_device *pdev) 
     711@@ -736,30 +923,60 @@ ltq_etop_probe(struct platform_device *p 
    716712                goto err_out; 
    717713        } 
     
    789785        err = register_netdev(dev); 
    790786        if (err) 
    791 @@ -788,32 +1005,23 @@ ltq_etop_remove(struct platform_device *pdev) 
     787@@ -788,32 +1005,23 @@ ltq_etop_remove(struct platform_device * 
    792788        return 0; 
    793789 } 
     
    831827 MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); 
    832828 MODULE_DESCRIPTION("Lantiq SoC ETOP"); 
    833 --  
    834 1.7.10.4 
    835  
  • trunk/target/linux/lantiq/patches-3.9/0011-MIPS-lantiq-add-pcie-driver.patch

    r37089 r37103  
    3737 create mode 100644 arch/mips/pci/ifxmips_pcie_vr9.h 
    3838 
    39 diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
    40 index 675310a..4c9a241 100644 
    4139--- a/arch/mips/lantiq/Kconfig 
    4240+++ b/arch/mips/lantiq/Kconfig 
     
    6563        bool "XRX200 PHY firmware loader" 
    6664        depends on SOC_XWAY 
    67 diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
    68 index c24924f..e30dde8 100644 
    6965--- a/arch/mips/lantiq/xway/sysctrl.c 
    7066+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    7874                clkdev_add_static(ltq_ar9_cpu_hz(), ltq_ar9_fpi_hz(), 
    7975                                ltq_ar9_fpi_hz(), CLOCK_250M); 
    80 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    81 index 2cb1d31..8ba7fff 100644 
    8276--- a/arch/mips/pci/Makefile 
    8377+++ b/arch/mips/pci/Makefile 
    84 @@ -41,6 +41,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o 
     78@@ -41,6 +41,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1 
    8579 obj-$(CONFIG_SNI_RM)           += fixup-sni.o ops-sni.o 
    8680 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
     
    9185 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    9286 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    93 diff --git a/arch/mips/pci/fixup-lantiq-pcie.c b/arch/mips/pci/fixup-lantiq-pcie.c 
    94 new file mode 100644 
    95 index 0000000..50a1c3b 
    9687--- /dev/null 
    9788+++ b/arch/mips/pci/fixup-lantiq-pcie.c 
     
    179170+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LANTIQ, PCI_DEVICE_ID_LANTIQ_PCIE, 
    180171+     ifx_pcie_rc_class_early_fixup); 
    181 diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c 
    182 index 6c829df..cf5c4e0 100644 
    183172--- a/arch/mips/pci/fixup-lantiq.c 
    184173+++ b/arch/mips/pci/fixup-lantiq.c 
     
    191180 int pcibios_plat_dev_init(struct pci_dev *dev) 
    192181 { 
    193 @@ -28,6 +29,8 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 
     182@@ -28,6 +29,8 @@ int __init pcibios_map_irq(const struct 
    194183        struct of_irq dev_irq; 
    195184        int irq; 
     
    200189                dev_err(&dev->dev, "trying to map irq for unknown slot:%d pin:%d\n", 
    201190                        slot, pin); 
    202 diff --git a/arch/mips/pci/ifxmips_pci_common.h b/arch/mips/pci/ifxmips_pci_common.h 
    203 new file mode 100644 
    204 index 0000000..46f4cb2 
    205191--- /dev/null 
    206192+++ b/arch/mips/pci/ifxmips_pci_common.h 
     
    263249+#endif /* IFXMIPS_PCI_COMMON_H */ 
    264250+ 
    265 diff --git a/arch/mips/pci/ifxmips_pcie.c b/arch/mips/pci/ifxmips_pcie.c 
    266 new file mode 100644 
    267 index 0000000..5cebfe6 
    268251--- /dev/null 
    269252+++ b/arch/mips/pci/ifxmips_pcie.c 
     
    18761859+MODULE_DESCRIPTION("Infineon builtin PCIe RC driver"); 
    18771860+ 
    1878 diff --git a/arch/mips/pci/ifxmips_pcie.h b/arch/mips/pci/ifxmips_pcie.h 
    1879 new file mode 100644 
    1880 index 0000000..c6f92f5 
    18811861--- /dev/null 
    18821862+++ b/arch/mips/pci/ifxmips_pcie.h 
     
    20171997+#endif  /* IFXMIPS_PCIE_H */ 
    20181998+ 
    2019 diff --git a/arch/mips/pci/ifxmips_pcie_ar10.h b/arch/mips/pci/ifxmips_pcie_ar10.h 
    2020 new file mode 100644 
    2021 index 0000000..99ff463 
    20221999--- /dev/null 
    20232000+++ b/arch/mips/pci/ifxmips_pcie_ar10.h 
     
    23132290+ 
    23142291+#endif /* IFXMIPS_PCIE_AR10_H */ 
    2315 diff --git a/arch/mips/pci/ifxmips_pcie_msi.c b/arch/mips/pci/ifxmips_pcie_msi.c 
    2316 new file mode 100644 
    2317 index 0000000..bffd6fa 
    23182292--- /dev/null 
    23192293+++ b/arch/mips/pci/ifxmips_pcie_msi.c 
     
    27112685+MODULE_DESCRIPTION("Infineon PCIe IP builtin MSI PIC driver"); 
    27122686+ 
    2713 diff --git a/arch/mips/pci/ifxmips_pcie_phy.c b/arch/mips/pci/ifxmips_pcie_phy.c 
    2714 new file mode 100644 
    2715 index 0000000..f5b0f13 
    27162687--- /dev/null 
    27172688+++ b/arch/mips/pci/ifxmips_pcie_phy.c 
     
    31953166+} 
    31963167+ 
    3197 diff --git a/arch/mips/pci/ifxmips_pcie_pm.c b/arch/mips/pci/ifxmips_pcie_pm.c 
    3198 new file mode 100644 
    3199 index 0000000..a10ecad 
    32003168--- /dev/null 
    32013169+++ b/arch/mips/pci/ifxmips_pcie_pm.c 
     
    33773345+} 
    33783346+ 
    3379 diff --git a/arch/mips/pci/ifxmips_pcie_pm.h b/arch/mips/pci/ifxmips_pcie_pm.h 
    3380 new file mode 100644 
    3381 index 0000000..6ece20d 
    33823347--- /dev/null 
    33833348+++ b/arch/mips/pci/ifxmips_pcie_pm.h 
     
    34193384+#endif /* IFXMIPS_PCIE_PM_H  */ 
    34203385+ 
    3421 diff --git a/arch/mips/pci/ifxmips_pcie_reg.h b/arch/mips/pci/ifxmips_pcie_reg.h 
    3422 new file mode 100644 
    3423 index 0000000..e7e4b6c 
    34243386--- /dev/null 
    34253387+++ b/arch/mips/pci/ifxmips_pcie_reg.h 
     
    44264388+#endif /* IFXMIPS_PCIE_REG_H */ 
    44274389+ 
    4428 diff --git a/arch/mips/pci/ifxmips_pcie_vr9.h b/arch/mips/pci/ifxmips_pcie_vr9.h 
    4429 new file mode 100644 
    4430 index 0000000..57d9368 
    44314390--- /dev/null 
    44324391+++ b/arch/mips/pci/ifxmips_pcie_vr9.h 
     
    47034662+#endif /* IFXMIPS_PCIE_VR9_H */ 
    47044663+ 
    4705 diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c 
    4706 index 0872f12..eb104ad 100644 
    47074664--- a/arch/mips/pci/pci.c 
    47084665+++ b/arch/mips/pci/pci.c 
    4709 @@ -260,6 +260,31 @@ static int __init pcibios_init(void) 
     4666@@ -266,6 +266,31 @@ static int __init pcibios_init(void) 
    47104667  
    47114668 subsys_initcall(pcibios_init); 
     
    47394696 { 
    47404697        u16 cmd, old_cmd; 
    4741 diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig 
    4742 index 50e94e0..4bf848f 100644 
    47434698--- a/drivers/pci/pcie/aer/Kconfig 
    47444699+++ b/drivers/pci/pcie/aer/Kconfig 
     
    47524707          This enables PCI Express Root Port Advanced Error Reporting 
    47534708          (AER) driver support. Error reporting messages sent to Root 
    4754 diff --git a/include/linux/pci.h b/include/linux/pci.h 
    4755 index 710067f..f06ad11 100644 
    47564709--- a/include/linux/pci.h 
    47574710+++ b/include/linux/pci.h 
    4758 @@ -1064,6 +1064,8 @@ void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), 
     4711@@ -1064,6 +1064,8 @@ void pci_walk_bus(struct pci_bus *top, i 
    47594712 int pci_cfg_space_size_ext(struct pci_dev *dev); 
    47604713 int pci_cfg_space_size(struct pci_dev *dev); 
     
    47654718 resource_size_t pcibios_window_alignment(struct pci_bus *bus, 
    47664719                                         unsigned long type); 
    4767 diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h 
    4768 index f11c1c2..ee87398 100644 
    47694720--- a/include/linux/pci_ids.h 
    47704721+++ b/include/linux/pci_ids.h 
     
    47824733 #define PCI_DEVICE_ID_WINBOND_82C105   0x0105 
    47834734 #define PCI_DEVICE_ID_WINBOND_83C553   0x0565 
    4784 --  
    4785 1.7.10.4 
    4786  
  • trunk/target/linux/lantiq/patches-3.9/0012-MIPS-lantiq-adds-minimal-dcdc-driver.patch

    r37089 r37103  
    1313 create mode 100644 arch/mips/lantiq/xway/dcdc.c 
    1414 
    15 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    16 index 7a13660..087497d 100644 
    1715--- a/arch/mips/lantiq/xway/Makefile 
    1816+++ b/arch/mips/lantiq/xway/Makefile 
     
    2220  
    2321 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
    24 diff --git a/arch/mips/lantiq/xway/dcdc.c b/arch/mips/lantiq/xway/dcdc.c 
    25 new file mode 100644 
    26 index 0000000..8dd871a 
    2722--- /dev/null 
    2823+++ b/arch/mips/lantiq/xway/dcdc.c 
     
    10297+ 
    10398+arch_initcall(dcdc_init); 
    104 --  
    105 1.7.10.4 
    106  
  • trunk/target/linux/lantiq/patches-3.9/0013-MTD-lantiq-Add-NAND-support-on-Lantiq-Falcon-SoC.patch

    r37089 r37103  
    1717 create mode 100644 drivers/mtd/nand/falcon_nand.c 
    1818 
    19 diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig 
    20 index 81bf5e5..2738097 100644 
    2119--- a/drivers/mtd/nand/Kconfig 
    2220+++ b/drivers/mtd/nand/Kconfig 
     
    3432+ 
    3533 endif # MTD_NAND 
    36 diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile 
    37 index d76d912..1a61bf0 100644 
    3834--- a/drivers/mtd/nand/Makefile 
    3935+++ b/drivers/mtd/nand/Makefile 
    40 @@ -53,5 +53,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740_nand.o 
     36@@ -53,5 +53,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740 
    4137 obj-$(CONFIG_MTD_NAND_GPMI_NAND)       += gpmi-nand/ 
    4238 obj-$(CONFIG_MTD_NAND_XWAY)            += xway_nand.o 
     
    4541  
    4642 nand-objs := nand_base.o nand_bbt.o 
    47 diff --git a/drivers/mtd/nand/falcon_nand.c b/drivers/mtd/nand/falcon_nand.c 
    48 new file mode 100644 
    49 index 0000000..13458d3 
    5043--- /dev/null 
    5144+++ b/drivers/mtd/nand/falcon_nand.c 
     
    134127+ 
    135128+arch_initcall(falcon_register_nand); 
    136 --  
    137 1.7.10.4 
    138  
  • trunk/target/linux/lantiq/patches-3.9/0014-MTD-lantiq-xway-make-nand-actually-work.patch

    r37089 r37103  
    1111 1 file changed, 45 insertions(+), 9 deletions(-) 
    1212 
    13 diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c 
    14 index 3f81dc8..49b2e47 100644 
    1513--- a/drivers/mtd/nand/xway_nand.c 
    1614+++ b/drivers/mtd/nand/xway_nand.c 
     
    4745 } 
    4846  
    49 @@ -94,17 +104,15 @@ static void xway_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 
     47@@ -94,17 +104,15 @@ static void xway_cmd_ctrl(struct mtd_inf 
    5048        unsigned long flags; 
    5149  
     
    6967                        ; 
    7068                spin_unlock_irqrestore(&ebu_lock, flags); 
    71 @@ -124,12 +132,38 @@ static unsigned char xway_read_byte(struct mtd_info *mtd) 
     69@@ -124,12 +132,38 @@ static unsigned char xway_read_byte(stru 
    7270        int ret; 
    7371  
     
    109107 { 
    110108        struct nand_chip *this = platform_get_drvdata(pdev); 
    111 @@ -175,6 +209,8 @@ static struct platform_nand_data xway_nand_data = { 
     109@@ -175,6 +209,8 @@ static struct platform_nand_data xway_na 
    112110                .dev_ready      = xway_dev_ready, 
    113111                .select_chip    = xway_select_chip, 
     
    118116 }; 
    119117  
    120 --  
    121 1.7.10.4 
    122  
  • trunk/target/linux/lantiq/patches-3.9/0015-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch

    r37089 r37103  
    88 1 file changed, 5 insertions(+), 1 deletion(-) 
    99 
    10 diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c 
    11 index d1da6ed..ae170ce 100644 
    1210--- a/drivers/mtd/maps/lantiq-flash.c 
    1311+++ b/drivers/mtd/maps/lantiq-flash.c 
    14 @@ -135,7 +135,11 @@ ltq_mtd_probe(struct platform_device *pdev) 
     12@@ -135,7 +135,11 @@ ltq_mtd_probe(struct platform_device *pd 
    1513        } 
    1614  
     
    2523        ltq_mtd->map->virt = devm_ioremap_resource(&pdev->dev, ltq_mtd->res); 
    2624        if (IS_ERR(ltq_mtd->map->virt)) { 
    27 --  
    28 1.7.10.4 
    29  
  • trunk/target/linux/lantiq/patches-3.9/0016-owrt-generic-dtb-image-hack.patch

    r37089 r37103  
    88 1 file changed, 3 insertions(+) 
    99 
    10 diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S 
    11 index c61cdae..b4e55bb 100644 
    1210--- a/arch/mips/kernel/head.S 
    1311+++ b/arch/mips/kernel/head.S 
    14 @@ -140,6 +140,9 @@ FEXPORT(__kernel_entry) 
    15         j       kernel_entry 
    16  #endif 
     12@@ -146,6 +146,9 @@ EXPORT(__image_cmdline) 
     13        .fill   0x400 
     14 #endif /* CONFIG_IMAGE_CMDLINE_HACK */ 
    1715  
    1816+       .ascii  "OWRTDTB:" 
     
    2220  
    2321 NESTED(kernel_entry, 16, sp)                   # kernel entry point 
    24 --  
    25 1.7.10.4 
    26  
  • trunk/target/linux/lantiq/patches-3.9/0017-owrt-lantiq-dtb-image-hack.patch

    r37089 r37103  
    99 2 files changed, 3 insertions(+), 3 deletions(-) 
    1010 
    11 diff --git a/arch/mips/lantiq/Makefile b/arch/mips/lantiq/Makefile 
    12 index d6bdc57..690257a 100644 
    1311--- a/arch/mips/lantiq/Makefile 
    1412+++ b/arch/mips/lantiq/Makefile 
     
    2220  
    2321 obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ 
    24 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
    25 index 9f9e875..72b183a 100644 
    2622--- a/arch/mips/lantiq/prom.c 
    2723+++ b/arch/mips/lantiq/prom.c 
    28 @@ -57,6 +57,8 @@ static void __init prom_init_cmdline(void) 
     24@@ -57,6 +57,8 @@ static void __init prom_init_cmdline(voi 
    2925        } 
    3026 } 
     
    4440  
    4541 void __init device_tree_init(void) 
    46 --  
    47 1.7.10.4 
    48  
  • trunk/target/linux/lantiq/patches-3.9/0018-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch

    r37089 r37103  
    2020 create mode 100644 arch/mips/lantiq/xway/rt_eep.c 
    2121 
    22 diff --git a/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h b/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
    23 new file mode 100644 
    24 index 0000000..095d261 
    2522--- /dev/null 
    2623+++ b/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
     
    3229+ 
    3330+#endif /* _PCI_ATH_FIXUP */ 
    34 diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    35 index 133336b..779715c 100644 
    3631--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    3732+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    38 @@ -90,5 +90,8 @@ int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr); 
     33@@ -90,5 +90,8 @@ int xrx200_gphy_boot(struct device *dev, 
    3934 extern void ltq_pmu_enable(unsigned int module); 
    4035 extern void ltq_pmu_disable(unsigned int module); 
     
    4540 #endif /* CONFIG_SOC_TYPE_XWAY */ 
    4641 #endif /* _LTQ_XWAY_H__ */ 
    47 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    48 index 087497d..51f0eba 100644 
    4942--- a/arch/mips/lantiq/xway/Makefile 
    5043+++ b/arch/mips/lantiq/xway/Makefile 
     
    5649+ 
    5750 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
    58 diff --git a/arch/mips/lantiq/xway/ath_eep.c b/arch/mips/lantiq/xway/ath_eep.c 
    59 new file mode 100644 
    60 index 0000000..ed55124 
    6151--- /dev/null 
    6252+++ b/arch/mips/lantiq/xway/ath_eep.c 
     
    310300+} 
    311301+late_initcall(of_ath5k_eeprom_init); 
    312 diff --git a/arch/mips/lantiq/xway/eth_mac.c b/arch/mips/lantiq/xway/eth_mac.c 
    313 new file mode 100644 
    314 index 0000000..d288a0e 
    315302--- /dev/null 
    316303+++ b/arch/mips/lantiq/xway/eth_mac.c 
     
    392379+} 
    393380+device_initcall(of_eth_mac_init); 
    394 diff --git a/arch/mips/lantiq/xway/pci-ath-fixup.c b/arch/mips/lantiq/xway/pci-ath-fixup.c 
    395 new file mode 100644 
    396 index 0000000..c87ffb2 
    397381--- /dev/null 
    398382+++ b/arch/mips/lantiq/xway/pci-ath-fixup.c 
     
    507491+       ath_num_fixups++; 
    508492+} 
    509 diff --git a/arch/mips/lantiq/xway/rt_eep.c b/arch/mips/lantiq/xway/rt_eep.c 
    510 new file mode 100644 
    511 index 0000000..00f2d4c 
    512493--- /dev/null 
    513494+++ b/arch/mips/lantiq/xway/rt_eep.c 
     
    573554+} 
    574555+device_initcall(of_ralink_eeprom_init); 
    575 diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c 
    576 index 879077b..ad22c82 100644 
    577556--- a/arch/mips/pci/pci-lantiq.c 
    578557+++ b/arch/mips/pci/pci-lantiq.c 
     
    583562-arch_initcall(pcibios_init); 
    584563+late_initcall(pcibios_init); 
    585 --  
    586 1.7.10.4 
    587  
  • trunk/target/linux/lantiq/patches-3.9/0019-owrt-lantiq-handle-vmmc-memory-reservation.patch

    r37089 r37103  
    1010 create mode 100644 arch/mips/lantiq/xway/vmmc.c 
    1111 
    12 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    13 index 51f0eba..3a01d22 100644 
    1412--- a/arch/mips/lantiq/xway/Makefile 
    1513+++ b/arch/mips/lantiq/xway/Makefile 
     
    2220  
    2321 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
    24 diff --git a/arch/mips/lantiq/xway/vmmc.c b/arch/mips/lantiq/xway/vmmc.c 
    25 new file mode 100644 
    26 index 0000000..6dedf77 
    2722--- /dev/null 
    2823+++ b/arch/mips/lantiq/xway/vmmc.c 
     
    9186+ 
    9287+module_platform_driver(vmmc_driver); 
    93 --  
    94 1.7.10.4 
    95  
  • trunk/target/linux/lantiq/patches-3.9/0020-owrt-lantiq-backport-old-timer-code.patch

    r37089 r37103  
    1212 create mode 100644 arch/mips/lantiq/xway/timer.c 
    1313 
    14 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_timer.h b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
    15 new file mode 100644 
    16 index 0000000..ef564ab 
    1714--- /dev/null 
    1815+++ b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
     
    173170+ 
    174171+#endif /* __DANUBE_GPTU_DEV_H__2005_07_26__10_19__ */ 
    175 diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
    176 index 3a01d22..ea8706f 100644 
    177172--- a/arch/mips/lantiq/xway/Makefile 
    178173+++ b/arch/mips/lantiq/xway/Makefile 
     
    183178 obj-y += eth_mac.o vmmc.o 
    184179 obj-$(CONFIG_PCI) += ath_eep.o rt_eep.o pci-ath-fixup.o 
    185 diff --git a/arch/mips/lantiq/xway/timer.c b/arch/mips/lantiq/xway/timer.c 
    186 new file mode 100644 
    187 index 0000000..1c0fdb8 
    188180--- /dev/null 
    189181+++ b/arch/mips/lantiq/xway/timer.c 
     
    10341026+ 
    10351027+#endif 
    1036 --  
    1037 1.7.10.4 
    1038  
  • trunk/target/linux/lantiq/patches-3.9/0021-owrt-lantiq-add-atm-hack.patch

    r37089 r37103  
    1616 create mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
    1717 
    18 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_atm.h b/arch/mips/include/asm/mach-lantiq/lantiq_atm.h 
    19 new file mode 100644 
    20 index 0000000..bf045a9 
    2118--- /dev/null 
    2219+++ b/arch/mips/include/asm/mach-lantiq/lantiq_atm.h 
     
    218215+#endif  //  IFX_ATM_H 
    219216+ 
    220 diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h b/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
    221 new file mode 100644 
    222 index 0000000..698e5c3 
    223217--- /dev/null 
    224218+++ b/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
     
    427421+#endif  //  IFX_PTM_H 
    428422+ 
    429 diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
    430 index 5119487..6d2c486 100644 
    431423--- a/arch/mips/lantiq/irq.c 
    432424+++ b/arch/mips/lantiq/irq.c 
     
    439431 #include <asm/bootinfo.h> 
    440432 #include <asm/irq_cpu.h> 
    441 @@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_data *d) 
     433@@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_dat 
    442434        ltq_icu_w32(im, ltq_icu_r32(im, ier) & ~BIT(offset), ier); 
    443435        ltq_icu_w32(im, BIT(offset), isr); 
     
    447439 static void ltq_ack_irq(struct irq_data *d) 
    448440 { 
    449 diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c 
    450 index 07cec44..a3e3872 100644 
    451441--- a/arch/mips/mm/cache.c 
    452442+++ b/arch/mips/mm/cache.c 
    453 @@ -57,6 +57,8 @@ void (*_dma_cache_wback)(unsigned long start, unsigned long size); 
     443@@ -58,6 +58,8 @@ void (*_dma_cache_wback)(unsigned long s 
    454444 void (*_dma_cache_inv)(unsigned long start, unsigned long size); 
    455445  
     
    460450 #endif /* CONFIG_DMA_NONCOHERENT */ 
    461451  
    462 diff --git a/include/uapi/linux/atm.h b/include/uapi/linux/atm.h 
    463 index 88399db..78c8bbc 100644 
    464452--- a/include/uapi/linux/atm.h 
    465453+++ b/include/uapi/linux/atm.h 
     
    479467        unsigned char   traffic_class;  /* traffic class (ATM_UBR, ...) */ 
    480468        int             max_pcr;        /* maximum PCR in cells per second */ 
    481 diff --git a/net/atm/common.c b/net/atm/common.c 
    482 index 737bef5..959008d 100644 
    483469--- a/net/atm/common.c 
    484470+++ b/net/atm/common.c 
    485 @@ -62,11 +62,17 @@ static void vcc_remove_socket(struct sock *sk) 
     471@@ -62,11 +62,17 @@ static void vcc_remove_socket(struct soc 
    486472        write_unlock_irq(&vcc_sklist_lock); 
    487473 } 
     
    501487                pr_debug("Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n", 
    502488                         sk_wmem_alloc_get(sk), size, sk->sk_sndbuf); 
    503 diff --git a/net/atm/proc.c b/net/atm/proc.c 
    504 index 6ac35ff..3cea444 100644 
    505489--- a/net/atm/proc.c 
    506490+++ b/net/atm/proc.c 
    507 @@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos) 
     491@@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_fil 
    508492 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) 
    509493 { 
     
    514498                "---",  "1",    "2",    "3/4",  /*  0- 3 */ 
    515499                "???",  "5",    "???",  "???",  /*  4- 7 */ 
    516 --  
    517 1.7.10.4 
    518  
  • trunk/target/linux/lantiq/patches-3.9/0022-PINCTRL-add-gpio_irq-support.patch

    r37089 r37103  
    88 1 file changed, 26 insertions(+), 2 deletions(-) 
    99 
    10 diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c 
    11 index 068224e..8719d35 100644 
    1210--- a/drivers/pinctrl/pinctrl-xway.c 
    1311+++ b/drivers/pinctrl/pinctrl-xway.c 
    14 @@ -564,10 +564,9 @@ static struct pinctrl_desc xway_pctrl_desc = { 
     12@@ -564,10 +564,9 @@ static struct pinctrl_desc xway_pctrl_de 
    1513        .confops        = &xway_pinconf_ops, 
    1614 }; 
     
    2422        u32 alt1_reg = GPIO_ALT1(pin); 
    2523  
    26 @@ -587,6 +586,14 @@ static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, 
     24@@ -587,6 +586,14 @@ static inline int xway_mux_apply(struct 
    2725        return 0; 
    2826 } 
     
    3937        {"lantiq,pull",         LTQ_PINCONF_PARAM_PULL}, 
    4038        {"lantiq,open-drain",   LTQ_PINCONF_PARAM_OPEN_DRAIN}, 
    41 @@ -631,6 +638,10 @@ static int xway_gpio_dir_out(struct gpio_chip *chip, unsigned int pin, int val) 
     39@@ -631,6 +638,10 @@ static int xway_gpio_dir_out(struct gpio 
    4240 { 
    4341        struct ltq_pinmux_info *info = dev_get_drvdata(chip->dev); 
     
    5048        xway_gpio_set(chip, pin, val); 
    5149  
    52 @@ -651,6 +662,18 @@ static void xway_gpio_free(struct gpio_chip *chip, unsigned offset) 
     50@@ -651,6 +662,18 @@ static void xway_gpio_free(struct gpio_c 
    5351        pinctrl_free_gpio(gpio); 
    5452 } 
     
    7775 }; 
    7876  
    79 --  
    80 1.7.10.4 
    81  
  • trunk/target/linux/ramips/Makefile

    r37016 r37103  
    1414FEATURES:=squashfs gpio 
    1515 
    16 LINUX_VERSION:=3.9.6 
     16LINUX_VERSION:=3.9.8 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch

    r37016 r37103  
    1818 5 files changed, 35 insertions(+), 26 deletions(-) 
    1919 
    20 diff --git a/arch/mips/include/asm/mips_machine.h b/arch/mips/include/asm/mips_machine.h 
    21 index 363bb35..9d00aeb 100644 
    2220--- a/arch/mips/include/asm/mips_machine.h 
    2321+++ b/arch/mips/include/asm/mips_machine.h 
     
    3634  
    3735 #endif /* __ASM_MIPS_MACHINE_H */ 
    38 diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h 
    39 index 8808bf5..1e7e096 100644 
    4036--- a/arch/mips/include/asm/prom.h 
    4137+++ b/arch/mips/include/asm/prom.h 
    42 @@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_param_header *bph); 
     38@@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_ 
    4339 static inline void device_tree_init(void) { } 
    4440 #endif /* CONFIG_OF */ 
     
    4844+ 
    4945 #endif /* __ASM_PROM_H */ 
    50 diff --git a/arch/mips/kernel/mips_machine.c b/arch/mips/kernel/mips_machine.c 
    51 index 411a058..6dc5866 100644 
    5246--- a/arch/mips/kernel/mips_machine.c 
    5347+++ b/arch/mips/kernel/mips_machine.c 
     
    6054 #define for_each_machine(mach) \ 
    6155        for ((mach) = (struct mips_machine *)&__mips_machines_start; \ 
    62 @@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknown"; 
     56@@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknow 
    6357             (unsigned long)(mach) < (unsigned long)&__mips_machines_end; \ 
    6458             (mach)++) 
     
    9488        if (mips_machine->mach_setup) 
    9589                mips_machine->mach_setup(); 
    96 diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c 
    97 index 7a54f74..1dd137b 100644 
    9890--- a/arch/mips/kernel/proc.c 
    9991+++ b/arch/mips/kernel/proc.c 
     
    10799 unsigned int vced_count, vcei_count; 
    108100  
    109 diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c 
    110 index 028f6f8..b68e53b 100644 
    111101--- a/arch/mips/kernel/prom.c 
    112102+++ b/arch/mips/kernel/prom.c 
     
    134124                                          const char *uname, int depth, 
    135125                                          void *data) 
    136 @@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_arch(unsigned long start, 
     126@@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_a 
    137127 } 
    138128 #endif 
     
    153143 { 
    154144        /* Setup flat device-tree pointer */ 
    155 @@ -65,6 +93,9 @@ void __init early_init_devtree(void *params) 
     145@@ -65,6 +93,9 @@ void __init early_init_devtree(void *par 
    156146        /* Scan memory nodes */ 
    157147        of_scan_flat_dt(early_init_dt_scan_root, NULL); 
     
    163153  
    164154 void __init __dt_setup_arch(struct boot_param_header *bph) 
    165 --  
    166 1.7.10.4 
    167  
  • trunk/target/linux/ramips/patches-3.9/0101-MIPS-ralink-add-PCI-IRQ-handling.patch

    r37016 r37103  
    1414 1 file changed, 4 insertions(+) 
    1515 
    16 diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
    17 index 6d054c5..d9807d0 100644 
    1816--- a/arch/mips/ralink/irq.c 
    1917+++ b/arch/mips/ralink/irq.c 
     
    3634                do_IRQ(RALINK_CPU_IRQ_INTC); 
    3735  
    38 --  
    39 1.7.10.4 
    40  
  • trunk/target/linux/ramips/patches-3.9/0102-MIPS-ralink-add-RT3352-register-defines.patch

    r37016 r37103  
    1414 1 file changed, 13 insertions(+) 
    1515 
    16 diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
    17 index 7d344f2..e36c3c5 100644 
    1816--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1917+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3634+ 
    3735 #endif 
    38 --  
    39 1.7.10.4 
    40  
  • trunk/target/linux/ramips/patches-3.9/0103-MIPS-ralink-fix-RT305x-clock-setup.patch

    r37016 r37103  
    1313 1 file changed, 12 insertions(+) 
    1414 
    15 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
    16 index 0a4bbdc..5d49a54 100644 
    1715--- a/arch/mips/ralink/rt305x.c 
    1816+++ b/arch/mips/ralink/rt305x.c 
     
    4846  
    4947 void __init ralink_of_remap(void) 
    50 --  
    51 1.7.10.4 
    52  
  • trunk/target/linux/ramips/patches-3.9/0104-MIPS-ralink-add-missing-comment-in-irq-driver.patch

    r37016 r37103  
    1313 1 file changed, 1 insertion(+) 
    1414 
    15 diff --git a/arch/mips/ralink/irq.c b/arch/mips/ralink/irq.c 
    16 index d9807d0..320b1f1 100644 
    1715--- a/arch/mips/ralink/irq.c 
    1816+++ b/arch/mips/ralink/irq.c 
    19 @@ -166,6 +166,7 @@ static int __init intc_of_init(struct device_node *node, 
     17@@ -166,6 +166,7 @@ static int __init intc_of_init(struct de 
    2018        irq_set_chained_handler(irq, ralink_intc_irq_handler); 
    2119        irq_set_handler_data(irq, domain); 
     
    2523  
    2624        return 0; 
    27 --  
    28 1.7.10.4 
    29  
  • trunk/target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch

    r37016 r37103  
    1414 1 file changed, 8 insertions(+) 
    1515 
    16 diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
    17 index e36c3c5..80cda8a 100644 
    1816--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    1917+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3331 #define RT305X_GPIO_I2C_SD             1 
    3432 #define RT305X_GPIO_I2C_SCLK           2 
    35 --  
    36 1.7.10.4 
    37  
  • trunk/target/linux/ramips/patches-3.9/0106-MIPS-ralink-make-early_printk-work-on-RT2880.patch

    r37016 r37103  
    1313 1 file changed, 4 insertions(+) 
    1414 
    15 diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c 
    16 index c4ae47e..b46d041 100644 
    1715--- a/arch/mips/ralink/early_printk.c 
    1816+++ b/arch/mips/ralink/early_printk.c 
     
    2927 #define UART_REG_RX             0x00 
    3028 #define UART_REG_TX             0x04 
    31 --  
    32 1.7.10.4 
    33  
  • trunk/target/linux/ramips/patches-3.9/0107-MIPS-ralink-rename-gpio_pinmux-to-rt_gpio_pinmux.patch

    r37016 r37103  
    1313 2 files changed, 2 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
    16 index 3009903..f4b19c6 100644 
    1715--- a/arch/mips/ralink/common.h 
    1816+++ b/arch/mips/ralink/common.h 
     
    2624 struct ralink_soc_info { 
    2725        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; 
    28 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
    29 index 5d49a54..f1a6c33 100644 
    3026--- a/arch/mips/ralink/rt305x.c 
    3127+++ b/arch/mips/ralink/rt305x.c 
     
    3935        .uart = uart_mux, 
    4036        .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, 
    41 --  
    42 1.7.10.4 
    43  
  • trunk/target/linux/ramips/patches-3.9/0108-MIPS-ralink-make-the-RT305x-pinmuxing-structure-stat.patch

    r37016 r37103  
    1414 1 file changed, 3 insertions(+), 3 deletions(-) 
    1515 
    16 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
    17 index f1a6c33..5b42078 100644 
    1816--- a/arch/mips/ralink/rt305x.c 
    1917+++ b/arch/mips/ralink/rt305x.c 
     
    4543        u32 t; 
    4644  
    47 --  
    48 1.7.10.4 
    49  
  • trunk/target/linux/ramips/patches-3.9/0109-MIPS-ralink-add-pci-group-to-struct-ralink_pinmux.patch

    r37016 r37103  
    1313 1 file changed, 3 insertions(+) 
    1414 
    15 diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
    16 index f4b19c6..bebd149 100644 
    1715--- a/arch/mips/ralink/common.h 
    1816+++ b/arch/mips/ralink/common.h 
     
    2725 extern struct ralink_pinmux rt_gpio_pinmux; 
    2826  
    29 --  
    30 1.7.10.4 
    31  
  • trunk/target/linux/ramips/patches-3.9/0110-MIPS-ralink-add-uart-mask-to-struct-ralink_pinmux.patch

    r37016 r37103  
    1313 2 files changed, 4 insertions(+), 2 deletions(-) 
    1414 
    15 diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
    16 index bebd149..299119b 100644 
    1715--- a/arch/mips/ralink/common.h 
    1816+++ b/arch/mips/ralink/common.h 
     
    2523        struct ralink_pinmux_grp *pci; 
    2624        int pci_shift; 
    27 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
    28 index 5b42078..6aa3cb1 100644 
    2925--- a/arch/mips/ralink/rt305x.c 
    3026+++ b/arch/mips/ralink/rt305x.c 
    31 @@ -91,12 +91,12 @@ static struct ralink_pinmux_grp uart_mux[] = { 
     27@@ -91,12 +91,12 @@ static struct ralink_pinmux_grp uart_mux 
    3228                .name = "gpio uartf", 
    3329                .mask = RT305X_GPIO_MODE_GPIO_UARTF, 
     
    5248 }; 
    5349  
    54 --  
    55 1.7.10.4 
    56  
  • trunk/target/linux/ramips/patches-3.9/0111-MIPS-ralink-adds-support-for-RT2880-SoC-family.patch

    r37016 r37103  
    2222 create mode 100644 arch/mips/ralink/rt288x.c 
    2323 
    24 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    25 index 51244bf..e4da4f8 100644 
    2624--- a/arch/mips/Kconfig 
    2725+++ b/arch/mips/Kconfig 
    28 @@ -1152,7 +1152,7 @@ config BOOT_ELF32 
     26@@ -1164,7 +1164,7 @@ config BOOT_ELF32 
    2927  
    3028 config MIPS_L1_CACHE_SHIFT 
     
    3533        default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON 
    3634        default "5" 
    37 diff --git a/arch/mips/include/asm/mach-ralink/rt288x.h b/arch/mips/include/asm/mach-ralink/rt288x.h 
    38 new file mode 100644 
    39 index 0000000..ad8b42d 
    4035--- /dev/null 
    4136+++ b/arch/mips/include/asm/mach-ralink/rt288x.h 
     
    9085+ 
    9186+#endif 
    92 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    93 index a0b0197..6723b94 100644 
    9487--- a/arch/mips/ralink/Kconfig 
    9588+++ b/arch/mips/ralink/Kconfig 
     
    10497                bool "RT305x" 
    10598                select USB_ARCH_HAS_HCD 
    106 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    107 index 939757f..6d826f2 100644 
    10899--- a/arch/mips/ralink/Makefile 
    109100+++ b/arch/mips/ralink/Makefile 
     
    116107  
    117108 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
    118 diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
    119 index 6babd65..3f49e51 100644 
    120109--- a/arch/mips/ralink/Platform 
    121110+++ b/arch/mips/ralink/Platform 
    122 @@ -5,6 +5,11 @@ core-$(CONFIG_RALINK)          += arch/mips/ralink/ 
     111@@ -5,6 +5,11 @@ core-$(CONFIG_RALINK)          += arch/mips/rali 
    123112 cflags-$(CONFIG_RALINK)                += -I$(srctree)/arch/mips/include/asm/mach-ralink 
    124113  
     
    132121 # 
    133122 load-$(CONFIG_SOC_RT305X)      += 0xffffffff80000000 
    134 diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c 
    135 new file mode 100644 
    136 index 0000000..1e0788e 
    137123--- /dev/null 
    138124+++ b/arch/mips/ralink/rt288x.c 
     
    277263+               (id & CHIP_ID_REV_MASK)); 
    278264+} 
    279 --  
    280 1.7.10.4 
    281  
  • trunk/target/linux/ramips/patches-3.9/0112-MIPS-ralink-adds-support-for-RT3883-SoC-family.patch

    r37016 r37103  
    2121 create mode 100644 arch/mips/ralink/rt3883.c 
    2222 
    23 diff --git a/arch/mips/include/asm/mach-ralink/rt3883.h b/arch/mips/include/asm/mach-ralink/rt3883.h 
    24 new file mode 100644 
    25 index 0000000..b91c6c1 
    2623--- /dev/null 
    2724+++ b/arch/mips/include/asm/mach-ralink/rt3883.h 
     
    274271+ 
    275272+#endif /* _RT3883_REGS_H_ */ 
    276 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    277 index 6723b94..ce57d3e 100644 
    278273--- a/arch/mips/ralink/Kconfig 
    279274+++ b/arch/mips/ralink/Kconfig 
     
    290285  
    291286 choice 
    292 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    293 index 6d826f2..ba9669c 100644 
    294287--- a/arch/mips/ralink/Makefile 
    295288+++ b/arch/mips/ralink/Makefile 
     
    302295 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
    303296  
    304 diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
    305 index 3f49e51..f67c08d 100644 
    306297--- a/arch/mips/ralink/Platform 
    307298+++ b/arch/mips/ralink/Platform 
    308 @@ -13,3 +13,8 @@ load-$(CONFIG_SOC_RT288X)     += 0xffffffff88000000 
     299@@ -13,3 +13,8 @@ load-$(CONFIG_SOC_RT288X)     += 0xffffffff8 
    309300 # Ralink RT305x 
    310301 # 
     
    315306+# 
    316307+load-$(CONFIG_SOC_RT3883)      += 0xffffffff80000000 
    317 diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c 
    318 new file mode 100644 
    319 index 0000000..2d90aa9 
    320308--- /dev/null 
    321309+++ b/arch/mips/ralink/rt3883.c 
     
    563551+               (id & RT3883_REVID_ECO_ID_MASK)); 
    564552+} 
    565 --  
    566 1.7.10.4 
    567  
  • trunk/target/linux/ramips/patches-3.9/0113-MIPS-ralink-adds-support-for-MT7620-SoC-family.patch

    r37016 r37103  
    2121 create mode 100644 arch/mips/ralink/mt7620.c 
    2222 
    23 diff --git a/arch/mips/include/asm/mach-ralink/mt7620.h b/arch/mips/include/asm/mach-ralink/mt7620.h 
    24 new file mode 100644 
    25 index 0000000..b272649 
    2623--- /dev/null 
    2724+++ b/arch/mips/include/asm/mach-ralink/mt7620.h 
     
    103100+ 
    104101+#endif 
    105 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    106 index ce57d3e..86f6c77 100644 
    107102--- a/arch/mips/ralink/Kconfig 
    108103+++ b/arch/mips/ralink/Kconfig 
     
    117112  
    118113 choice 
    119 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    120 index ba9669c..38cf1a8 100644 
    121114--- a/arch/mips/ralink/Makefile 
    122115+++ b/arch/mips/ralink/Makefile 
     
    129122 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 
    130123  
    131 diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
    132 index f67c08d..b2cbf16 100644 
    133124--- a/arch/mips/ralink/Platform 
    134125+++ b/arch/mips/ralink/Platform 
    135 @@ -18,3 +18,8 @@ load-$(CONFIG_SOC_RT305X)     += 0xffffffff80000000 
     126@@ -18,3 +18,8 @@ load-$(CONFIG_SOC_RT305X)     += 0xffffffff8 
    136127 # Ralink RT3883 
    137128 # 
     
    142133+# 
    143134+load-$(CONFIG_SOC_MT7620)      += 0xffffffff80000000 
    144 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    145 new file mode 100644 
    146 index 0000000..eb00ab8 
    147135--- /dev/null 
    148136+++ b/arch/mips/ralink/mt7620.c 
     
    362350+       dram_type = (cfg0 >> SYSCFG0_DRAM_TYPE_SHIFT) & SYSCFG0_DRAM_TYPE_MASK; 
    363351+} 
    364 --  
    365 1.7.10.4 
    366  
  • trunk/target/linux/ramips/patches-3.9/0114-MIPS-ralink-add-cpu-feature-overrides.h.patch

    r37016 r37103  
    1919 create mode 100644 arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h 
    2020 
    21 diff --git a/arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h 
    22 new file mode 100644 
    23 index 0000000..72fc106 
    2421--- /dev/null 
    2522+++ b/arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h 
     
    8178+ 
    8279+#endif /* _RT288X_CPU_FEATURE_OVERRIDES_H */ 
    83 diff --git a/arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h 
    84 new file mode 100644 
    85 index 0000000..917c286 
    8680--- /dev/null 
    8781+++ b/arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h 
     
    143137+ 
    144138+#endif /* _RT305X_CPU_FEATURE_OVERRIDES_H */ 
    145 diff --git a/arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h b/arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h 
    146 new file mode 100644 
    147 index 0000000..181fbf4 
    148139--- /dev/null 
    149140+++ b/arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h 
     
    204195+ 
    205196+#endif /* _RT3883_CPU_FEATURE_OVERRIDES_H */ 
    206 diff --git a/arch/mips/ralink/Platform b/arch/mips/ralink/Platform 
    207 index b2cbf16..cda4b66 100644 
    208197--- a/arch/mips/ralink/Platform 
    209198+++ b/arch/mips/ralink/Platform 
    210 @@ -8,16 +8,19 @@ cflags-$(CONFIG_RALINK)               += -I$(srctree)/arch/mips/include/asm/mach-ralink 
     199@@ -8,16 +8,19 @@ cflags-$(CONFIG_RALINK)               += -I$(srctree) 
    211200 # Ralink RT288x 
    212201 # 
     
    228217 # 
    229218 # Ralink MT7620 
    230 --  
    231 1.7.10.4 
    232  
  • trunk/target/linux/ramips/patches-3.9/0115-DT-add-vendor-prefixes-for-Ralink.patch

    r37016 r37103  
    1010 1 file changed, 1 insertion(+) 
    1111 
    12 diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt 
    13 index 19e1ef7..6527412 100644 
    1412--- a/Documentation/devicetree/bindings/vendor-prefixes.txt 
    1513+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt 
     
    2220 realtek Realtek Semiconductor Corp. 
    2321 renesas        Renesas Electronics Corporation 
    24 --  
    25 1.7.10.4 
    26  
  • trunk/target/linux/ramips/patches-3.9/0116-DT-add-documentation-for-the-Ralink-MIPS-SoCs.patch

    r37016 r37103  
    1616 create mode 100644 Documentation/devicetree/bindings/mips/ralink.txt 
    1717 
    18 diff --git a/Documentation/devicetree/bindings/mips/ralink.txt b/Documentation/devicetree/bindings/mips/ralink.txt 
    19 new file mode 100644 
    20 index 0000000..59b6a35 
    2118--- /dev/null 
    2219+++ b/Documentation/devicetree/bindings/mips/ralink.txt 
     
    4037+  ralink,mt7620n-soc 
    4138+ 
    42 --  
    43 1.7.10.4 
    44  
  • trunk/target/linux/ramips/patches-3.9/0117-DT-MIPS-ralink-clean-up-RT3050-dtsi-and-dts-file.patch

    r37016 r37103  
    1616 2 files changed, 4 insertions(+), 58 deletions(-) 
    1717 
    18 diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi 
    19 index 069d066..ef7da1e 100644 
    2018--- a/arch/mips/ralink/dts/rt3050.dtsi 
    2119+++ b/arch/mips/ralink/dts/rt3050.dtsi 
     
    107105                        compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a"; 
    108106                        reg = <0xc00 0x100>; 
    109 diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts 
    110 index 148a590..df17f5f 100644 
    111107--- a/arch/mips/ralink/dts/rt3052_eval.dts 
    112108+++ b/arch/mips/ralink/dts/rt3052_eval.dts 
     
    135131  
    136132        cfi@1f000000 { 
    137 --  
    138 1.7.10.4 
    139  
  • trunk/target/linux/ramips/patches-3.9/0118-DT-MIPS-ralink-add-RT2880-dts-files.patch

    r37016 r37103  
    1818 create mode 100644 arch/mips/ralink/dts/rt2880_eval.dts 
    1919 
    20 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    21 index 86f6c77..2f6fbb8 100644 
    2220--- a/arch/mips/ralink/Kconfig 
    2321+++ b/arch/mips/ralink/Kconfig 
     
    3331                bool "RT305x eval kit" 
    3432                depends on SOC_RT305X 
    35 diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
    36 index 1a69fb3..f635a01 100644 
    3733--- a/arch/mips/ralink/dts/Makefile 
    3834+++ b/arch/mips/ralink/dts/Makefile 
     
    4036+obj-$(CONFIG_DTB_RT2880_EVAL) := rt2880_eval.dtb.o 
    4137 obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o 
    42 diff --git a/arch/mips/ralink/dts/rt2880.dtsi b/arch/mips/ralink/dts/rt2880.dtsi 
    43 new file mode 100644 
    44 index 0000000..182afde 
    4538--- /dev/null 
    4639+++ b/arch/mips/ralink/dts/rt2880.dtsi 
     
    10497+       }; 
    10598+}; 
    106 diff --git a/arch/mips/ralink/dts/rt2880_eval.dts b/arch/mips/ralink/dts/rt2880_eval.dts 
    107 new file mode 100644 
    108 index 0000000..322d700 
    10999--- /dev/null 
    110100+++ b/arch/mips/ralink/dts/rt2880_eval.dts 
     
    156146+       }; 
    157147+}; 
    158 --  
    159 1.7.10.4 
    160  
  • trunk/target/linux/ramips/patches-3.9/0119-DT-MIPS-ralink-add-RT3883-dts-files.patch

    r37016 r37103  
    1818 create mode 100644 arch/mips/ralink/dts/rt3883_eval.dts 
    1919 
    20 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    21 index 2f6fbb8..493411f 100644 
    2220--- a/arch/mips/ralink/Kconfig 
    2321+++ b/arch/mips/ralink/Kconfig 
     
    3331  
    3432 endif 
    35 diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
    36 index f635a01..040a986 100644 
    3733--- a/arch/mips/ralink/dts/Makefile 
    3834+++ b/arch/mips/ralink/dts/Makefile 
     
    4137 obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o 
    4238+obj-$(CONFIG_DTB_RT3883_EVAL) := rt3883_eval.dtb.o 
    43 diff --git a/arch/mips/ralink/dts/rt3883.dtsi b/arch/mips/ralink/dts/rt3883.dtsi 
    44 new file mode 100644 
    45 index 0000000..3b131dd 
    4639--- /dev/null 
    4740+++ b/arch/mips/ralink/dts/rt3883.dtsi 
     
    10598+       }; 
    10699+}; 
    107 diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/ralink/dts/rt3883_eval.dts 
    108 new file mode 100644 
    109 index 0000000..2fa6b33 
    110100--- /dev/null 
    111101+++ b/arch/mips/ralink/dts/rt3883_eval.dts 
     
    127117+       }; 
    128118+}; 
    129 --  
    130 1.7.10.4 
    131  
  • trunk/target/linux/ramips/patches-3.9/0120-DT-MIPS-ralink-add-MT7620A-dts-files.patch

    r37016 r37103  
    1818 create mode 100644 arch/mips/ralink/dts/mt7620a_eval.dts 
    1919 
    20 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    21 index 493411f..026e823 100644 
    2220--- a/arch/mips/ralink/Kconfig 
    2321+++ b/arch/mips/ralink/Kconfig 
     
    3331  
    3432 endif 
    35 diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
    36 index 040a986..18194fa 100644 
    3733--- a/arch/mips/ralink/dts/Makefile 
    3834+++ b/arch/mips/ralink/dts/Makefile 
     
    4238 obj-$(CONFIG_DTB_RT3883_EVAL) := rt3883_eval.dtb.o 
    4339+obj-$(CONFIG_DTB_MT7620A_EVAL) := mt7620a_eval.dtb.o 
    44 diff --git a/arch/mips/ralink/dts/mt7620a.dtsi b/arch/mips/ralink/dts/mt7620a.dtsi 
    45 new file mode 100644 
    46 index 0000000..08bf24f 
    4740--- /dev/null 
    4841+++ b/arch/mips/ralink/dts/mt7620a.dtsi 
     
    10699+       }; 
    107100+}; 
    108 diff --git a/arch/mips/ralink/dts/mt7620a_eval.dts b/arch/mips/ralink/dts/mt7620a_eval.dts 
    109 new file mode 100644 
    110 index 0000000..35eb874 
    111101--- /dev/null 
    112102+++ b/arch/mips/ralink/dts/mt7620a_eval.dts 
     
    128118+       }; 
    129119+}; 
    130 --  
    131 1.7.10.4 
    132  
  • trunk/target/linux/ramips/patches-3.9/0121-MIPS-add-detect_memory_region.patch

    r37016 r37103  
    1414 2 files changed, 21 insertions(+) 
    1515 
    16 diff --git a/arch/mips/include/asm/bootinfo.h b/arch/mips/include/asm/bootinfo.h 
    17 index b71dd5b..4d2cdea 100644 
    1816--- a/arch/mips/include/asm/bootinfo.h 
    1917+++ b/arch/mips/include/asm/bootinfo.h 
     
    2624 extern void prom_init(void); 
    2725 extern void prom_free_prom_memory(void); 
    28 diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c 
    29 index 4c774d5..7325793 100644 
    3026--- a/arch/mips/kernel/setup.c 
    3127+++ b/arch/mips/kernel/setup.c 
     
    3834 #include <asm/addrspace.h> 
    3935 #include <asm/bootinfo.h> 
    40 @@ -122,6 +123,25 @@ void __init add_memory_region(phys_t start, phys_t size, long type) 
     36@@ -122,6 +123,25 @@ void __init add_memory_region(phys_t sta 
    4137        boot_mem_map.nr_map++; 
    4238 } 
     
    6460 { 
    6561        int i; 
    66 --  
    67 1.7.10.4 
    68  
  • trunk/target/linux/ramips/patches-3.9/0122-MIPS-ralink-add-memory-definition-to-struct-ralink_s.patch

    r37016 r37103  
    1414 1 file changed, 5 insertions(+) 
    1515 
    16 diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
    17 index 299119b..83144c3 100644 
    1816--- a/arch/mips/ralink/common.h 
    1917+++ b/arch/mips/ralink/common.h 
    20 @@ -33,6 +33,11 @@ extern struct ralink_pinmux rt_gpio_pinmux; 
     18@@ -33,6 +33,11 @@ extern struct ralink_pinmux rt_gpio_pinm 
    2119 struct ralink_soc_info { 
    2220        unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; 
     
    3028 extern struct ralink_soc_info soc_info; 
    3129  
    32 --  
    33 1.7.10.4 
    34  
  • trunk/target/linux/ramips/patches-3.9/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch

    r37016 r37103  
    1616 2 files changed, 51 insertions(+) 
    1717 
    18 diff --git a/arch/mips/include/asm/mach-ralink/rt305x.h b/arch/mips/include/asm/mach-ralink/rt305x.h 
    19 index 80cda8a..069bf37 100644 
    2018--- a/arch/mips/include/asm/mach-ralink/rt305x.h 
    2119+++ b/arch/mips/include/asm/mach-ralink/rt305x.h 
     
    3129+ 
    3230 #endif 
    33 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
    34 index 6aa3cb1..ca7ee3a 100644 
    3531--- a/arch/mips/ralink/rt305x.c 
    3632+++ b/arch/mips/ralink/rt305x.c 
     
    7672 { 
    7773        unsigned long cpu_rate, sys_rate, wdt_rate, uart_rate; 
    78 @@ -252,4 +286,15 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     74@@ -252,4 +286,15 @@ void prom_soc_init(struct ralink_soc_inf 
    7975                name, 
    8076                (id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK, 
     
    9288+       } 
    9389 } 
    94 --  
    95 1.7.10.4 
    96  
  • trunk/target/linux/ramips/patches-3.9/0124-MIPS-ralink-add-memory-definition-for-RT2880.patch

    r37016 r37103  
    1313 2 files changed, 8 insertions(+) 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-ralink/rt288x.h b/arch/mips/include/asm/mach-ralink/rt288x.h 
    16 index ad8b42d..03ad716 100644 
    1715--- a/arch/mips/include/asm/mach-ralink/rt288x.h 
    1816+++ b/arch/mips/include/asm/mach-ralink/rt288x.h 
     
    2624+ 
    2725 #endif 
    28 diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c 
    29 index 1e0788e..f87de1a 100644 
    3026--- a/arch/mips/ralink/rt288x.c 
    3127+++ b/arch/mips/ralink/rt288x.c 
    32 @@ -136,4 +136,8 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     28@@ -136,4 +136,8 @@ void prom_soc_init(struct ralink_soc_inf 
    3329                name, 
    3430                (id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK, 
     
    3935+       soc_info->mem_size_max = RT2880_MEM_SIZE_MAX; 
    4036 } 
    41 --  
    42 1.7.10.4 
    43  
  • trunk/target/linux/ramips/patches-3.9/0125-MIPS-ralink-add-memory-definition-for-RT3883.patch

    r37016 r37103  
    1313 2 files changed, 9 insertions(+) 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-ralink/rt3883.h b/arch/mips/include/asm/mach-ralink/rt3883.h 
    16 index b91c6c1..058382f 100644 
    1715--- a/arch/mips/include/asm/mach-ralink/rt3883.h 
    1816+++ b/arch/mips/include/asm/mach-ralink/rt3883.h 
     
    3432+ 
    3533 #endif /* _RT3883_REGS_H_ */ 
    36 diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c 
    37 index 2d90aa9..afbf2ce 100644 
    3834--- a/arch/mips/ralink/rt3883.c 
    3935+++ b/arch/mips/ralink/rt3883.c 
    40 @@ -239,4 +239,8 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     36@@ -239,4 +239,8 @@ void prom_soc_init(struct ralink_soc_inf 
    4137                name, 
    4238                (id >> RT3883_REVID_VER_ID_SHIFT) & RT3883_REVID_VER_ID_MASK, 
     
    4743+       soc_info->mem_size_max = RT3883_MEM_SIZE_MAX; 
    4844 } 
    49 --  
    50 1.7.10.4 
    51  
  • trunk/target/linux/ramips/patches-3.9/0126-MIPS-ralink-add-memory-definition-for-MT7620.patch

    r37016 r37103  
    1313 2 files changed, 28 insertions(+) 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-ralink/mt7620.h b/arch/mips/include/asm/mach-ralink/mt7620.h 
    16 index b272649..9809972 100644 
    1715--- a/arch/mips/include/asm/mach-ralink/mt7620.h 
    1816+++ b/arch/mips/include/asm/mach-ralink/mt7620.h 
     
    3230 #define MT7620_GPIO_MODE_UART0_SHIFT   2 
    3331 #define MT7620_GPIO_MODE_UART0_MASK    0x7 
    34 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    35 index eb00ab8..98ddb93 100644 
    3632--- a/arch/mips/ralink/mt7620.c 
    3733+++ b/arch/mips/ralink/mt7620.c 
    38 @@ -211,4 +211,24 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     34@@ -211,4 +211,24 @@ void prom_soc_init(struct ralink_soc_inf 
    3935  
    4036        cfg0 = __raw_readl(sysc + SYSC_REG_SYSTEM_CONFIG0); 
     
    6157+       soc_info->mem_base = MT7620_DRAM_BASE; 
    6258 } 
    63 --  
    64 1.7.10.4 
    65  
  • trunk/target/linux/ramips/patches-3.9/0127-MIPS-ralink-make-use-of-the-new-memory-detection-cod.patch

    r37016 r37103  
    1414 1 file changed, 9 insertions(+) 
    1515 
    16 diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
    17 index 4165e70..fb15695 100644 
    1816--- a/arch/mips/ralink/of.c 
    1917+++ b/arch/mips/ralink/of.c 
     
    4139  
    4240 static int __init plat_of_setup(void) 
    43 --  
    44 1.7.10.4 
    45  
  • trunk/target/linux/ramips/patches-3.9/0128-MIPS-ralink-upstream-v3.10.patch

    r37016 r37103  
    1212 create mode 100644 dummy 
    1313 
    14 diff --git a/dummy b/dummy 
    15 new file mode 100644 
    16 index 0000000..421376d 
    1714--- /dev/null 
    1815+++ b/dummy 
    1916@@ -0,0 +1 @@ 
    2017+dummy 
    21 --  
    22 1.7.10.4 
    23  
  • trunk/target/linux/ramips/patches-3.9/0129-MIPS-ralink-add-pinmux-driver.patch

    r37016 r37103  
    1717 create mode 100644 arch/mips/ralink/pinmux.c 
    1818 
    19 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    20 index 38cf1a8..341b4de 100644 
    2119--- a/arch/mips/ralink/Makefile 
    2220+++ b/arch/mips/ralink/Makefile 
     
    3028 obj-$(CONFIG_SOC_RT288X) += rt288x.o 
    3129 obj-$(CONFIG_SOC_RT305X) += rt305x.o 
    32 diff --git a/arch/mips/ralink/common.h b/arch/mips/ralink/common.h 
    33 index 83144c3..f113fd6 100644 
    3430--- a/arch/mips/ralink/common.h 
    3531+++ b/arch/mips/ralink/common.h 
    36 @@ -50,4 +50,6 @@ extern void prom_soc_init(struct ralink_soc_info *soc_info); 
     32@@ -50,4 +50,6 @@ extern void prom_soc_init(struct ralink_ 
    3733  
    3834 __iomem void *plat_of_remap_node(const char *node); 
     
    4137+ 
    4238 #endif /* _RALINK_COMMON_H__ */ 
    43 diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
    44 index fb15695..f916774 100644 
    4539--- a/arch/mips/ralink/of.c 
    4640+++ b/arch/mips/ralink/of.c 
     
    5448 } 
    5549  
    56 diff --git a/arch/mips/ralink/pinmux.c b/arch/mips/ralink/pinmux.c 
    57 new file mode 100644 
    58 index 0000000..1720216 
    5950--- /dev/null 
    6051+++ b/arch/mips/ralink/pinmux.c 
     
    137128+       rt_sysc_w32(mode, SYSC_REG_GPIO_MODE); 
    138129+} 
    139 --  
    140 1.7.10.4 
    141  
  • trunk/target/linux/ramips/patches-3.9/0130-MIPS-ralink-add-support-for-periodic-timer-irq.patch

    r37016 r37103  
    1313 create mode 100644 arch/mips/ralink/timer.c 
    1414 
    15 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    16 index 341b4de..cae7d88 100644 
    1715--- a/arch/mips/ralink/Makefile 
    1816+++ b/arch/mips/ralink/Makefile 
     
    2624 obj-$(CONFIG_SOC_RT288X) += rt288x.o 
    2725 obj-$(CONFIG_SOC_RT305X) += rt305x.o 
    28 diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c 
    29 new file mode 100644 
    30 index 0000000..0a6856c 
    3126--- /dev/null 
    3227+++ b/arch/mips/ralink/timer.c 
     
    224219+MODULE_AUTHOR("John Crispin <blogic@openwrt.org"); 
    225220+MODULE_LICENSE("GPL"); 
    226 --  
    227 1.7.10.4 
    228  
  • trunk/target/linux/ramips/patches-3.9/0131-MIPS-ralink-add-rt_sysc_m32-helper.patch

    r37016 r37103  
    99 1 file changed, 7 insertions(+) 
    1010 
    11 diff --git a/arch/mips/include/asm/mach-ralink/ralink_regs.h b/arch/mips/include/asm/mach-ralink/ralink_regs.h 
    12 index 5a508f9..bd93014 100644 
    1311--- a/arch/mips/include/asm/mach-ralink/ralink_regs.h 
    1412+++ b/arch/mips/include/asm/mach-ralink/ralink_regs.h 
    15 @@ -26,6 +26,13 @@ static inline u32 rt_sysc_r32(unsigned reg) 
     13@@ -26,6 +26,13 @@ static inline u32 rt_sysc_r32(unsigned r 
    1614        return __raw_readl(rt_sysc_membase + reg); 
    1715 } 
     
    2725 { 
    2826        __raw_writel(val, rt_memc_membase + reg); 
    29 --  
    30 1.7.10.4 
    31  
  • trunk/target/linux/ramips/patches-3.9/0132-MIPS-ralink-make-mt7620-ram-detect-verbose.patch

    r37016 r37103  
    1111 1 file changed, 3 insertions(+) 
    1212 
    13 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    14 index 98ddb93..28350d0 100644 
    1513--- a/arch/mips/ralink/mt7620.c 
    1614+++ b/arch/mips/ralink/mt7620.c 
    17 @@ -214,16 +214,19 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     15@@ -214,16 +214,19 @@ void prom_soc_init(struct ralink_soc_inf 
    1816  
    1917        switch (dram_type) { 
     
    3533                soc_info->mem_size_max = MT7620_DDR2_SIZE_MAX; 
    3634                break; 
    37 --  
    38 1.7.10.4 
    39  
  • trunk/target/linux/ramips/patches-3.9/0133-MIPS-ralink-add-verbose-pmu-info.patch

    r37016 r37103  
    1111 1 file changed, 26 insertions(+) 
    1212 
    13 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    14 index 28350d0..69729a5 100644 
    1513--- a/arch/mips/ralink/mt7620.c 
    1614+++ b/arch/mips/ralink/mt7620.c 
     
    3836 static int dram_type; 
    3937  
    40 @@ -187,6 +203,8 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     38@@ -187,6 +203,8 @@ void prom_soc_init(struct ralink_soc_inf 
    4139        u32 n1; 
    4240        u32 rev; 
     
    4745        n0 = __raw_readl(sysc + SYSC_REG_CHIP_NAME0); 
    4846        n1 = __raw_readl(sysc + SYSC_REG_CHIP_NAME1); 
    49 @@ -234,4 +252,12 @@ void prom_soc_init(struct ralink_soc_info *soc_info) 
     47@@ -234,4 +252,12 @@ void prom_soc_init(struct ralink_soc_inf 
    5048                BUG(); 
    5149        } 
     
    6058+               (pmu1 & DIG_SW_SEL) ? ("sw") : ("hw")); 
    6159 } 
    62 --  
    63 1.7.10.4 
    64  
  • trunk/target/linux/ramips/patches-3.9/0134-MIPS-ralink-adds-a-bootrom-dumper-module.patch

    r37016 r37103  
    1414 create mode 100644 arch/mips/ralink/bootrom.c 
    1515 
    16 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    17 index cae7d88..5fa6129 100644 
    1816--- a/arch/mips/ralink/Makefile 
    1917+++ b/arch/mips/ralink/Makefile 
     
    2523+ 
    2624 obj-y += dts/ 
    27 diff --git a/arch/mips/ralink/bootrom.c b/arch/mips/ralink/bootrom.c 
    28 new file mode 100644 
    29 index 0000000..f926f6f 
    3025--- /dev/null 
    3126+++ b/arch/mips/ralink/bootrom.c 
     
    7974+ 
    8075+postcore_initcall(bootrom_setup); 
    81 --  
    82 1.7.10.4 
    83  
  • trunk/target/linux/ramips/patches-3.9/0135-MIPS-ralink-add-missing-SZ_1M-multiplier.patch

    r37016 r37103  
    1212 1 file changed, 1 insertion(+), 1 deletion(-) 
    1313 
    14 diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
    15 index f916774..b25c1f2 100644 
    1614--- a/arch/mips/ralink/of.c 
    1715+++ b/arch/mips/ralink/of.c 
     
    2523        else 
    2624                detect_memory_region(soc_info.mem_base, 
    27 --  
    28 1.7.10.4 
    29  
  • trunk/target/linux/ramips/patches-3.9/0136-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch

    r37016 r37103  
    1010 1 file changed, 26 insertions(+), 13 deletions(-) 
    1111 
    12 diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c 
    13 index 07b847d..d5d94e5 100644 
    1412--- a/arch/mips/kernel/cevt-r4k.c 
    1513+++ b/arch/mips/kernel/cevt-r4k.c 
    16 @@ -39,12 +39,6 @@ static int mips_next_event(unsigned long delta, 
     14@@ -39,12 +39,6 @@ static int mips_next_event(unsigned long 
    1715  
    1816 #endif /* CONFIG_MIPS_MT_SMTC */ 
     
    2725 int cp0_timer_irq_installed; 
    2826  
    29 @@ -89,6 +83,32 @@ struct irqaction c0_compare_irqaction = { 
     27@@ -89,6 +83,32 @@ struct irqaction c0_compare_irqaction = 
    3028        .name = "timer", 
    3129 }; 
     
    7472 } 
    7573  
    76 --  
    77 1.7.10.4 
    78  
  • trunk/target/linux/ramips/patches-3.9/0137-MIPS-ralink-add-illegal-access-driver.patch

    r37016 r37103  
    1111 create mode 100644 arch/mips/ralink/ill_acc.c 
    1212 
    13 diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile 
    14 index 5fa6129..55a5bfc 100644 
    1513--- a/arch/mips/ralink/Makefile 
    1614+++ b/arch/mips/ralink/Makefile 
     
    2422 obj-$(CONFIG_SOC_RT288X) += rt288x.o 
    2523 obj-$(CONFIG_SOC_RT305X) += rt305x.o 
    26 diff --git a/arch/mips/ralink/ill_acc.c b/arch/mips/ralink/ill_acc.c 
    27 new file mode 100644 
    28 index 0000000..4a3f696 
    2924--- /dev/null 
    3025+++ b/arch/mips/ralink/ill_acc.c 
     
    117112+ 
    118113+arch_initcall(ill_acc_of_setup); 
    119 --  
    120 1.7.10.4 
    121  
  • trunk/target/linux/ramips/patches-3.9/0138-MIPS-ralink-workaround-DTB-memory-issue.patch

    r37016 r37103  
    1212 1 file changed, 1 insertion(+), 1 deletion(-) 
    1313 
    14 diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
    15 index b25c1f2..8efb02b 100644 
    1614--- a/arch/mips/ralink/of.c 
    1715+++ b/arch/mips/ralink/of.c 
     
    2523  
    2624 void __init plat_mem_setup(void) 
    27 --  
    28 1.7.10.4 
    29  
  • trunk/target/linux/ramips/patches-3.9/0139-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch

    r37016 r37103  
    99 1 file changed, 1 insertion(+) 
    1010 
    11 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    12 index 69729a5..08c96db6 100644 
    1311--- a/arch/mips/ralink/mt7620.c 
    1412+++ b/arch/mips/ralink/mt7620.c 
     
    2119 } 
    2220  
    23 --  
    24 1.7.10.4 
    25  
  • trunk/target/linux/ramips/patches-3.9/0140-MIPS-ralink-DTS-file-updates.patch

    r37016 r37103  
    2222 create mode 100644 arch/mips/ralink/dts/rt5350_eval.dts 
    2323 
    24 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    25 index 026e823..38540a4 100644 
    2624--- a/arch/mips/ralink/Kconfig 
    2725+++ b/arch/mips/ralink/Kconfig 
     
    4846  
    4947 endif 
    50 diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile 
    51 index 18194fa..0bd12b5 100644 
    5248--- a/arch/mips/ralink/dts/Makefile 
    5349+++ b/arch/mips/ralink/dts/Makefile 
     
    5955 obj-$(CONFIG_DTB_MT7620A_EVAL) := mt7620a_eval.dtb.o 
    6056+obj-$(CONFIG_DTB_MT7620A_MT7610E_EVAL) := mt7620a_mt7610e_eval.dtb.o 
    61 diff --git a/arch/mips/ralink/dts/mt7620a.dtsi b/arch/mips/ralink/dts/mt7620a.dtsi 
    62 index 08bf24f..104abfb 100644 
    6357--- a/arch/mips/ralink/dts/mt7620a.dtsi 
    6458+++ b/arch/mips/ralink/dts/mt7620a.dtsi 
     
    332326        }; 
    333327 }; 
    334 diff --git a/arch/mips/ralink/dts/mt7620a_eval.dts b/arch/mips/ralink/dts/mt7620a_eval.dts 
    335 index 35eb874..b56f449 100644 
    336328--- a/arch/mips/ralink/dts/mt7620a_eval.dts 
    337329+++ b/arch/mips/ralink/dts/mt7620a_eval.dts 
     
    452444+       }; 
    453445 }; 
    454 diff --git a/arch/mips/ralink/dts/mt7620a_mt7610e_eval.dts b/arch/mips/ralink/dts/mt7620a_mt7610e_eval.dts 
    455 new file mode 100644 
    456 index 0000000..0d7755b 
    457446--- /dev/null 
    458447+++ b/arch/mips/ralink/dts/mt7620a_mt7610e_eval.dts 
     
    557546+       }; 
    558547+}; 
    559 diff --git a/arch/mips/ralink/dts/rt2880.dtsi b/arch/mips/ralink/dts/rt2880.dtsi 
    560 index 182afde..2a34b8d 100644 
    561548--- a/arch/mips/ralink/dts/rt2880.dtsi 
    562549+++ b/arch/mips/ralink/dts/rt2880.dtsi 
     
    583570+       }; 
    584571 }; 
    585 diff --git a/arch/mips/ralink/dts/rt2880_eval.dts b/arch/mips/ralink/dts/rt2880_eval.dts 
    586 index 322d700..58a1edf 100644 
    587572--- a/arch/mips/ralink/dts/rt2880_eval.dts 
    588573+++ b/arch/mips/ralink/dts/rt2880_eval.dts 
     
    598583+       }; 
    599584 }; 
    600 diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi 
    601 index ef7da1e..b1ac940 100644 
    602585--- a/arch/mips/ralink/dts/rt3050.dtsi 
    603586+++ b/arch/mips/ralink/dts/rt3050.dtsi 
     
    652635+       }; 
    653636 }; 
    654 diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts 
    655 index df17f5f..df02957 100644 
    656637--- a/arch/mips/ralink/dts/rt3052_eval.dts 
    657638+++ b/arch/mips/ralink/dts/rt3052_eval.dts 
     
    694675+       }; 
    695676 }; 
    696 diff --git a/arch/mips/ralink/dts/rt5350.dtsi b/arch/mips/ralink/dts/rt5350.dtsi 
    697 new file mode 100644 
    698 index 0000000..3d6b3bc 
    699677--- /dev/null 
    700678+++ b/arch/mips/ralink/dts/rt5350.dtsi 
     
    927905+       }; 
    928906+}; 
    929 diff --git a/arch/mips/ralink/dts/rt5350_eval.dts b/arch/mips/ralink/dts/rt5350_eval.dts 
    930 new file mode 100644 
    931 index 0000000..ab92043 
    932907--- /dev/null 
    933908+++ b/arch/mips/ralink/dts/rt5350_eval.dts 
     
    1002977+       }; 
    1003978+}; 
    1004 --  
    1005 1.7.10.4 
    1006  
  • trunk/target/linux/ramips/patches-3.9/0141-clocksource-make-clocksource_of_init-pass-a-device_n.patch

    r37016 r37103  
    1818 4 files changed, 5 insertions(+), 39 deletions(-) 
    1919 
    20 diff --git a/drivers/clocksource/bcm2835_timer.c b/drivers/clocksource/bcm2835_timer.c 
    21 index 50c68fe..766611d 100644 
    2220--- a/drivers/clocksource/bcm2835_timer.c 
    2321+++ b/drivers/clocksource/bcm2835_timer.c 
    24 @@ -95,23 +95,13 @@ static irqreturn_t bcm2835_time_interrupt(int irq, void *dev_id) 
     22@@ -95,23 +95,13 @@ static irqreturn_t bcm2835_time_interrup 
    2523        } 
    2624 } 
     
    4745        if (!base) 
    4846                panic("Can't remap registers"); 
    49 diff --git a/drivers/clocksource/clksrc-of.c b/drivers/clocksource/clksrc-of.c 
    50 index bdabdaa..3ef11fb 100644 
    5147--- a/drivers/clocksource/clksrc-of.c 
    5248+++ b/drivers/clocksource/clksrc-of.c 
     
    6460        } 
    6561 } 
    66 diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c 
    67 index 0bde03f..e698d8e 100644 
    6862--- a/drivers/clocksource/tegra20_timer.c 
    6963+++ b/drivers/clocksource/tegra20_timer.c 
    70 @@ -154,29 +154,17 @@ static struct irqaction tegra_timer_irq = { 
     64@@ -154,29 +154,17 @@ static struct irqaction tegra_timer_irq 
    7165        .dev_id         = &tegra_clockevent, 
    7266 }; 
     
    9993        if (!timer_reg_base) { 
    10094                pr_err("Can't map timer registers\n"); 
    101 diff --git a/drivers/clocksource/vt8500_timer.c b/drivers/clocksource/vt8500_timer.c 
    102 index 8efc86b..2422552 100644 
    10395--- a/drivers/clocksource/vt8500_timer.c 
    10496+++ b/drivers/clocksource/vt8500_timer.c 
     
    127119        if (!regbase) { 
    128120                pr_err("%s: Missing iobase description in Device Tree\n", 
    129 --  
    130 1.7.10.4 
    131  
  • trunk/target/linux/ramips/patches-3.9/0142-clocksource-MIPS-ralink-add-support-for-systick-time.patch

    r37016 r37103  
    1616 create mode 100644 drivers/clocksource/cevt-rt3352.c 
    1717 
    18 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    19 index 38540a4..3fe032c 100644 
    2018--- a/arch/mips/ralink/Kconfig 
    2119+++ b/arch/mips/ralink/Kconfig 
     
    3634 endchoice 
    3735  
    38 diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c 
    39 index 8dfa22f..bba0cdf 100644 
    4036--- a/arch/mips/ralink/clk.c 
    4137+++ b/arch/mips/ralink/clk.c 
     
    4642+       clocksource_of_init(); 
    4743 } 
    48 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig 
    49 index e507ab7..1216c16 100644 
    5044--- a/drivers/clocksource/Kconfig 
    5145+++ b/drivers/clocksource/Kconfig 
     
    6357        bool 
    6458  
    65 diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile 
    66 index 4d8283a..db47a4e 100644 
    6759--- a/drivers/clocksource/Makefile 
    6860+++ b/drivers/clocksource/Makefile 
     
    7567 obj-$(CONFIG_DW_APB_TIMER_OF)  += dw_apb_timer_of.o 
    7668 obj-$(CONFIG_CLKSRC_NOMADIK_MTU)       += nomadik-mtu.o 
    77 diff --git a/drivers/clocksource/cevt-rt3352.c b/drivers/clocksource/cevt-rt3352.c 
    78 new file mode 100644 
    79 index 0000000..bd50edd 
    8069--- /dev/null 
    8170+++ b/drivers/clocksource/cevt-rt3352.c 
     
    243232+ 
    244233+CLOCKSOURCE_OF_DECLARE(systick, "ralink,cevt-systick", ralink_systick_init); 
    245 diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h 
    246 index 27cfda4..08ed5e1 100644 
    247234--- a/include/linux/clocksource.h 
    248235+++ b/include/linux/clocksource.h 
     
    255242 #endif 
    256243  
    257 --  
    258 1.7.10.4 
    259  
  • trunk/target/linux/ramips/patches-3.9/0143-GPIO-MIPS-ralink-adds-ralink-gpio-support.patch

    r37016 r37103  
    1818 create mode 100644 drivers/gpio/gpio-ralink.c 
    1919 
    20 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    21 index e4da4f8..b237c50 100644 
    2220--- a/arch/mips/Kconfig 
    2321+++ b/arch/mips/Kconfig 
     
    3028 config SGI_IP22 
    3129        bool "SGI IP22 (Indy/Indigo2)" 
    32 diff --git a/arch/mips/include/asm/mach-ralink/gpio.h b/arch/mips/include/asm/mach-ralink/gpio.h 
    33 new file mode 100644 
    34 index 0000000..f68ee16 
    3530--- /dev/null 
    3631+++ b/arch/mips/include/asm/mach-ralink/gpio.h 
     
    6055+ 
    6156+#endif /* __ASM_MACH_RALINK_GPIO_H */ 
    62 diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig 
    63 index 93aaadf..29add97 100644 
    6457--- a/drivers/gpio/Kconfig 
    6558+++ b/drivers/gpio/Kconfig 
     
    7770        bool "ST SPEAr13xx SPI Chip Select as GPIO support" 
    7871        depends on PLAT_SPEAR 
    79 diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile 
    80 index 22e07bc..f7b6603 100644 
    8172--- a/drivers/gpio/Makefile 
    8273+++ b/drivers/gpio/Makefile 
    83 @@ -55,6 +55,7 @@ obj-$(CONFIG_GPIO_PCF857X)    += gpio-pcf857x.o 
     74@@ -55,6 +55,7 @@ obj-$(CONFIG_GPIO_PCF857X)    += gpio-pcf85 
    8475 obj-$(CONFIG_GPIO_PCH)         += gpio-pch.o 
    8576 obj-$(CONFIG_GPIO_PL061)       += gpio-pl061.o 
     
    8980 obj-$(CONFIG_GPIO_RDC321X)     += gpio-rdc321x.o 
    9081 obj-$(CONFIG_PLAT_SAMSUNG)     += gpio-samsung.o 
    91 diff --git a/drivers/gpio/gpio-ralink.c b/drivers/gpio/gpio-ralink.c 
    92 new file mode 100644 
    93 index 0000000..12984f1 
    9482--- /dev/null 
    9583+++ b/drivers/gpio/gpio-ralink.c 
     
    421409+ 
    422410+subsys_initcall(ralink_gpio_init); 
    423 --  
    424 1.7.10.4 
    425  
  • trunk/target/linux/ramips/patches-3.9/0144-SPI-ralink-add-Ralink-SoC-spi-driver.patch

    r37016 r37103  
    1414 create mode 100644 drivers/spi/spi-ralink.c 
    1515 
    16 diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
    17 index 2be0de9..a7de751 100644 
    1816--- a/drivers/spi/Kconfig 
    1917+++ b/drivers/spi/Kconfig 
    20 @@ -327,6 +327,12 @@ config SPI_RSPI 
     18@@ -336,6 +336,12 @@ config SPI_RSPI 
    2119        help 
    2220          SPI driver for Renesas RSPI blocks. 
     
    3129        tristate "Samsung S3C24XX series SPI" 
    3230        depends on ARCH_S3C24XX 
    33 diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
    34 index e53c309..a4b3c5b 100644 
    3531--- a/drivers/spi/Makefile 
    3632+++ b/drivers/spi/Makefile 
    37 @@ -53,6 +53,7 @@ spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_DMA)  += spi-pxa2xx-dma.o 
     33@@ -54,6 +54,7 @@ spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_ 
    3834 obj-$(CONFIG_SPI_PXA2XX)               += spi-pxa2xx-platform.o 
    3935 obj-$(CONFIG_SPI_PXA2XX_PCI)           += spi-pxa2xx-pci.o 
     
    4339 spi-s3c24xx-hw-y                       := spi-s3c24xx.o 
    4440 spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o 
    45 diff --git a/drivers/spi/spi-ralink.c b/drivers/spi/spi-ralink.c 
    46 new file mode 100644 
    47 index 0000000..b07cbaa 
    4841--- /dev/null 
    4942+++ b/drivers/spi/spi-ralink.c 
     
    524517+MODULE_AUTHOR("Gabor Juhos <juhosg@openwrt.org>"); 
    525518+MODULE_LICENSE("GPL"); 
    526 --  
    527 1.7.10.4 
    528  
  • trunk/target/linux/ramips/patches-3.9/0145-serial-of-allow-au1x00-and-rt288x-to-load-from-OF.patch

    r37016 r37103  
    1212 1 file changed, 4 insertions(+), 1 deletion(-) 
    1313 
    14 diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c 
    15 index b025d54..42f8550 100644 
    1614--- a/drivers/tty/serial/of_serial.c 
    1715+++ b/drivers/tty/serial/of_serial.c 
    18 @@ -98,7 +98,10 @@ static int of_platform_serial_setup(struct platform_device *ofdev, 
     16@@ -98,7 +98,10 @@ static int of_platform_serial_setup(stru 
    1917                port->regshift = prop; 
    2018  
     
    2826                switch (prop) { 
    2927                case 1: 
    30 --  
    31 1.7.10.4 
    32  
  • trunk/target/linux/ramips/patches-3.9/0146-serial-ralink-adds-mt7620-serial.patch

    r37016 r37103  
    1111 1 file changed, 1 insertion(+), 1 deletion(-) 
    1212 
    13 diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig 
    14 index 80fe91e..f6d6820 100644 
    1513--- a/drivers/tty/serial/8250/Kconfig 
    1614+++ b/drivers/tty/serial/8250/Kconfig 
     
    2422          If you have a Ralink RT288x/RT305x SoC based board and want to use the 
    2523          serial port, say Y to this option. The driver can handle up to 2 serial 
    26 --  
    27 1.7.10.4 
    28  
  • trunk/target/linux/ramips/patches-3.9/0147-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch

    r37016 r37103  
    1414 create mode 100644 drivers/mmc/host/sdhci-mt7620.c 
    1515 
    16 diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig 
    17 index d88219e..aa47e64 100644 
    1816--- a/drivers/mmc/host/Kconfig 
    1917+++ b/drivers/mmc/host/Kconfig 
     
    3634        tristate "TI OMAP Multimedia Card Interface support" 
    3735        depends on ARCH_OMAP 
    38 diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile 
    39 index c380e3c..3b81db4 100644 
    4036--- a/drivers/mmc/host/Makefile 
    4137+++ b/drivers/mmc/host/Makefile 
    42 @@ -60,6 +60,7 @@ obj-$(CONFIG_MMC_SDHCI_TEGRA)         += sdhci-tegra.o 
     38@@ -61,6 +61,7 @@ obj-$(CONFIG_MMC_SDHCI_TEGRA)         += sdhci- 
    4339 obj-$(CONFIG_MMC_SDHCI_OF_ESDHC)       += sdhci-of-esdhc.o 
    4440 obj-$(CONFIG_MMC_SDHCI_OF_HLWD)                += sdhci-of-hlwd.o 
     
    4844 ifeq ($(CONFIG_CB710_DEBUG),y) 
    4945        CFLAGS-cb710-mmc        += -DDEBUG 
    50 diff --git a/drivers/mmc/host/mt6575_sd.h b/drivers/mmc/host/mt6575_sd.h 
    51 new file mode 100644 
    52 index 0000000..406382c 
    5346--- /dev/null 
    5447+++ b/drivers/mmc/host/mt6575_sd.h 
     
    11221115+#endif 
    11231116+ 
    1124 diff --git a/drivers/mmc/host/sdhci-mt7620.c b/drivers/mmc/host/sdhci-mt7620.c 
    1125 new file mode 100644 
    1126 index 0000000..a3cb5e4 
    11271117--- /dev/null 
    11281118+++ b/drivers/mmc/host/sdhci-mt7620.c 
     
    34423432+ 
    34433433+EXPORT_SYMBOL(msdc_6575_host); 
    3444 --  
    3445 1.7.10.4 
    3446  
  • trunk/target/linux/ramips/patches-3.9/0148-DMA-MIPS-ralink-add-dmaengine-driver.patch

    r37016 r37103  
    1414 create mode 100644 drivers/dma/ralink_gdma.h 
    1515 
    16 diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig 
    17 index aeaea32..751cdc4 100644 
    1816--- a/drivers/dma/Kconfig 
    1917+++ b/drivers/dma/Kconfig 
     
    3230        bool 
    3331  
    34 diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile 
    35 index 488e3ff..f69e07e 100644 
    3632--- a/drivers/dma/Makefile 
    3733+++ b/drivers/dma/Makefile 
     
    4137 obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o 
    4238+obj-$(CONFIG_RALINK_GDMA) += ralink_gdma.o 
    43 diff --git a/drivers/dma/ralink_gdma.c b/drivers/dma/ralink_gdma.c 
    44 new file mode 100644 
    45 index 0000000..be7c317 
    4639--- /dev/null 
    4740+++ b/drivers/dma/ralink_gdma.c 
     
    276269+MODULE_DESCRIPTION("DMA engine driver for Ralink DMA engine"); 
    277270+MODULE_LICENSE("GPL"); 
    278 diff --git a/drivers/dma/ralink_gdma.h b/drivers/dma/ralink_gdma.h 
    279 new file mode 100644 
    280 index 0000000..73e1948 
    281271--- /dev/null 
    282272+++ b/drivers/dma/ralink_gdma.h 
     
    337327+ 
    338328+#endif 
    339 --  
    340 1.7.10.4 
    341  
  • trunk/target/linux/ramips/patches-3.9/0149-PCI-MIPS-adds-rt2880-pci-support.patch

    r37016 r37103  
    1414 create mode 100644 arch/mips/pci/pci-rt2880.c 
    1515 
    16 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    17 index 2cb1d31..77974ba 100644 
    1816--- a/arch/mips/pci/Makefile 
    1917+++ b/arch/mips/pci/Makefile 
    20 @@ -41,6 +41,7 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o 
     18@@ -41,6 +41,7 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1 
    2119 obj-$(CONFIG_SNI_RM)           += fixup-sni.o ops-sni.o 
    2220 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
     
    2624 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    2725 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    28 diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c 
    29 new file mode 100644 
    30 index 0000000..e2c4730 
    3126--- /dev/null 
    3227+++ b/arch/mips/pci/pci-rt2880.c 
     
    313308+ 
    314309+arch_initcall(pcibios_init); 
    315 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    316 index 3fe032c..c0ac93a 100644 
    317310--- a/arch/mips/ralink/Kconfig 
    318311+++ b/arch/mips/ralink/Kconfig 
     
    325318        config SOC_RT305X 
    326319                bool "RT305x" 
    327 --  
    328 1.7.10.4 
    329  
  • trunk/target/linux/ramips/patches-3.9/0150-PCI-MIPS-adds-rt3883-pci-support.patch

    r37016 r37103  
    1414 create mode 100644 arch/mips/pci/pci-rt3883.c 
    1515 
    16 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    17 index 77974ba..3cbfd9b 100644 
    1816--- a/arch/mips/pci/Makefile 
    1917+++ b/arch/mips/pci/Makefile 
    20 @@ -42,6 +42,7 @@ obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o 
     18@@ -42,6 +42,7 @@ obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops 
    2119 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
    2220 obj-$(CONFIG_PCI_LANTIQ)       += pci-lantiq.o ops-lantiq.o 
     
    2624 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    2725 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    28 diff --git a/arch/mips/pci/pci-rt3883.c b/arch/mips/pci/pci-rt3883.c 
    29 new file mode 100644 
    30 index 0000000..212c90b 
    3126--- /dev/null 
    3227+++ b/arch/mips/pci/pci-rt3883.c 
     
    672667+ 
    673668+postcore_initcall(rt3883_pci_init); 
    674 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    675 index c0ac93a..2fbe93c 100644 
    676669--- a/arch/mips/ralink/Kconfig 
    677670+++ b/arch/mips/ralink/Kconfig 
     
    684677        config SOC_MT7620 
    685678                bool "MT7620" 
    686 --  
    687 1.7.10.4 
    688  
  • trunk/target/linux/ramips/patches-3.9/0151-PCI-MIPS-adds-mt7620a-pcie-driver.patch

    r37016 r37103  
    1212 create mode 100644 arch/mips/pci/pci-mt7620a.c 
    1313 
    14 diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
    15 index 3cbfd9b..025d3a7 100644 
    1614--- a/arch/mips/pci/Makefile 
    1715+++ b/arch/mips/pci/Makefile 
     
    2422 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    2523 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
    26 diff --git a/arch/mips/pci/pci-mt7620a.c b/arch/mips/pci/pci-mt7620a.c 
    27 new file mode 100644 
    28 index 0000000..271763c 
    2924--- /dev/null 
    3025+++ b/arch/mips/pci/pci-mt7620a.c 
     
    393388+ 
    394389+arch_initcall(mt7620a_pci_init); 
    395 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    396 index 2fbe93c..c8d5b6c 100644 
    397390--- a/arch/mips/ralink/Kconfig 
    398391+++ b/arch/mips/ralink/Kconfig 
     
    405398 endchoice 
    406399  
    407 --  
    408 1.7.10.4 
    409  
  • trunk/target/linux/ramips/patches-3.9/0152-watchdog-adds-ralink-wdt.patch

    r37016 r37103  
    1515 create mode 100644 drivers/watchdog/rt2880_wdt.c 
    1616 
    17 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    18 index 08c96db6..4956d96 100644 
    1917--- a/arch/mips/ralink/mt7620.c 
    2018+++ b/arch/mips/ralink/mt7620.c 
     
    2725        ralink_clk_add("10000b00.spi", 40000000); 
    2826        ralink_clk_add("10000c00.uartlite", 40000000); 
    29 diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig 
    30 index e89fc31..5e34760 100644 
    3127--- a/drivers/watchdog/Kconfig 
    3228+++ b/drivers/watchdog/Kconfig 
     
    4541  
    4642 # POWERPC Architecture 
    47 diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile 
    48 index a300b94..2681e3d 100644 
    4943--- a/drivers/watchdog/Makefile 
    5044+++ b/drivers/watchdog/Makefile 
     
    5751 # PARISC Architecture 
    5852  
    59 diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c 
    60 new file mode 100644 
    61 index 0000000..3df65a4 
    6253--- /dev/null 
    6354+++ b/drivers/watchdog/rt2880_wdt.c 
     
    270261+MODULE_LICENSE("GPL v2"); 
    271262+MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); 
    272 --  
    273 1.7.10.4 
    274  
  • trunk/target/linux/ramips/patches-3.9/0153-i2c-MIPS-adds-ralink-I2C-driver.patch

    r37016 r37103  
    1414 create mode 100644 drivers/i2c/busses/i2c-ralink.c 
    1515 
    16 diff --git a/Documentation/devicetree/bindings/i2c/i2c-ralink.txt b/Documentation/devicetree/bindings/i2c/i2c-ralink.txt 
    17 new file mode 100644 
    18 index 0000000..8fa8ac3 
    1916--- /dev/null 
    2017+++ b/Documentation/devicetree/bindings/i2c/i2c-ralink.txt 
     
    4744+       }; 
    4845+}; 
    49 diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig 
    50 index adfee98..ec925ae 100644 
    5146--- a/drivers/i2c/busses/Kconfig 
    5247+++ b/drivers/i2c/busses/Kconfig 
     
    6257        bool 
    6358        help 
    64 diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile 
    65 index 8f4fc23..7e39a13 100644 
    6659--- a/drivers/i2c/busses/Makefile 
    6760+++ b/drivers/i2c/busses/Makefile 
     
    7467 obj-$(CONFIG_I2C_S6000)                += i2c-s6000.o 
    7568 obj-$(CONFIG_I2C_SH7760)       += i2c-sh7760.o 
    76 diff --git a/drivers/i2c/busses/i2c-ralink.c b/drivers/i2c/busses/i2c-ralink.c 
    77 new file mode 100644 
    78 index 0000000..b5abf0f 
    7969--- /dev/null 
    8070+++ b/drivers/i2c/busses/i2c-ralink.c 
     
    354344+MODULE_LICENSE("GPL"); 
    355345+MODULE_ALIAS("platform:Ralink-I2C"); 
    356 --  
    357 1.7.10.4 
    358  
  • trunk/target/linux/ramips/patches-3.9/0154-reset-Add-reset-controller-API.patch

    r37016 r37103  
    3535 create mode 100644 include/linux/reset.h 
    3636 
    37 diff --git a/Documentation/devicetree/bindings/reset/reset.txt b/Documentation/devicetree/bindings/reset/reset.txt 
    38 new file mode 100644 
    39 index 0000000..31db6ff 
    4037--- /dev/null 
    4138+++ b/Documentation/devicetree/bindings/reset/reset.txt 
     
    116113+ordinate devices. Consider for example a bus that fails to operate unless no 
    117114+child device has reset asserted. 
    118 diff --git a/drivers/Kconfig b/drivers/Kconfig 
    119 index 202fa6d..847f8e3 100644 
    120115--- a/drivers/Kconfig 
    121116+++ b/drivers/Kconfig 
    122 @@ -162,4 +162,6 @@ source "drivers/irqchip/Kconfig" 
     117@@ -164,4 +164,6 @@ source "drivers/irqchip/Kconfig" 
    123118  
    124119 source "drivers/ipack/Kconfig" 
     
    127122+ 
    128123 endmenu 
    129 diff --git a/drivers/Makefile b/drivers/Makefile 
    130 index dce39a9..1a64c4c 100644 
    131124--- a/drivers/Makefile 
    132125+++ b/drivers/Makefile 
    133 @@ -37,6 +37,9 @@ obj-$(CONFIG_XEN)             += xen/ 
     126@@ -38,6 +38,9 @@ obj-$(CONFIG_XEN)             += xen/ 
    134127 # regulators early, since some subsystems rely on them to initialize 
    135128 obj-$(CONFIG_REGULATOR)                += regulator/ 
     
    141134 # default. 
    142135 obj-y                          += tty/ 
    143 diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig 
    144 new file mode 100644 
    145 index 0000000..c9d04f7 
    146136--- /dev/null 
    147137+++ b/drivers/reset/Kconfig 
     
    160150+ 
    161151+         If unsure, say no. 
    162 diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile 
    163 new file mode 100644 
    164 index 0000000..1e2d83f 
    165152--- /dev/null 
    166153+++ b/drivers/reset/Makefile 
    167154@@ -0,0 +1 @@ 
    168155+obj-$(CONFIG_RESET_CONTROLLER) += core.o 
    169 diff --git a/drivers/reset/core.c b/drivers/reset/core.c 
    170 new file mode 100644 
    171 index 0000000..d1b6089 
    172156--- /dev/null 
    173157+++ b/drivers/reset/core.c 
     
    470454+} 
    471455+EXPORT_SYMBOL_GPL(device_reset); 
    472 diff --git a/include/linux/reset-controller.h b/include/linux/reset-controller.h 
    473 new file mode 100644 
    474 index 0000000..2f61311 
    475456--- /dev/null 
    476457+++ b/include/linux/reset-controller.h 
     
    527508+ 
    528509+#endif 
    529 diff --git a/include/linux/reset.h b/include/linux/reset.h 
    530 new file mode 100644 
    531 index 0000000..6082247 
    532510--- /dev/null 
    533511+++ b/include/linux/reset.h 
     
    550528+ 
    551529+#endif 
    552 --  
    553 1.7.10.4 
    554  
  • trunk/target/linux/ramips/patches-3.9/0155-reset-MIPS-ralink-add-core-device-reset-wrapper.patch

    r37016 r37103  
    1313 3 files changed, 61 insertions(+) 
    1414 
    15 diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig 
    16 index b237c50..cfc7153 100644 
    1715--- a/arch/mips/Kconfig 
    1816+++ b/arch/mips/Kconfig 
     
    2523 config SGI_IP22 
    2624        bool "SGI IP22 (Indy/Indigo2)" 
    27 diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c 
    28 index 8efb02b..2faf478 100644 
    2925--- a/arch/mips/ralink/of.c 
    3026+++ b/arch/mips/ralink/of.c 
     
    119115  
    120116        return 0; 
    121 diff --git a/arch/mips/ralink/reset.c b/arch/mips/ralink/reset.c 
    122 index 22120e5..6c15f4f 100644 
    123117--- a/arch/mips/ralink/reset.c 
    124118+++ b/arch/mips/ralink/reset.c 
     
    131125 #include <asm/reboot.h> 
    132126  
    133 --  
    134 1.7.10.4 
    135  
  • trunk/target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch

    r37016 r37103  
    1515 2 files changed, 38 insertions(+) 
    1616 
    17 diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c 
    18 index ffab033..15f4a71 100644 
    1917--- a/drivers/of/of_net.c 
    2018+++ b/drivers/of/of_net.c 
     
    2725 /** 
    2826  * It maps 'enum phy_interface_t' found in include/linux/phy.h 
    29 @@ -92,3 +93,39 @@ const void *of_get_mac_address(struct device_node *np) 
     27@@ -92,3 +93,39 @@ const void *of_get_mac_address(struct de 
    3028        return NULL; 
    3129 } 
     
    6765+} 
    6866+EXPORT_SYMBOL_GPL(of_get_mac_address_mtd); 
    69 diff --git a/include/linux/of_net.h b/include/linux/of_net.h 
    70 index f474641..9d3304f 100644 
    7167--- a/include/linux/of_net.h 
    7268+++ b/include/linux/of_net.h 
     
    7975  
    8076 #endif /* __LINUX_OF_NET_H */ 
    81 --  
    82 1.7.10.4 
    83  
  • trunk/target/linux/ramips/patches-3.9/0157-NET-multi-phy-support.patch

    r37016 r37103  
    1010 2 files changed, 7 insertions(+), 4 deletions(-) 
    1111 
    12 diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c 
    13 index ef9ea92..27f9b45 100644 
    1412--- a/drivers/net/phy/phy.c 
    1513+++ b/drivers/net/phy/phy.c 
    16 @@ -800,7 +800,8 @@ void phy_state_machine(struct work_struct *work) 
     14@@ -847,7 +847,8 @@ void phy_state_machine(struct work_struc 
    1715                         * negotiation for now */ 
    1816                        if (!phydev->link) { 
     
    2422                                break; 
    2523                        } 
    26 @@ -891,7 +892,8 @@ void phy_state_machine(struct work_struct *work) 
     24@@ -938,7 +939,8 @@ void phy_state_machine(struct work_struc 
    2725                                netif_carrier_on(phydev->attached_dev); 
    2826                        } else { 
     
    3432  
    3533                        phydev->adjust_link(phydev->attached_dev); 
    36 @@ -903,7 +905,8 @@ void phy_state_machine(struct work_struct *work) 
     34@@ -950,7 +952,8 @@ void phy_state_machine(struct work_struc 
    3735                case PHY_HALTED: 
    3836                        if (phydev->link) { 
     
    4442                        } 
    4543                        break; 
    46 diff --git a/include/linux/phy.h b/include/linux/phy.h 
    47 index 33999ad..9c54bc9 100644 
    4844--- a/include/linux/phy.h 
    4945+++ b/include/linux/phy.h 
     
    5753  
    5854        u32 dev_flags; 
    59 --  
    60 1.7.10.4 
    61  
  • trunk/target/linux/ramips/patches-3.9/0159-NET-MIPS-add-ralink-SoC-ethernet-driver.patch

    r37058 r37103  
    4848 create mode 100644 drivers/net/ethernet/ralink/soc_rt3883.c 
    4949 
    50 diff --git a/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h b/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h 
    51 new file mode 100644 
    52 index 0000000..2098c5c 
    5350--- /dev/null 
    5451+++ b/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h 
     
    8178+ 
    8279+#endif /* _RT305X_ESW_PLATFORM_H */ 
    83 diff --git a/arch/mips/ralink/rt305x.c b/arch/mips/ralink/rt305x.c 
    84 index ca7ee3a..1a6b458 100644 
    8580--- a/arch/mips/ralink/rt305x.c 
    8681+++ b/arch/mips/ralink/rt305x.c 
     
    9388        ralink_clk_add("10000100.timer", wdt_rate); 
    9489        ralink_clk_add("10000120.watchdog", wdt_rate); 
    95 diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig 
    96 index ed956e0..0b3caa1 100644 
    9790--- a/drivers/net/ethernet/Kconfig 
    9891+++ b/drivers/net/ethernet/Kconfig 
     
    10598 source "drivers/net/ethernet/renesas/Kconfig" 
    10699 source "drivers/net/ethernet/rdc/Kconfig" 
    107 diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile 
    108 index 8268d85..508c494 100644 
    109100--- a/drivers/net/ethernet/Makefile 
    110101+++ b/drivers/net/ethernet/Makefile 
     
    117108 obj-$(CONFIG_SH_ETH) += renesas/ 
    118109 obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ 
    119 diff --git a/drivers/net/ethernet/ralink/Kconfig b/drivers/net/ethernet/ralink/Kconfig 
    120 new file mode 100644 
    121 index 0000000..ca2c9ad 
    122110--- /dev/null 
    123111+++ b/drivers/net/ethernet/ralink/Kconfig 
     
    154142+       select SWCONFIG 
    155143+endif 
    156 diff --git a/drivers/net/ethernet/ralink/Makefile b/drivers/net/ethernet/ralink/Makefile 
    157 new file mode 100644 
    158 index 0000000..a38fa21 
    159144--- /dev/null 
    160145+++ b/drivers/net/ethernet/ralink/Makefile 
     
    178163+ 
    179164+obj-$(CONFIG_NET_RALINK)                       += ralink-eth.o 
    180 diff --git a/drivers/net/ethernet/ralink/esw_rt3052.c b/drivers/net/ethernet/ralink/esw_rt3052.c 
    181 new file mode 100644 
    182 index 0000000..b937062 
    183165--- /dev/null 
    184166+++ b/drivers/net/ethernet/ralink/esw_rt3052.c 
     
    16471629+       platform_driver_unregister(&esw_driver); 
    16481630+} 
    1649 diff --git a/drivers/net/ethernet/ralink/esw_rt3052.h b/drivers/net/ethernet/ralink/esw_rt3052.h 
    1650 new file mode 100644 
    1651 index 0000000..2ced3dff 
    16521631--- /dev/null 
    16531632+++ b/drivers/net/ethernet/ralink/esw_rt3052.h 
     
    16851664+#endif 
    16861665+#endif 
    1687 diff --git a/drivers/net/ethernet/ralink/gsw_mt7620a.c b/drivers/net/ethernet/ralink/gsw_mt7620a.c 
    1688 new file mode 100644 
    1689 index 0000000..9fa6a54 
    16901666--- /dev/null 
    16911667+++ b/drivers/net/ethernet/ralink/gsw_mt7620a.c 
     
    27182694+       return 0; 
    27192695+} 
    2720 diff --git a/drivers/net/ethernet/ralink/gsw_mt7620a.h b/drivers/net/ethernet/ralink/gsw_mt7620a.h 
    2721 new file mode 100644 
    2722 index 0000000..fd4add5 
    27232696--- /dev/null 
    27242697+++ b/drivers/net/ethernet/ralink/gsw_mt7620a.h 
     
    27532726+ 
    27542727+#endif 
    2755 diff --git a/drivers/net/ethernet/ralink/mdio.c b/drivers/net/ethernet/ralink/mdio.c 
    2756 new file mode 100644 
    2757 index 0000000..b265c75 
    27582728--- /dev/null 
    27592729+++ b/drivers/net/ethernet/ralink/mdio.c 
     
    30042974+       kfree(priv->mii_bus); 
    30052975+} 
    3006 diff --git a/drivers/net/ethernet/ralink/mdio.h b/drivers/net/ethernet/ralink/mdio.h 
    3007 new file mode 100644 
    3008 index 0000000..c3910a0 
    30092976--- /dev/null 
    30102977+++ b/drivers/net/ethernet/ralink/mdio.h 
     
    30393006+#endif 
    30403007+#endif 
    3041 diff --git a/drivers/net/ethernet/ralink/mdio_rt2880.c b/drivers/net/ethernet/ralink/mdio_rt2880.c 
    3042 new file mode 100644 
    3043 index 0000000..701c7b6 
    30443008--- /dev/null 
    30453009+++ b/drivers/net/ethernet/ralink/mdio_rt2880.c 
     
    32773241+       return; 
    32783242+} 
    3279 diff --git a/drivers/net/ethernet/ralink/mdio_rt2880.h b/drivers/net/ethernet/ralink/mdio_rt2880.h 
    3280 new file mode 100644 
    3281 index 0000000..51e3633 
    32823243--- /dev/null 
    32833244+++ b/drivers/net/ethernet/ralink/mdio_rt2880.h 
     
    33093270+ 
    33103271+#endif 
    3311 diff --git a/drivers/net/ethernet/ralink/ralink_soc_eth.c b/drivers/net/ethernet/ralink/ralink_soc_eth.c 
    3312 new file mode 100644 
    3313 index 0000000..d75c669 
    33143272--- /dev/null 
    33153273+++ b/drivers/net/ethernet/ralink/ralink_soc_eth.c 
     
    40614019+MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); 
    40624020+MODULE_DESCRIPTION("Ethernet driver for Ralink SoC"); 
    4063 diff --git a/drivers/net/ethernet/ralink/ralink_soc_eth.h b/drivers/net/ethernet/ralink/ralink_soc_eth.h 
    4064 new file mode 100644 
    4065 index 0000000..85bc881 
    40664021--- /dev/null 
    40674022+++ b/drivers/net/ethernet/ralink/ralink_soc_eth.h 
     
    44414396+ 
    44424397+#endif /* FE_ETH_H */ 
    4443 diff --git a/drivers/net/ethernet/ralink/soc_mt7620.c b/drivers/net/ethernet/ralink/soc_mt7620.c 
    4444 new file mode 100644 
    4445 index 0000000..55e303f 
    44464398--- /dev/null 
    44474399+++ b/drivers/net/ethernet/ralink/soc_mt7620.c 
     
    45584510+ 
    45594511+MODULE_DEVICE_TABLE(of, of_fe_match); 
    4560 diff --git a/drivers/net/ethernet/ralink/soc_rt2880.c b/drivers/net/ethernet/ralink/soc_rt2880.c 
    4561 new file mode 100644 
    4562 index 0000000..1110947 
    45634512--- /dev/null 
    45644513+++ b/drivers/net/ethernet/ralink/soc_rt2880.c 
     
    46154564+ 
    46164565+MODULE_DEVICE_TABLE(of, of_fe_match); 
    4617 diff --git a/drivers/net/ethernet/ralink/soc_rt305x.c b/drivers/net/ethernet/ralink/soc_rt305x.c 
    4618 new file mode 100644 
    4619 index 0000000..482ca1f 
    46204566--- /dev/null 
    46214567+++ b/drivers/net/ethernet/ralink/soc_rt305x.c 
     
    47344680+ 
    47354681+MODULE_DEVICE_TABLE(of, of_fe_match); 
    4736 diff --git a/drivers/net/ethernet/ralink/soc_rt3883.c b/drivers/net/ethernet/ralink/soc_rt3883.c 
    4737 new file mode 100644 
    4738 index 0000000..c660529 
    47394682--- /dev/null 
    47404683+++ b/drivers/net/ethernet/ralink/soc_rt3883.c 
     
    48004743+MODULE_DEVICE_TABLE(of, of_fe_match); 
    48014744+ 
    4802 --  
    4803 1.7.10.4 
    4804  
  • trunk/target/linux/ramips/patches-3.9/0160-USB-phy-add-ralink-SoC-driver.patch

    r37024 r37103  
    1212 create mode 100644 drivers/usb/phy/ralink-phy.c 
    1313 
    14 Index: linux-3.9.6/drivers/usb/phy/Kconfig 
    15 =================================================================== 
    16 --- linux-3.9.6.orig/drivers/usb/phy/Kconfig    2013-06-13 19:52:08.000000000 +0200 
    17 +++ linux-3.9.6/drivers/usb/phy/Kconfig 2013-06-23 16:37:57.544772712 +0200 
    18 @@ -74,3 +74,11 @@ 
     14--- a/drivers/usb/phy/Kconfig 
     15+++ b/drivers/usb/phy/Kconfig 
     16@@ -74,3 +74,11 @@ config SAMSUNG_USBPHY 
    1917        help 
    2018          Enable this to support Samsung USB phy controller for samsung 
     
    2826+         Enable this to support ralink USB phy controller for ralink 
    2927+         SoCs. 
    30 Index: linux-3.9.6/drivers/usb/phy/Makefile 
    31 =================================================================== 
    32 --- linux-3.9.6.orig/drivers/usb/phy/Makefile   2013-06-13 19:52:08.000000000 +0200 
    33 +++ linux-3.9.6/drivers/usb/phy/Makefile        2013-06-23 16:37:57.544772712 +0200 
    34 @@ -12,3 +12,4 @@ 
     28--- a/drivers/usb/phy/Makefile 
     29+++ b/drivers/usb/phy/Makefile 
     30@@ -12,3 +12,4 @@ obj-$(CONFIG_MV_U3D_PHY)              += mv_u3d_phy. 
    3531 obj-$(CONFIG_USB_EHCI_TEGRA)   += tegra_usb_phy.o 
    3632 obj-$(CONFIG_USB_RCAR_PHY)             += rcar-phy.o 
    3733 obj-$(CONFIG_SAMSUNG_USBPHY)           += samsung-usbphy.o 
    3834+obj-$(CONFIG_RALINK_USBPHY)            += ralink-phy.o 
    39 Index: linux-3.9.6/drivers/usb/phy/ralink-phy.c 
    40 =================================================================== 
    41 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    42 +++ linux-3.9.6/drivers/usb/phy/ralink-phy.c    2013-06-24 13:55:19.932135036 +0200 
     35--- /dev/null 
     36+++ b/drivers/usb/phy/ralink-phy.c 
    4337@@ -0,0 +1,191 @@ 
    4438+/* 
  • trunk/target/linux/ramips/patches-3.9/0161-USB-add-OHCI-EHCI-OF-binding.patch

    r37016 r37103  
    1414 4 files changed, 74 insertions(+), 12 deletions(-) 
    1515 
    16 diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig 
    17 index c8d5b6c..7cd1188 100644 
    1816--- a/arch/mips/ralink/Kconfig 
    1917+++ b/arch/mips/ralink/Kconfig 
     
    2725 endchoice 
    2826  
    29 diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile 
    30 index 8f5ebce..b766256 100644 
    3127--- a/drivers/usb/Makefile 
    3228+++ b/drivers/usb/Makefile 
     
    4844  
    4945 obj-$(CONFIG_USB_ATM)          += atm/ 
    50 diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c 
    51 index ca75063..ae32410 100644 
    5246--- a/drivers/usb/host/ehci-platform.c 
    5347+++ b/drivers/usb/host/ehci-platform.c 
     
    7165  
    7266 #include "ehci.h" 
    73 @@ -62,22 +66,32 @@ static const struct ehci_driver_overrides platform_overrides __initdata = { 
     67@@ -63,22 +67,32 @@ static const struct ehci_driver_override 
    7468        .reset =        ehci_platform_reset, 
    7569 }; 
     
    110104        if (irq < 0) { 
    111105                dev_err(&dev->dev, "no irq provided"); 
    112 @@ -105,6 +119,15 @@ static int ehci_platform_probe(struct platform_device *dev) 
     106@@ -106,6 +120,15 @@ static int ehci_platform_probe(struct pl 
    113107        hcd->rsrc_start = res_mem->start; 
    114108        hcd->rsrc_len = resource_size(res_mem); 
     
    126120        if (IS_ERR(hcd->regs)) { 
    127121                err = PTR_ERR(hcd->regs); 
    128 @@ -139,6 +162,9 @@ static int ehci_platform_remove(struct platform_device *dev) 
     122@@ -140,6 +163,9 @@ static int ehci_platform_remove(struct p 
    129123        if (pdata->power_off) 
    130124                pdata->power_off(dev); 
     
    136130 } 
    137131  
    138 @@ -183,6 +209,11 @@ static int ehci_platform_resume(struct device *dev) 
     132@@ -184,6 +210,11 @@ static int ehci_platform_resume(struct d 
    139133 #define ehci_platform_resume   NULL 
    140134 #endif /* CONFIG_PM */ 
     
    148142        { "ehci-platform", 0 }, 
    149143        { } 
    150 @@ -203,6 +234,7 @@ static struct platform_driver ehci_platform_driver = { 
     144@@ -204,6 +235,7 @@ static struct platform_driver ehci_platf 
    151145                .owner  = THIS_MODULE, 
    152146                .name   = "ehci-platform", 
     
    156150 }; 
    157151  
    158 diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c 
    159 index c3e7287..dd9bac6 100644 
    160152--- a/drivers/usb/host/ohci-platform.c 
    161153+++ b/drivers/usb/host/ohci-platform.c 
     
    171163 static int ohci_platform_reset(struct usb_hcd *hcd) 
    172164 { 
    173 @@ -88,14 +92,22 @@ static int ohci_platform_probe(struct platform_device *dev) 
     165@@ -88,14 +92,22 @@ static int ohci_platform_probe(struct pl 
    174166 { 
    175167        struct usb_hcd *hcd; 
     
    199191        if (usb_disabled()) 
    200192                return -ENODEV; 
    201 @@ -128,6 +140,12 @@ static int ohci_platform_probe(struct platform_device *dev) 
     193@@ -128,6 +140,12 @@ static int ohci_platform_probe(struct pl 
    202194        hcd->rsrc_start = res_mem->start; 
    203195        hcd->rsrc_len = resource_size(res_mem); 
     
    212204        if (IS_ERR(hcd->regs)) { 
    213205                err = PTR_ERR(hcd->regs); 
    214 @@ -162,6 +180,9 @@ static int ohci_platform_remove(struct platform_device *dev) 
     206@@ -162,6 +180,9 @@ static int ohci_platform_remove(struct p 
    215207        if (pdata->power_off) 
    216208                pdata->power_off(dev); 
     
    222214 } 
    223215  
    224 @@ -201,6 +222,11 @@ static int ohci_platform_resume(struct device *dev) 
     216@@ -201,6 +222,11 @@ static int ohci_platform_resume(struct d 
    225217 #define ohci_platform_resume   NULL 
    226218 #endif /* CONFIG_PM */ 
     
    234226        { "ohci-platform", 0 }, 
    235227        { } 
    236 @@ -221,5 +247,6 @@ static struct platform_driver ohci_platform_driver = { 
     228@@ -221,5 +247,6 @@ static struct platform_driver ohci_platf 
    237229                .owner  = THIS_MODULE, 
    238230                .name   = "ohci-platform", 
     
    241233        } 
    242234 }; 
    243 --  
    244 1.7.10.4 
    245  
  • trunk/target/linux/ramips/patches-3.9/0162-USB-MIPS-ralink-add-rt5350-mt7620-UDC.patch

    r37016 r37103  
    1414 create mode 100644 drivers/usb/gadget/rt_udc_pdma.c 
    1515 
    16 diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig 
    17 index c7525b1..6f0e293 100644 
    1816--- a/drivers/usb/gadget/Kconfig 
    1917+++ b/drivers/usb/gadget/Kconfig 
     
    3331 # Controllers available in both integrated and discrete versions 
    3432 # 
    35 diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile 
    36 index 82fb225..f78a3b2 100644 
    3733--- a/drivers/usb/gadget/Makefile 
    3834+++ b/drivers/usb/gadget/Makefile 
     
    4541 # USB Functions 
    4642 obj-$(CONFIG_USB_F_ACM)                += f_acm.o 
    47 diff --git a/drivers/usb/gadget/rt_udc.h b/drivers/usb/gadget/rt_udc.h 
    48 new file mode 100644 
    49 index 0000000..088e0d9 
    5043--- /dev/null 
    5144+++ b/drivers/usb/gadget/rt_udc.h 
     
    468461+ 
    469462+#endif /* __LINUX_USB_GADGET_RT_UDC_H */ 
    470 diff --git a/drivers/usb/gadget/rt_udc_pdma.c b/drivers/usb/gadget/rt_udc_pdma.c 
    471 new file mode 100644 
    472 index 0000000..d5b89a2 
    473463--- /dev/null 
    474464+++ b/drivers/usb/gadget/rt_udc_pdma.c 
     
    30213011+MODULE_ALIAS("platform:rt_udc"); 
    30223012+ 
    3023 --  
    3024 1.7.10.4 
    3025  
  • trunk/target/linux/ramips/patches-3.9/0163-USB-MIPS-ralink-fix-usb-issue-on-mt7620.patch

    r37016 r37103  
    1313 2 files changed, 9 insertions(+) 
    1414 
    15 diff --git a/arch/mips/include/asm/mach-ralink/mt7620.h b/arch/mips/include/asm/mach-ralink/mt7620.h 
    16 index 9809972..d469c69 100644 
    1715--- a/arch/mips/include/asm/mach-ralink/mt7620.h 
    1816+++ b/arch/mips/include/asm/mach-ralink/mt7620.h 
     
    2523 #define SYSC_REG_CPLL_CONFIG1          0x58 
    2624  
    27 diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c 
    28 index 4956d96..d76eb85 100644 
    2925--- a/arch/mips/ralink/mt7620.c 
    3026+++ b/arch/mips/ralink/mt7620.c 
     
    4440  
    4541 void __init ralink_of_remap(void) 
    46 --  
    47 1.7.10.4 
    48  
  • trunk/target/linux/ramips/patches-3.9/0164-Kbuild-add-missing-space.patch

    r37016 r37103  
    2121 1 file changed, 1 insertion(+), 1 deletion(-) 
    2222 
    23 diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib 
    24 index 07125e6..e13fff1 100644 
    2523--- a/scripts/Makefile.lib 
    2624+++ b/scripts/Makefile.lib 
    27 @@ -251,7 +251,7 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \ 
     25@@ -251,7 +251,7 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | 
    2826 # --------------------------------------------------------------------------- 
    2927  
     
    3432 (                                                      \ 
    3533        echo '\#include <asm-generic/vmlinux.lds.h>';   \ 
    36 --  
    37 1.7.10.4 
    38  
  • trunk/target/linux/ramips/patches-3.9/0200-owrt-GPIO-add-gpio_export_with_name.patch

    r37016 r37103  
    1515 5 files changed, 172 insertions(+), 12 deletions(-) 
    1616 
    17 diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt 
    18 index a336287..c2a9024 100644 
    1917--- a/Documentation/devicetree/bindings/gpio/gpio.txt 
    2018+++ b/Documentation/devicetree/bindings/gpio/gpio.txt 
     
    8381+       }; 
    8482+}; 
    85 diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c 
    86 index 5150df6..195491b 100644 
    8783--- a/drivers/gpio/gpiolib-of.c 
    8884+++ b/drivers/gpio/gpiolib-of.c 
     
    9692 /* Private data structure for of_gpiochip_find_and_xlate */ 
    9793 struct gg_data { 
    98 @@ -253,3 +255,69 @@ void of_gpiochip_remove(struct gpio_chip *chip) 
     94@@ -253,3 +255,69 @@ void of_gpiochip_remove(struct gpio_chip 
    9995        if (chip->of_node) 
    10096                of_node_put(chip->of_node); 
     
    166162+} 
    167163+device_initcall(of_gpio_export_init); 
    168 diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c 
    169 index c2534d6..8697c82 100644 
    170164--- a/drivers/gpio/gpiolib.c 
    171165+++ b/drivers/gpio/gpiolib.c 
    172 @@ -96,7 +96,7 @@ static int gpiod_get_value(const struct gpio_desc *desc); 
     166@@ -96,7 +96,7 @@ static int gpiod_get_value(const struct 
    173167 static void gpiod_set_value(struct gpio_desc *desc, int value); 
    174168 static int gpiod_cansleep(const struct gpio_desc *desc); 
     
    179173                             struct gpio_desc *desc); 
    180174 static int gpiod_sysfs_set_active_low(struct gpio_desc *desc, int value); 
    181 @@ -674,7 +674,7 @@ static ssize_t export_store(struct class *class, 
     175@@ -674,7 +674,7 @@ static ssize_t export_store(struct class 
    182176                        status = -ENODEV; 
    183177              &n