kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38972
This commit is contained in:
parent
f51d78f4f2
commit
f1ef0b92be
33 changed files with 112 additions and 168 deletions
|
@ -17,8 +17,8 @@ endif
|
||||||
ifeq ($(LINUX_VERSION),3.9.11)
|
ifeq ($(LINUX_VERSION),3.9.11)
|
||||||
LINUX_KERNEL_MD5SUM:=edbf88eb7f7d34dbd5d3887726790755
|
LINUX_KERNEL_MD5SUM:=edbf88eb7f7d34dbd5d3887726790755
|
||||||
endif
|
endif
|
||||||
ifeq ($(LINUX_VERSION),3.10.18)
|
ifeq ($(LINUX_VERSION),3.10.21)
|
||||||
LINUX_KERNEL_MD5SUM:=e091753da622788cfd662dd67c2f9b48
|
LINUX_KERNEL_MD5SUM:=dc5f31aef4aac0cc271e7ecf1a4b485d
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# disable the md5sum check for unknown kernel versions
|
# disable the md5sum check for unknown kernel versions
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=squashfs atm
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
SUBTARGETS:=generic ac49x
|
SUBTARGETS:=generic ac49x
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=mips16
|
||||||
CPU_TYPE=34kc
|
CPU_TYPE=34kc
|
||||||
SUBTARGETS:=generic nand mikrotik
|
SUBTARGETS:=generic nand mikrotik
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=Atmel AVR32
|
||||||
FEATURES:=squashfs
|
FEATURES:=squashfs
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=squashfs usb pci pcie gpio
|
||||||
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
CPU_TYPE:=cortex-a9
|
CPU_TYPE:=cortex-a9
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
CPU_TYPE:=arm1176jzf-s
|
CPU_TYPE:=arm1176jzf-s
|
||||||
CPU_SUBTYPE:=vfp
|
CPU_SUBTYPE:=vfp
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
|
DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=Broadcom BCM947xx/953xx
|
||||||
FEATURES:=squashfs usb pcmcia
|
FEATURES:=squashfs usb pcmcia
|
||||||
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += swconfig kmod-diag wpad-mini nvram
|
DEFAULT_PACKAGES += swconfig kmod-diag wpad-mini nvram
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=brcm63xx
|
||||||
BOARDNAME:=Broadcom BCM63xx
|
BOARDNAME:=Broadcom BCM63xx
|
||||||
SUBTARGETS:=generic smp
|
SUBTARGETS:=generic smp
|
||||||
FEATURES:=squashfs usb atm pci pcmcia
|
FEATURES:=squashfs usb atm pci pcmcia
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=Cavium Networks Econa CNS21xx
|
||||||
FEATURES:=squashfs
|
FEATURES:=squashfs
|
||||||
CPU_TYPE:=fa526
|
CPU_TYPE:=fa526
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
static int all_symbols = 0;
|
static int all_symbols = 0;
|
||||||
+static int uncompressed = 0;
|
+static int uncompressed = 0;
|
||||||
static char symbol_prefix_char = '\0';
|
static char symbol_prefix_char = '\0';
|
||||||
|
static unsigned long long kernel_start_addr = 0;
|
||||||
|
|
||||||
int token_profit[0x10000];
|
@@ -367,6 +368,9 @@ static void write_src(void)
|
||||||
@@ -360,6 +361,9 @@ static void write_src(void)
|
|
||||||
|
|
||||||
free(markers);
|
free(markers);
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
output_label("kallsyms_token_table");
|
output_label("kallsyms_token_table");
|
||||||
off = 0;
|
off = 0;
|
||||||
for (i = 0; i < 256; i++) {
|
for (i = 0; i < 256; i++) {
|
||||||
@@ -418,6 +422,9 @@ static void *find_token(unsigned char *s
|
@@ -425,6 +429,9 @@ static void *find_token(unsigned char *s
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
for (i = 0; i < len - 1; i++) {
|
for (i = 0; i < len - 1; i++) {
|
||||||
if (str[i] == token[0] && str[i+1] == token[1])
|
if (str[i] == token[0] && str[i+1] == token[1])
|
||||||
return &str[i];
|
return &str[i];
|
||||||
@@ -490,6 +497,9 @@ static void optimize_result(void)
|
@@ -497,6 +504,9 @@ static void optimize_result(void)
|
||||||
{
|
{
|
||||||
int i, best;
|
int i, best;
|
||||||
|
|
||||||
|
@ -38,10 +38,10 @@
|
||||||
/* using the '\0' symbol last allows compress_symbols to use standard
|
/* using the '\0' symbol last allows compress_symbols to use standard
|
||||||
* fast string functions */
|
* fast string functions */
|
||||||
for (i = 255; i >= 0; i--) {
|
for (i = 255; i >= 0; i--) {
|
||||||
@@ -646,7 +656,9 @@ int main(int argc, char **argv)
|
@@ -656,7 +666,9 @@ int main(int argc, char **argv)
|
||||||
if ((*p == '"' && *(p+2) == '"') || (*p == '\'' && *(p+2) == '\''))
|
} else if (strncmp(argv[i], "--page-offset=", 14) == 0) {
|
||||||
p++;
|
const char *p = &argv[i][14];
|
||||||
symbol_prefix_char = *p;
|
kernel_start_addr = strtoull(p, NULL, 16);
|
||||||
- } else
|
- } else
|
||||||
+ } else if (strcmp(argv[i], "--uncompressed") == 0)
|
+ } else if (strcmp(argv[i], "--uncompressed") == 0)
|
||||||
+ uncompressed = 1;
|
+ uncompressed = 1;
|
||||||
|
@ -71,9 +71,9 @@
|
||||||
|
|
||||||
--- a/scripts/link-vmlinux.sh
|
--- a/scripts/link-vmlinux.sh
|
||||||
+++ b/scripts/link-vmlinux.sh
|
+++ b/scripts/link-vmlinux.sh
|
||||||
@@ -82,6 +82,10 @@ kallsyms()
|
@@ -84,6 +84,10 @@ kallsyms()
|
||||||
kallsymopt="${kallsymopt} --all-symbols"
|
|
||||||
fi
|
kallsymopt="${kallsymopt} --page-offset=$CONFIG_PAGE_OFFSET"
|
||||||
|
|
||||||
+ if [ -n "${CONFIG_KALLSYMS_UNCOMPRESSED}" ]; then
|
+ if [ -n "${CONFIG_KALLSYMS_UNCOMPRESSED}" ]; then
|
||||||
+ kallsymopt="${kallsymopt} --uncompressed"
|
+ kallsymopt="${kallsymopt} --uncompressed"
|
||||||
|
|
|
@ -127,7 +127,7 @@
|
||||||
static const struct rt6_info ip6_blk_hole_entry_template = {
|
static const struct rt6_info ip6_blk_hole_entry_template = {
|
||||||
.dst = {
|
.dst = {
|
||||||
.__refcnt = ATOMIC_INIT(1),
|
.__refcnt = ATOMIC_INIT(1),
|
||||||
@@ -1505,6 +1523,9 @@ int ip6_route_add(struct fib6_config *cf
|
@@ -1508,6 +1526,9 @@ int ip6_route_add(struct fib6_config *cf
|
||||||
case RTN_THROW:
|
case RTN_THROW:
|
||||||
rt->dst.error = -EAGAIN;
|
rt->dst.error = -EAGAIN;
|
||||||
break;
|
break;
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
default:
|
default:
|
||||||
rt->dst.error = -ENETUNREACH;
|
rt->dst.error = -ENETUNREACH;
|
||||||
break;
|
break;
|
||||||
@@ -2084,6 +2105,17 @@ static int ip6_pkt_prohibit_out(struct s
|
@@ -2087,6 +2108,17 @@ static int ip6_pkt_prohibit_out(struct s
|
||||||
return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED, IPSTATS_MIB_OUTNOROUTES);
|
return ip6_pkt_drop(skb, ICMPV6_ADM_PROHIBITED, IPSTATS_MIB_OUTNOROUTES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -2290,7 +2322,8 @@ static int rtm_to_fib6_config(struct sk_
|
@@ -2293,7 +2325,8 @@ static int rtm_to_fib6_config(struct sk_
|
||||||
if (rtm->rtm_type == RTN_UNREACHABLE ||
|
if (rtm->rtm_type == RTN_UNREACHABLE ||
|
||||||
rtm->rtm_type == RTN_BLACKHOLE ||
|
rtm->rtm_type == RTN_BLACKHOLE ||
|
||||||
rtm->rtm_type == RTN_PROHIBIT ||
|
rtm->rtm_type == RTN_PROHIBIT ||
|
||||||
|
@ -165,7 +165,7 @@
|
||||||
cfg->fc_flags |= RTF_REJECT;
|
cfg->fc_flags |= RTF_REJECT;
|
||||||
|
|
||||||
if (rtm->rtm_type == RTN_LOCAL)
|
if (rtm->rtm_type == RTN_LOCAL)
|
||||||
@@ -2492,6 +2525,9 @@ static int rt6_fill_node(struct net *net
|
@@ -2495,6 +2528,9 @@ static int rt6_fill_node(struct net *net
|
||||||
case -EACCES:
|
case -EACCES:
|
||||||
rtm->rtm_type = RTN_PROHIBIT;
|
rtm->rtm_type = RTN_PROHIBIT;
|
||||||
break;
|
break;
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
case -EAGAIN:
|
case -EAGAIN:
|
||||||
rtm->rtm_type = RTN_THROW;
|
rtm->rtm_type = RTN_THROW;
|
||||||
break;
|
break;
|
||||||
@@ -2742,6 +2778,8 @@ static int ip6_route_dev_notify(struct n
|
@@ -2745,6 +2781,8 @@ static int ip6_route_dev_notify(struct n
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
net->ipv6.ip6_prohibit_entry->dst.dev = dev;
|
net->ipv6.ip6_prohibit_entry->dst.dev = dev;
|
||||||
net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev);
|
net->ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(dev);
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
|
net->ipv6.ip6_blk_hole_entry->dst.dev = dev;
|
||||||
net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
|
net->ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(dev);
|
||||||
#endif
|
#endif
|
||||||
@@ -3002,6 +3040,17 @@ static int __net_init ip6_route_net_init
|
@@ -3005,6 +3043,17 @@ static int __net_init ip6_route_net_init
|
||||||
net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
|
net->ipv6.ip6_blk_hole_entry->dst.ops = &net->ipv6.ip6_dst_ops;
|
||||||
dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
|
dst_init_metrics(&net->ipv6.ip6_blk_hole_entry->dst,
|
||||||
ip6_template_metrics, true);
|
ip6_template_metrics, true);
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
net->ipv6.sysctl.flush_delay = 0;
|
net->ipv6.sysctl.flush_delay = 0;
|
||||||
@@ -3020,6 +3069,8 @@ out:
|
@@ -3023,6 +3072,8 @@ out:
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
|
@ -211,7 +211,7 @@
|
||||||
out_ip6_prohibit_entry:
|
out_ip6_prohibit_entry:
|
||||||
kfree(net->ipv6.ip6_prohibit_entry);
|
kfree(net->ipv6.ip6_prohibit_entry);
|
||||||
out_ip6_null_entry:
|
out_ip6_null_entry:
|
||||||
@@ -3037,6 +3088,7 @@ static void __net_exit ip6_route_net_exi
|
@@ -3040,6 +3091,7 @@ static void __net_exit ip6_route_net_exi
|
||||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||||
kfree(net->ipv6.ip6_prohibit_entry);
|
kfree(net->ipv6.ip6_prohibit_entry);
|
||||||
kfree(net->ipv6.ip6_blk_hole_entry);
|
kfree(net->ipv6.ip6_blk_hole_entry);
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
#endif
|
#endif
|
||||||
dst_entries_destroy(&net->ipv6.ip6_dst_ops);
|
dst_entries_destroy(&net->ipv6.ip6_dst_ops);
|
||||||
}
|
}
|
||||||
@@ -3133,6 +3185,9 @@ int __init ip6_route_init(void)
|
@@ -3136,6 +3188,9 @@ int __init ip6_route_init(void)
|
||||||
init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
init_net.ipv6.ip6_prohibit_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
||||||
init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
|
init_net.ipv6.ip6_blk_hole_entry->dst.dev = init_net.loopback_dev;
|
||||||
init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
init_net.ipv6.ip6_blk_hole_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev);
|
||||||
|
|
|
@ -14,7 +14,7 @@ CPU_TYPE:=cortex-a9
|
||||||
CPU_SUBTYPE:=vfpv3
|
CPU_SUBTYPE:=vfpv3
|
||||||
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=squashfs
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
SUBTARGETS=generic harddisk
|
SUBTARGETS=generic harddisk
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=targz usb jffs2_nand ubifs
|
||||||
CPU_TYPE:=xscale
|
CPU_TYPE:=xscale
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARDNAME:=Lantiq GPON/XWAY/SVIP
|
||||||
FEATURES:=squashfs
|
FEATURES:=squashfs
|
||||||
SUBTARGETS=xway xrx200 ase falcon
|
SUBTARGETS=xway xrx200 ase falcon
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
CPU_TYPE:=mips32r2
|
CPU_TYPE:=mips32r2
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Subject: [PATCH 32/34] USB: fix roothub for IFXHCD
|
||||||
choice
|
choice
|
||||||
--- a/drivers/usb/core/hub.c
|
--- a/drivers/usb/core/hub.c
|
||||||
+++ b/drivers/usb/core/hub.c
|
+++ b/drivers/usb/core/hub.c
|
||||||
@@ -4036,7 +4036,7 @@ hub_port_init (struct usb_hub *hub, stru
|
@@ -4053,7 +4053,7 @@ hub_port_init (struct usb_hub *hub, stru
|
||||||
udev->ttport = hdev->ttport;
|
udev->ttport = hdev->ttport;
|
||||||
} else if (udev->speed != USB_SPEED_HIGH
|
} else if (udev->speed != USB_SPEED_HIGH
|
||||||
&& hdev->speed == USB_SPEED_HIGH) {
|
&& hdev->speed == USB_SPEED_HIGH) {
|
||||||
|
|
|
@ -12,7 +12,7 @@ SUBTARGETS:=le be le64 be64
|
||||||
INITRAMFS_EXTRA_FILES:=
|
INITRAMFS_EXTRA_FILES:=
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
DEVICE_TYPE:=developerboard
|
DEVICE_TYPE:=developerboard
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ FEATURES:=spe_fpu squashfs
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
SUBTARGETS=generic p1020
|
SUBTARGETS=generic p1020
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ CPU_TYPE:=cortex-a9
|
||||||
CPU_SUBTYPE:=vfpv3
|
CPU_SUBTYPE:=vfpv3
|
||||||
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ CPU_TYPE:=octeon
|
||||||
CPU_CFLAGS_octeon:=-march=octeon
|
CPU_CFLAGS_octeon:=-march=octeon
|
||||||
MAINTAINER:=John Crispin <blogic@openwrt.org>
|
MAINTAINER:=John Crispin <blogic@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=squashfs
|
||||||
CPU_TYPE:=405
|
CPU_TYPE:=405
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ FEATURES:=squashfs broken
|
||||||
CPU_TYPE:=440
|
CPU_TYPE:=440
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=Ralink RT288x/RT3xxx
|
||||||
SUBTARGETS:=rt305x mt7620a mt7620n rt3883 rt288x
|
SUBTARGETS:=rt305x mt7620a mt7620n rt3883 rt288x
|
||||||
FEATURES:=squashfs gpio
|
FEATURES:=squashfs gpio
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES+=\
|
DEFAULT_PACKAGES+=\
|
||||||
|
|
|
@ -46,10 +46,8 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||||
create mode 100644 drivers/net/ethernet/ralink/soc_rt305x.c
|
create mode 100644 drivers/net/ethernet/ralink/soc_rt305x.c
|
||||||
create mode 100644 drivers/net/ethernet/ralink/soc_rt3883.c
|
create mode 100644 drivers/net/ethernet/ralink/soc_rt3883.c
|
||||||
|
|
||||||
Index: linux-3.10.18/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h 2013-11-21 15:20:28.672444348 +0100
|
|
||||||
@@ -0,0 +1,27 @@
|
@@ -0,0 +1,27 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Ralink RT305x SoC platform device registration
|
+ * Ralink RT305x SoC platform device registration
|
||||||
|
@ -78,11 +76,9 @@ Index: linux-3.10.18/arch/mips/include/asm/mach-ralink/rt305x_esw_platform.h
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+#endif /* _RT305X_ESW_PLATFORM_H */
|
+#endif /* _RT305X_ESW_PLATFORM_H */
|
||||||
Index: linux-3.10.18/arch/mips/ralink/rt305x.c
|
--- a/arch/mips/ralink/rt305x.c
|
||||||
===================================================================
|
+++ b/arch/mips/ralink/rt305x.c
|
||||||
--- linux-3.10.18.orig/arch/mips/ralink/rt305x.c 2013-11-04 13:31:29.000000000 +0100
|
@@ -221,6 +221,7 @@ void __init ralink_clk_init(void)
|
||||||
+++ linux-3.10.18/arch/mips/ralink/rt305x.c 2013-11-21 19:39:11.280814230 +0100
|
|
||||||
@@ -221,6 +221,7 @@
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ralink_clk_add("cpu", cpu_rate);
|
ralink_clk_add("cpu", cpu_rate);
|
||||||
|
@ -90,11 +86,9 @@ Index: linux-3.10.18/arch/mips/ralink/rt305x.c
|
||||||
ralink_clk_add("10000b00.spi", sys_rate);
|
ralink_clk_add("10000b00.spi", sys_rate);
|
||||||
ralink_clk_add("10000100.timer", wdt_rate);
|
ralink_clk_add("10000100.timer", wdt_rate);
|
||||||
ralink_clk_add("10000120.watchdog", wdt_rate);
|
ralink_clk_add("10000120.watchdog", wdt_rate);
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/Kconfig
|
--- a/drivers/net/ethernet/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/Kconfig
|
||||||
--- linux-3.10.18.orig/drivers/net/ethernet/Kconfig 2013-11-04 13:31:29.000000000 +0100
|
@@ -135,6 +135,7 @@ config ETHOC
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/Kconfig 2013-11-21 15:20:28.672444348 +0100
|
|
||||||
@@ -135,6 +135,7 @@
|
|
||||||
source "drivers/net/ethernet/packetengines/Kconfig"
|
source "drivers/net/ethernet/packetengines/Kconfig"
|
||||||
source "drivers/net/ethernet/pasemi/Kconfig"
|
source "drivers/net/ethernet/pasemi/Kconfig"
|
||||||
source "drivers/net/ethernet/qlogic/Kconfig"
|
source "drivers/net/ethernet/qlogic/Kconfig"
|
||||||
|
@ -102,11 +96,9 @@ Index: linux-3.10.18/drivers/net/ethernet/Kconfig
|
||||||
source "drivers/net/ethernet/realtek/Kconfig"
|
source "drivers/net/ethernet/realtek/Kconfig"
|
||||||
source "drivers/net/ethernet/renesas/Kconfig"
|
source "drivers/net/ethernet/renesas/Kconfig"
|
||||||
source "drivers/net/ethernet/rdc/Kconfig"
|
source "drivers/net/ethernet/rdc/Kconfig"
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/Makefile
|
--- a/drivers/net/ethernet/Makefile
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/Makefile
|
||||||
--- linux-3.10.18.orig/drivers/net/ethernet/Makefile 2013-11-04 13:31:29.000000000 +0100
|
@@ -53,6 +53,7 @@ obj-$(CONFIG_ETHOC) += ethoc.o
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/Makefile 2013-11-21 15:20:28.672444348 +0100
|
|
||||||
@@ -53,6 +53,7 @@
|
|
||||||
obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/
|
obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/
|
||||||
obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
|
obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
|
||||||
obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
|
obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
|
||||||
|
@ -114,10 +106,8 @@ Index: linux-3.10.18/drivers/net/ethernet/Makefile
|
||||||
obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
|
obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
|
||||||
obj-$(CONFIG_SH_ETH) += renesas/
|
obj-$(CONFIG_SH_ETH) += renesas/
|
||||||
obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
|
obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/Kconfig
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/Kconfig
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/Kconfig 2013-11-21 15:20:28.672444348 +0100
|
|
||||||
@@ -0,0 +1,32 @@
|
@@ -0,0 +1,32 @@
|
||||||
+config NET_RALINK
|
+config NET_RALINK
|
||||||
+ tristate "Ralink RT288X/RT3X5X/RT3662/RT3883/MT7620 ethernet driver"
|
+ tristate "Ralink RT288X/RT3X5X/RT3662/RT3883/MT7620 ethernet driver"
|
||||||
|
@ -151,10 +141,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/Kconfig
|
||||||
+ select PHYLIB
|
+ select PHYLIB
|
||||||
+ select SWCONFIG
|
+ select SWCONFIG
|
||||||
+endif
|
+endif
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/Makefile
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/Makefile
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/Makefile 2013-11-21 15:20:28.672444348 +0100
|
|
||||||
@@ -0,0 +1,18 @@
|
@@ -0,0 +1,18 @@
|
||||||
+#
|
+#
|
||||||
+# Makefile for the Ralink SoCs built-in ethernet macs
|
+# Makefile for the Ralink SoCs built-in ethernet macs
|
||||||
|
@ -174,10 +162,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/Makefile
|
||||||
+ralink-eth-$(CONFIG_SOC_MT7620) += soc_mt7620.o
|
+ralink-eth-$(CONFIG_SOC_MT7620) += soc_mt7620.o
|
||||||
+
|
+
|
||||||
+obj-$(CONFIG_NET_RALINK) += ralink-eth.o
|
+obj-$(CONFIG_NET_RALINK) += ralink-eth.o
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/esw_rt3052.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/esw_rt3052.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/esw_rt3052.c 2013-11-21 15:20:28.676444348 +0100
|
|
||||||
@@ -0,0 +1,1463 @@
|
@@ -0,0 +1,1463 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -1642,10 +1628,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/esw_rt3052.c
|
||||||
+{
|
+{
|
||||||
+ platform_driver_unregister(&esw_driver);
|
+ platform_driver_unregister(&esw_driver);
|
||||||
+}
|
+}
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/esw_rt3052.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/esw_rt3052.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/esw_rt3052.h 2013-11-21 15:20:28.676444348 +0100
|
|
||||||
@@ -0,0 +1,32 @@
|
@@ -0,0 +1,32 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -1679,10 +1663,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/esw_rt3052.h
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
+#endif
|
+#endif
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/gsw_mt7620a.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/gsw_mt7620a.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/gsw_mt7620a.c 2013-11-21 15:20:28.676444348 +0100
|
|
||||||
@@ -0,0 +1,566 @@
|
@@ -0,0 +1,566 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -2250,10 +2232,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/gsw_mt7620a.c
|
||||||
+
|
+
|
||||||
+ return 0;
|
+ return 0;
|
||||||
+}
|
+}
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/gsw_mt7620a.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/gsw_mt7620a.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/gsw_mt7620a.h 2013-11-21 15:20:28.676444348 +0100
|
|
||||||
@@ -0,0 +1,30 @@
|
@@ -0,0 +1,30 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -2285,10 +2265,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/gsw_mt7620a.h
|
||||||
+extern int mt7620a_has_carrier(struct fe_priv *priv);
|
+extern int mt7620a_has_carrier(struct fe_priv *priv);
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/mdio.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/mdio.c 2013-11-21 15:20:28.680444349 +0100
|
|
||||||
@@ -0,0 +1,244 @@
|
@@ -0,0 +1,244 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -2534,10 +2512,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio.c
|
||||||
+ of_node_put(priv->mii_bus->dev.of_node);
|
+ of_node_put(priv->mii_bus->dev.of_node);
|
||||||
+ kfree(priv->mii_bus);
|
+ kfree(priv->mii_bus);
|
||||||
+}
|
+}
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/mdio.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/mdio.h 2013-11-21 15:20:28.680444349 +0100
|
|
||||||
@@ -0,0 +1,29 @@
|
@@ -0,0 +1,29 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -2568,10 +2544,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio.h
|
||||||
+static inline void fe_mdio_cleanup(struct fe_priv *priv) {}
|
+static inline void fe_mdio_cleanup(struct fe_priv *priv) {}
|
||||||
+#endif
|
+#endif
|
||||||
+#endif
|
+#endif
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio_rt2880.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/mdio_rt2880.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/mdio_rt2880.c 2013-11-21 15:20:28.680444349 +0100
|
|
||||||
@@ -0,0 +1,232 @@
|
@@ -0,0 +1,232 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -2805,10 +2779,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio_rt2880.c
|
||||||
+
|
+
|
||||||
+ return;
|
+ return;
|
||||||
+}
|
+}
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio_rt2880.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/mdio_rt2880.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/mdio_rt2880.h 2013-11-21 15:20:28.680444349 +0100
|
|
||||||
@@ -0,0 +1,26 @@
|
@@ -0,0 +1,26 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -2836,10 +2808,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/mdio_rt2880.h
|
||||||
+void rt2880_port_init(struct fe_priv *priv, struct device_node *np);
|
+void rt2880_port_init(struct fe_priv *priv, struct device_node *np);
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/ralink_soc_eth.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/ralink_soc_eth.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/ralink_soc_eth.c 2013-11-21 17:11:49.492603543 +0100
|
|
||||||
@@ -0,0 +1,769 @@
|
@@ -0,0 +1,769 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -3610,10 +3580,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/ralink_soc_eth.c
|
||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
+MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
|
+MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
|
||||||
+MODULE_DESCRIPTION("Ethernet driver for Ralink SoC");
|
+MODULE_DESCRIPTION("Ethernet driver for Ralink SoC");
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/ralink_soc_eth.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/ralink_soc_eth.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/ralink_soc_eth.h 2013-11-21 17:05:21.368594293 +0100
|
|
||||||
@@ -0,0 +1,380 @@
|
@@ -0,0 +1,380 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -3995,10 +3963,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/ralink_soc_eth.h
|
||||||
+u32 fe_r32(unsigned reg);
|
+u32 fe_r32(unsigned reg);
|
||||||
+
|
+
|
||||||
+#endif /* FE_ETH_H */
|
+#endif /* FE_ETH_H */
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_mt7620.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/soc_mt7620.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/soc_mt7620.c 2013-11-21 17:13:18.808605675 +0100
|
|
||||||
@@ -0,0 +1,154 @@
|
@@ -0,0 +1,154 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -4154,10 +4120,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_mt7620.c
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_rt2880.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/soc_rt2880.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/soc_rt2880.c 2013-11-21 15:20:28.684444349 +0100
|
|
||||||
@@ -0,0 +1,51 @@
|
@@ -0,0 +1,51 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -4210,10 +4174,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_rt2880.c
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_rt305x.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/soc_rt305x.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/soc_rt305x.c 2013-11-21 15:20:28.684444349 +0100
|
|
||||||
@@ -0,0 +1,113 @@
|
@@ -0,0 +1,113 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -4328,10 +4290,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_rt305x.c
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_rt3883.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/soc_rt3883.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/soc_rt3883.c 2013-11-21 15:20:28.684444349 +0100
|
|
||||||
@@ -0,0 +1,60 @@
|
@@ -0,0 +1,60 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
+ * This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -4393,10 +4353,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/soc_rt3883.c
|
||||||
+
|
+
|
||||||
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
+MODULE_DEVICE_TABLE(of, of_fe_match);
|
||||||
+
|
+
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/mt7530.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/mt7530.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/mt7530.c 2013-11-21 19:36:18.720810129 +0100
|
|
||||||
@@ -0,0 +1,467 @@
|
@@ -0,0 +1,467 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or
|
+ * This program is free software; you can redistribute it and/or
|
||||||
|
@ -4865,10 +4823,8 @@ Index: linux-3.10.18/drivers/net/ethernet/ralink/mt7530.c
|
||||||
+
|
+
|
||||||
+ return 0;
|
+ return 0;
|
||||||
+}
|
+}
|
||||||
Index: linux-3.10.18/drivers/net/ethernet/ralink/mt7530.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/net/ethernet/ralink/mt7530.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/net/ethernet/ralink/mt7530.h 2013-11-21 15:20:28.684444349 +0100
|
|
||||||
@@ -0,0 +1,20 @@
|
@@ -0,0 +1,20 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This program is free software; you can redistribute it and/or
|
+ * This program is free software; you can redistribute it and/or
|
||||||
|
|
|
@ -14,11 +14,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||||
create mode 100644 drivers/mtd/maps/ralink_nand.c
|
create mode 100644 drivers/mtd/maps/ralink_nand.c
|
||||||
create mode 100644 drivers/mtd/maps/ralink_nand.h
|
create mode 100644 drivers/mtd/maps/ralink_nand.h
|
||||||
|
|
||||||
Index: linux-3.10.18/drivers/mtd/maps/Kconfig
|
--- a/drivers/mtd/maps/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Kconfig
|
||||||
--- linux-3.10.18.orig/drivers/mtd/maps/Kconfig 2013-11-17 17:50:02.049020043 +0100
|
@@ -424,4 +424,8 @@ config MTD_LATCH_ADDR
|
||||||
+++ linux-3.10.18/drivers/mtd/maps/Kconfig 2013-11-17 17:51:50.545024547 +0100
|
|
||||||
@@ -424,4 +424,8 @@
|
|
||||||
|
|
||||||
If compiled as a module, it will be called latch-addr-flash.
|
If compiled as a module, it will be called latch-addr-flash.
|
||||||
|
|
||||||
|
@ -27,20 +25,16 @@ Index: linux-3.10.18/drivers/mtd/maps/Kconfig
|
||||||
+ depends on RALINK && SOC_MT7620
|
+ depends on RALINK && SOC_MT7620
|
||||||
+
|
+
|
||||||
endmenu
|
endmenu
|
||||||
Index: linux-3.10.18/drivers/mtd/maps/Makefile
|
--- a/drivers/mtd/maps/Makefile
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Makefile
|
||||||
--- linux-3.10.18.orig/drivers/mtd/maps/Makefile 2013-11-17 17:50:02.049020043 +0100
|
@@ -46,3 +46,5 @@ obj-$(CONFIG_MTD_VMU) += vmu-flash.o
|
||||||
+++ linux-3.10.18/drivers/mtd/maps/Makefile 2013-11-17 17:51:50.545024547 +0100
|
|
||||||
@@ -46,3 +46,5 @@
|
|
||||||
obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
|
obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
|
||||||
obj-$(CONFIG_MTD_LATCH_ADDR) += latch-addr-flash.o
|
obj-$(CONFIG_MTD_LATCH_ADDR) += latch-addr-flash.o
|
||||||
obj-$(CONFIG_MTD_LANTIQ) += lantiq-flash.o
|
obj-$(CONFIG_MTD_LANTIQ) += lantiq-flash.o
|
||||||
+obj-$(CONFIG_MTD_NAND_MT7620) += ralink_nand.o
|
+obj-$(CONFIG_MTD_NAND_MT7620) += ralink_nand.o
|
||||||
+
|
+
|
||||||
Index: linux-3.10.18/drivers/mtd/maps/ralink_nand.c
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/ralink_nand.c
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/mtd/maps/ralink_nand.c 2013-11-17 17:51:50.549024547 +0100
|
|
||||||
@@ -0,0 +1,2136 @@
|
@@ -0,0 +1,2136 @@
|
||||||
+#define DEBUG
|
+#define DEBUG
|
||||||
+#include <linux/device.h>
|
+#include <linux/device.h>
|
||||||
|
@ -2178,10 +2172,8 @@ Index: linux-3.10.18/drivers/mtd/maps/ralink_nand.c
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
+MODULE_LICENSE("GPL");
|
+MODULE_LICENSE("GPL");
|
||||||
Index: linux-3.10.18/drivers/mtd/maps/ralink_nand.h
|
--- /dev/null
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/ralink_nand.h
|
||||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ linux-3.10.18/drivers/mtd/maps/ralink_nand.h 2013-11-17 17:51:50.549024547 +0100
|
|
||||||
@@ -0,0 +1,232 @@
|
@@ -0,0 +1,232 @@
|
||||||
+#ifndef RT2880_NAND_H
|
+#ifndef RT2880_NAND_H
|
||||||
+#define RT2880_NAND_H
|
+#define RT2880_NAND_H
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-3.10.18/arch/mips/include/asm/mach-ralink/mt7620.h
|
--- a/arch/mips/include/asm/mach-ralink/mt7620.h
|
||||||
===================================================================
|
+++ b/arch/mips/include/asm/mach-ralink/mt7620.h
|
||||||
--- linux-3.10.18.orig/arch/mips/include/asm/mach-ralink/mt7620.h 2013-11-17 17:50:01.773020032 +0100
|
|
||||||
+++ linux-3.10.18/arch/mips/include/asm/mach-ralink/mt7620.h 2013-11-17 17:52:24.373025950 +0100
|
|
||||||
@@ -24,11 +24,8 @@
|
@@ -24,11 +24,8 @@
|
||||||
#define SYSC_REG_CPLL_CONFIG0 0x54
|
#define SYSC_REG_CPLL_CONFIG0 0x54
|
||||||
#define SYSC_REG_CPLL_CONFIG1 0x58
|
#define SYSC_REG_CPLL_CONFIG1 0x58
|
||||||
|
@ -16,11 +14,9 @@ Index: linux-3.10.18/arch/mips/include/asm/mach-ralink/mt7620.h
|
||||||
|
|
||||||
#define CHIP_REV_PKG_MASK 0x1
|
#define CHIP_REV_PKG_MASK 0x1
|
||||||
#define CHIP_REV_PKG_SHIFT 16
|
#define CHIP_REV_PKG_SHIFT 16
|
||||||
Index: linux-3.10.18/arch/mips/ralink/mt7620.c
|
--- a/arch/mips/ralink/mt7620.c
|
||||||
===================================================================
|
+++ b/arch/mips/ralink/mt7620.c
|
||||||
--- linux-3.10.18.orig/arch/mips/ralink/mt7620.c 2013-11-17 17:50:01.773020032 +0100
|
@@ -167,22 +167,27 @@ void prom_soc_init(struct ralink_soc_inf
|
||||||
+++ linux-3.10.18/arch/mips/ralink/mt7620.c 2013-11-17 17:52:24.373025950 +0100
|
|
||||||
@@ -167,22 +167,27 @@
|
|
||||||
u32 cfg0;
|
u32 cfg0;
|
||||||
u32 pmu0;
|
u32 pmu0;
|
||||||
u32 pmu1;
|
u32 pmu1;
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=rb532
|
||||||
BOARDNAME:=Mikrotik RouterBoard 532
|
BOARDNAME:=Mikrotik RouterBoard 532
|
||||||
FEATURES:=pci targz broken
|
FEATURES:=pci targz broken
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += wpad-mini kmod-madwifi kmod-input-rb532
|
DEFAULT_PACKAGES += wpad-mini kmod-madwifi kmod-input-rb532
|
||||||
|
|
|
@ -14,7 +14,7 @@ CPU_TYPE:=mpcore
|
||||||
CPU_SUBTYPE:=vfp
|
CPU_SUBTYPE:=vfp
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
DEVICE_TYPE:=developerboard
|
DEVICE_TYPE:=developerboard
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=sparc
|
||||||
BOARDNAME:=Sun UltraSPARC
|
BOARDNAME:=Sun UltraSPARC
|
||||||
FEATURES+=fpu tgz ext4 squashfs broken
|
FEATURES+=fpu tgz ext4 squashfs broken
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
|
@ -19,7 +19,7 @@ DEFAULT_PACKAGES += \
|
||||||
kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
|
kmod-ledtrig-heartbeat kmod-ledtrig-gpio \
|
||||||
kmod-ledtrig-netdev \
|
kmod-ledtrig-netdev \
|
||||||
kmod-cpu-msr hwclock wpad
|
kmod-cpu-msr hwclock wpad
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
CS5535_MASK:=0x0b000042
|
CS5535_MASK:=0x0b000042
|
||||||
|
|
||||||
CPU_TYPE := geode
|
CPU_TYPE := geode
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
BOARDNAME:=Generic
|
BOARDNAME:=Generic
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for x86 based boards
|
Build firmware images for x86 based boards
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=Ingenic XBurst
|
||||||
FEATURES:=targz ubifs audio
|
FEATURES:=targz ubifs audio
|
||||||
SUBTARGETS:=qi_lb60 n516 n526 id800wt
|
SUBTARGETS:=qi_lb60 n516 n526 id800wt
|
||||||
|
|
||||||
LINUX_VERSION:=3.10.18
|
LINUX_VERSION:=3.10.21
|
||||||
|
|
||||||
DEVICE_TYPE=other
|
DEVICE_TYPE=other
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue