summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-19 07:16:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-19 07:16:54 +0000
commit518fb1a488ccdfb1337388dd3913ef2344755826 (patch)
tree604445e07f8e73b5a3ebb21c81b4a16ef582c3f5 /target
parentb0b3bc5f009249df74c13ec0dc6087cf1943b318 (diff)
downloadmtk-20170518-518fb1a488ccdfb1337388dd3913ef2344755826.zip
mtk-20170518-518fb1a488ccdfb1337388dd3913ef2344755826.tar.gz
mtk-20170518-518fb1a488ccdfb1337388dd3913ef2344755826.tar.bz2
refresh kernel patches
SVN-Revision: 11197
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/patches-2.6.23/100-board.patch34
-rw-r--r--target/linux/atheros/patches-2.6.23/110-spiflash.patch18
-rw-r--r--target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch16
-rw-r--r--target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch12
-rw-r--r--target/linux/atheros/patches-2.6.23/150-bridge-printk.patch10
-rw-r--r--target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch18
-rw-r--r--target/linux/atheros/patches-2.6.24/100-board.patch44
-rw-r--r--target/linux/atheros/patches-2.6.24/110-spiflash.patch24
-rw-r--r--target/linux/atheros/patches-2.6.24/130-ar2313_ethernet.patch22
-rw-r--r--target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch12
-rw-r--r--target/linux/atheros/patches-2.6.24/150-bridge-printk.patch10
-rw-r--r--target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch6
-rw-r--r--target/linux/atheros/patches-2.6.24/901-get_c0_compare_irq_function.patch18
-rw-r--r--target/linux/atheros/patches-2.6.25/100-board.patch18
-rw-r--r--target/linux/atheros/patches-2.6.25/110-spiflash.patch12
-rw-r--r--target/linux/atheros/patches-2.6.25/130-ar2313_ethernet.patch12
-rw-r--r--target/linux/atheros/patches-2.6.25/140-redboot_partition_scan.patch6
-rw-r--r--target/linux/atheros/patches-2.6.25/150-bridge-printk.patch6
-rw-r--r--target/linux/atheros/patches-2.6.25/200-ar2313_enable_mvswitch.patch18
-rw-r--r--target/linux/atheros/patches-2.6.25/900-cevt_r4k_irq_disable_hazard.patch6
-rw-r--r--target/linux/atheros/patches-2.6.25/901-get_c0_compare_irq_function.patch18
21 files changed, 176 insertions, 164 deletions
diff --git a/target/linux/atheros/patches-2.6.23/100-board.patch b/target/linux/atheros/patches-2.6.23/100-board.patch
index 28509a3..a3eef30 100644
--- a/target/linux/atheros/patches-2.6.23/100-board.patch
+++ b/target/linux/atheros/patches-2.6.23/100-board.patch
@@ -1,7 +1,8 @@
-diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
---- linux.old/arch/mips/Kconfig 2007-02-02 23:55:52.912446784 +0100
-+++ linux.dev/arch/mips/Kconfig 2007-02-03 21:50:25.262027104 +0100
-@@ -44,6 +44,16 @@
+Index: linux-2.6.23.17/arch/mips/Kconfig
+===================================================================
+--- linux-2.6.23.17.orig/arch/mips/Kconfig
++++ linux-2.6.23.17/arch/mips/Kconfig
+@@ -44,6 +44,16 @@ config BASLER_EXCITE_PROTOTYPE
note that a kernel built with this option selected will not be
able to run on normal units.
@@ -18,7 +19,7 @@ diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
config MIPS_COBALT
bool "Cobalt Server"
select DMA_NONCOHERENT
-@@ -597,6 +607,7 @@
+@@ -597,6 +607,7 @@ config WR_PPMC
endchoice
@@ -26,10 +27,11 @@ diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
source "arch/mips/au1000/Kconfig"
source "arch/mips/jazz/Kconfig"
source "arch/mips/pmc-sierra/Kconfig"
-diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile
---- linux.old/arch/mips/Makefile 2007-02-02 23:55:52.913446632 +0100
-+++ linux.dev/arch/mips/Makefile 2007-02-03 17:40:29.193776000 +0100
-@@ -267,6 +267,13 @@
+Index: linux-2.6.23.17/arch/mips/Makefile
+===================================================================
+--- linux-2.6.23.17.orig/arch/mips/Makefile
++++ linux-2.6.23.17/arch/mips/Makefile
+@@ -270,6 +270,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
#
@@ -43,12 +45,13 @@ diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile
# Cobalt Server
#
core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
-diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/bootinfo.h
---- linux.old/include/asm-mips/bootinfo.h 2007-02-02 23:55:52.913446632 +0100
-+++ linux.dev/include/asm-mips/bootinfo.h 2007-02-03 17:51:02.531494032 +0100
-@@ -213,6 +213,18 @@
- #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
- #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
+Index: linux-2.6.23.17/include/asm-mips/bootinfo.h
+===================================================================
+--- linux-2.6.23.17.orig/include/asm-mips/bootinfo.h
++++ linux-2.6.23.17/include/asm-mips/bootinfo.h
+@@ -208,6 +208,18 @@
+ #define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
+ #define MACH_WRPPMC 1
+/*
+ * Valid machtype for group ATHEROS
@@ -65,4 +68,3 @@ diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/booti
#define CL_SIZE COMMAND_LINE_SIZE
const char *get_system_type(void);
-
diff --git a/target/linux/atheros/patches-2.6.23/110-spiflash.patch b/target/linux/atheros/patches-2.6.23/110-spiflash.patch
index fc4ef4c..1199cba 100644
--- a/target/linux/atheros/patches-2.6.23/110-spiflash.patch
+++ b/target/linux/atheros/patches-2.6.23/110-spiflash.patch
@@ -1,7 +1,8 @@
-diff -urN linux.old/drivers/mtd/devices/Kconfig linux.dev/drivers/mtd/devices/Kconfig
---- linux.old/drivers/mtd/devices/Kconfig 2007-02-04 04:30:26.145338240 +0100
-+++ linux.dev/drivers/mtd/devices/Kconfig 2007-02-02 23:48:28.748969000 +0100
-@@ -76,6 +76,10 @@
+Index: linux-2.6.23.17/drivers/mtd/devices/Kconfig
+===================================================================
+--- linux-2.6.23.17.orig/drivers/mtd/devices/Kconfig
++++ linux-2.6.23.17/drivers/mtd/devices/Kconfig
+@@ -76,6 +76,10 @@ config MTD_M25P80
used for program and data storage. Set up your spi devices
with the right board-specific platform data.
@@ -12,10 +13,11 @@ diff -urN linux.old/drivers/mtd/devices/Kconfig linux.dev/drivers/mtd/devices/Kc
config MTD_SLRAM
tristate "Uncached system RAM"
help
-diff -urN linux.old/drivers/mtd/devices/Makefile linux.dev/drivers/mtd/devices/Makefile
---- linux.old/drivers/mtd/devices/Makefile 2007-02-04 04:30:26.146338088 +0100
-+++ linux.dev/drivers/mtd/devices/Makefile 2007-02-02 23:48:28.749969000 +0100
-@@ -18,3 +18,4 @@
+Index: linux-2.6.23.17/drivers/mtd/devices/Makefile
+===================================================================
+--- linux-2.6.23.17.orig/drivers/mtd/devices/Makefile
++++ linux-2.6.23.17/drivers/mtd/devices/Makefile
+@@ -18,3 +18,4 @@ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
obj-$(CONFIG_MTD_DATAFLASH26) += at91_dataflash26.o
obj-$(CONFIG_MTD_M25P80) += m25p80.o
diff --git a/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch
index 721eba6..99dc439 100644
--- a/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.23/130-ar2313_ethernet.patch
@@ -1,8 +1,8 @@
-Index: linux-2.6.23/drivers/net/Kconfig
+Index: linux-2.6.23.17/drivers/net/Kconfig
===================================================================
---- linux-2.6.23.orig/drivers/net/Kconfig 2007-10-14 00:55:22.000000000 +0200
-+++ linux-2.6.23/drivers/net/Kconfig 2007-10-14 00:56:32.000000000 +0200
-@@ -348,6 +348,12 @@
+--- linux-2.6.23.17.orig/drivers/net/Kconfig
++++ linux-2.6.23.17/drivers/net/Kconfig
+@@ -348,6 +348,12 @@ config AX88796
AX88796 driver, using platform bus to provide
chip detection and resources
@@ -15,11 +15,11 @@ Index: linux-2.6.23/drivers/net/Kconfig
config MACE
tristate "MACE (Power Mac ethernet) support"
depends on PPC_PMAC && PPC32
-Index: linux-2.6.23/drivers/net/Makefile
+Index: linux-2.6.23.17/drivers/net/Makefile
===================================================================
---- linux-2.6.23.orig/drivers/net/Makefile 2007-10-14 00:55:22.000000000 +0200
-+++ linux-2.6.23/drivers/net/Makefile 2007-10-14 00:56:55.000000000 +0200
-@@ -182,6 +182,7 @@
+--- linux-2.6.23.17.orig/drivers/net/Makefile
++++ linux-2.6.23.17/drivers/net/Makefile
+@@ -182,6 +182,7 @@ obj-$(CONFIG_EQUALIZER) += eql.o
obj-$(CONFIG_LGUEST_NET) += lguest_net.o
obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
obj-$(CONFIG_MIPS_AU1X00_ENET) += au1000_eth.o
diff --git a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch b/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
index de4ebeb..2727d96 100644
--- a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
+++ b/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
@@ -1,7 +1,8 @@
-diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
---- linux.old/drivers/mtd/redboot.c 2006-12-14 23:53:29.000000000 +0100
-+++ linux.dev/drivers/mtd/redboot.c 2006-12-16 04:23:42.000000000 +0100
-@@ -64,6 +64,7 @@
+Index: linux-2.6.23.17/drivers/mtd/redboot.c
+===================================================================
+--- linux-2.6.23.17.orig/drivers/mtd/redboot.c
++++ linux-2.6.23.17/drivers/mtd/redboot.c
+@@ -64,6 +64,7 @@ static int parse_redboot_partitions(stru
if (!buf)
return -ENOMEM;
@@ -9,7 +10,7 @@ diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
if ( directory < 0 )
offset = master->size + directory*master->erasesize;
else
-@@ -140,6 +141,11 @@
+@@ -140,6 +141,11 @@ static int parse_redboot_partitions(stru
}
if (i == numslots) {
/* Didn't find it */
@@ -21,4 +22,3 @@ diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
printk(KERN_NOTICE "No RedBoot partition table detected in %s\n",
master->name);
ret = 0;
-
diff --git a/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch b/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch
index 0a35d89..ad8c57f 100644
--- a/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch
+++ b/target/linux/atheros/patches-2.6.23/150-bridge-printk.patch
@@ -1,6 +1,8 @@
---- linux-2.6.23.orig/net/core/dev.c 2007-10-12 23:42:06.000000000 +0200
-+++ linux-2.6.23/net/core/dev.c 2007-10-12 23:44:22.000000000 +0200
-@@ -3425,8 +3425,8 @@
+Index: linux-2.6.23.17/net/core/dev.c
+===================================================================
+--- linux-2.6.23.17.orig/net/core/dev.c
++++ linux-2.6.23.17/net/core/dev.c
+@@ -3426,8 +3426,8 @@ int register_netdevice(struct net_device
/* Fix illegal SG+CSUM combinations. */
if ((dev->features & NETIF_F_SG) &&
!(dev->features & NETIF_F_ALL_CSUM)) {
@@ -11,7 +13,7 @@
dev->features &= ~NETIF_F_SG;
}
-@@ -3439,9 +3439,9 @@
+@@ -3440,9 +3440,9 @@ int register_netdevice(struct net_device
}
if (dev->features & NETIF_F_UFO) {
if (!(dev->features & NETIF_F_HW_CSUM)) {
diff --git a/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch b/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
index fb89bdb..ddf7d1d 100644
--- a/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
+++ b/target/linux/atheros/patches-2.6.23/200-ar2313_enable_mvswitch.patch
@@ -1,8 +1,8 @@
-Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c
+Index: linux-2.6.23.17/drivers/net/ar2313/ar2313.c
===================================================================
---- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.c 2008-04-29 14:51:39.000000000 +0200
-+++ linux-2.6.23.16/drivers/net/ar2313/ar2313.c 2008-04-29 14:52:14.000000000 +0200
-@@ -953,9 +953,9 @@
+--- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.c
++++ linux-2.6.23.17/drivers/net/ar2313/ar2313.c
+@@ -953,9 +953,9 @@ static int ar2313_rx_int(struct net_devi
((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
dev->stats.rx_bytes += skb->len;
@@ -14,7 +14,7 @@ Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c
skb_new->dev = dev;
/* 16 bit align */
-@@ -1370,6 +1370,8 @@
+@@ -1370,6 +1370,8 @@ static int mdiobus_probe (struct net_dev
return PTR_ERR(phydev);
}
@@ -23,11 +23,11 @@ Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c
/* mask with MAC supported features */
phydev->supported &= (SUPPORTED_10baseT_Half
| SUPPORTED_10baseT_Full
-Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.h
+Index: linux-2.6.23.17/drivers/net/ar2313/ar2313.h
===================================================================
---- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.h 2008-04-29 14:51:39.000000000 +0200
-+++ linux-2.6.23.16/drivers/net/ar2313/ar2313.h 2008-04-29 14:52:15.000000000 +0200
-@@ -107,6 +107,8 @@
+--- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.h
++++ linux-2.6.23.17/drivers/net/ar2313/ar2313.h
+@@ -107,6 +107,8 @@ typedef struct {
*/
struct ar2313_private {
struct net_device *dev;
diff --git a/target/linux/atheros/patches-2.6.24/100-board.patch b/target/linux/atheros/patches-2.6.24/100-board.patch
index f1a0d06..ee04957 100644
--- a/target/linux/atheros/patches-2.6.24/100-board.patch
+++ b/target/linux/atheros/patches-2.6.24/100-board.patch
@@ -1,9 +1,10 @@
-diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
---- linux.old/arch/mips/Kconfig 2007-02-02 23:55:52.912446784 +0100
-+++ linux.dev/arch/mips/Kconfig 2007-02-03 21:50:25.262027104 +0100
-@@ -45,6 +45,18 @@
- note that a kernel built with this option selected will not be
- able to run on normal units.
+Index: linux-2.6.24.7/arch/mips/Kconfig
+===================================================================
+--- linux-2.6.24.7.orig/arch/mips/Kconfig
++++ linux-2.6.24.7/arch/mips/Kconfig
+@@ -67,6 +67,18 @@ config BCM47XX
+ help
+ Support for BCM47XX based boards
+config ATHEROS
+ bool "Atheros SoC support (EXPERIMENTAL)"
@@ -19,19 +20,20 @@ diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
+
config MIPS_COBALT
bool "Cobalt Server"
- select DMA_NONCOHERENT
-@@ -658,6 +668,7 @@
+ select CEVT_R4K
+@@ -689,6 +701,7 @@ config WR_PPMC
endchoice
+source "arch/mips/atheros/Kconfig"
source "arch/mips/au1000/Kconfig"
- source "arch/mips/ddb5xxx/Kconfig"
- source "arch/mips/gt64120/ev64120/Kconfig"
-diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile
---- linux.old/arch/mips/Makefile 2007-02-02 23:55:52.913446632 +0100
-+++ linux.dev/arch/mips/Makefile 2007-02-03 17:40:29.193776000 +0100
-@@ -267,6 +267,13 @@
+ source "arch/mips/jazz/Kconfig"
+ source "arch/mips/lasat/Kconfig"
+Index: linux-2.6.24.7/arch/mips/Makefile
+===================================================================
+--- linux-2.6.24.7.orig/arch/mips/Makefile
++++ linux-2.6.24.7/arch/mips/Makefile
+@@ -268,6 +268,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
#
@@ -45,12 +47,13 @@ diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile
# Cobalt Server
#
core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
-diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/bootinfo.h
---- linux.old/include/asm-mips/bootinfo.h 2007-02-02 23:55:52.913446632 +0100
-+++ linux.dev/include/asm-mips/bootinfo.h 2007-02-03 17:51:02.531494032 +0100
-@@ -213,6 +213,18 @@
- #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
- #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
+Index: linux-2.6.24.7/include/asm-mips/bootinfo.h
+===================================================================
+--- linux-2.6.24.7.orig/include/asm-mips/bootinfo.h
++++ linux-2.6.24.7/include/asm-mips/bootinfo.h
+@@ -198,6 +198,18 @@
+ #define MACH_GROUP_BRCM 23 /* Broadcom */
+ #define MACH_BCM47XX 1 /* Broadcom BCM47XX */
+/*
+ * Valid machtype for group ATHEROS
@@ -67,4 +70,3 @@ diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/booti
#define CL_SIZE COMMAND_LINE_SIZE
const char *get_system_type(void);
-
diff --git a/target/linux/atheros/patches-2.6.24/110-spiflash.patch b/target/linux/atheros/patches-2.6.24/110-spiflash.patch
index fc4ef4c..1e40a6b 100644
--- a/target/linux/atheros/patches-2.6.24/110-spiflash.patch
+++ b/target/linux/atheros/patches-2.6.24/110-spiflash.patch
@@ -1,9 +1,10 @@
-diff -urN linux.old/drivers/mtd/devices/Kconfig linux.dev/drivers/mtd/devices/Kconfig
---- linux.old/drivers/mtd/devices/Kconfig 2007-02-04 04:30:26.145338240 +0100
-+++ linux.dev/drivers/mtd/devices/Kconfig 2007-02-02 23:48:28.748969000 +0100
-@@ -76,6 +76,10 @@
- used for program and data storage. Set up your spi devices
- with the right board-specific platform data.
+Index: linux-2.6.24.7/drivers/mtd/devices/Kconfig
+===================================================================
+--- linux-2.6.24.7.orig/drivers/mtd/devices/Kconfig
++++ linux-2.6.24.7/drivers/mtd/devices/Kconfig
+@@ -77,6 +77,10 @@ config MTD_M25P80
+ if you want to specify device partitioning or to use a device which
+ doesn't support the JEDEC ID instruction.
+config MTD_SPIFLASH
+ tristate "Atheros AR2315/6/7 SPI Flash support"
@@ -12,11 +13,12 @@ diff -urN linux.old/drivers/mtd/devices/Kconfig linux.dev/drivers/mtd/devices/Kc
config MTD_SLRAM
tristate "Uncached system RAM"
help
-diff -urN linux.old/drivers/mtd/devices/Makefile linux.dev/drivers/mtd/devices/Makefile
---- linux.old/drivers/mtd/devices/Makefile 2007-02-04 04:30:26.146338088 +0100
-+++ linux.dev/drivers/mtd/devices/Makefile 2007-02-02 23:48:28.749969000 +0100
-@@ -18,3 +18,4 @@
+Index: linux-2.6.24.7/drivers/mtd/devices/Makefile
+===================================================================
+--- linux-2.6.24.7.orig/drivers/mtd/devices/Makefile
++++ linux-2.6.24.7/drivers/mtd/devices/Makefile
+@@ -17,3 +17,4 @@ obj-$(CONFIG_MTD_LART) += lart.o
+ obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
- obj-$(CONFIG_MTD_DATAFLASH26) += at91_dataflash26.o
obj-$(CONFIG_MTD_M25P80) += m25p80.o
+obj-$(CONFIG_MTD_SPIFLASH) += spiflash.o
diff --git a/target/linux/atheros/patches-2.6.24/130-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.24/130-ar2313_ethernet.patch
index 721eba6..f99dbbf 100644
--- a/target/linux/atheros/patches-2.6.24/130-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.24/130-ar2313_ethernet.patch
@@ -1,10 +1,10 @@
-Index: linux-2.6.23/drivers/net/Kconfig
+Index: linux-2.6.24.7/drivers/net/Kconfig
===================================================================
---- linux-2.6.23.orig/drivers/net/Kconfig 2007-10-14 00:55:22.000000000 +0200
-+++ linux-2.6.23/drivers/net/Kconfig 2007-10-14 00:56:32.000000000 +0200
-@@ -348,6 +348,12 @@
- AX88796 driver, using platform bus to provide
- chip detection and resources
+--- linux-2.6.24.7.orig/drivers/net/Kconfig
++++ linux-2.6.24.7/drivers/net/Kconfig
+@@ -362,6 +362,12 @@ config AX88796_93CX6
+ help
+ Select this if your platform comes with an external 93CX6 eeprom.
+config AR2313
+ tristate "AR2313 Ethernet support"
@@ -15,12 +15,12 @@ Index: linux-2.6.23/drivers/net/Kconfig
config MACE
tristate "MACE (Power Mac ethernet) support"
depends on PPC_PMAC && PPC32
-Index: linux-2.6.23/drivers/net/Makefile
+Index: linux-2.6.24.7/drivers/net/Makefile
===================================================================
---- linux-2.6.23.orig/drivers/net/Makefile 2007-10-14 00:55:22.000000000 +0200
-+++ linux-2.6.23/drivers/net/Makefile 2007-10-14 00:56:55.000000000 +0200
-@@ -182,6 +182,7 @@
- obj-$(CONFIG_LGUEST_NET) += lguest_net.o
+--- linux-2.6.24.7.orig/drivers/net/Makefile
++++ linux-2.6.24.7/drivers/net/Makefile
+@@ -190,6 +190,7 @@ obj-$(CONFIG_MVME147_NET) += mvme147.o 7
+ obj-$(CONFIG_EQUALIZER) += eql.o
obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
obj-$(CONFIG_MIPS_AU1X00_ENET) += au1000_eth.o
+obj-$(CONFIG_AR2313) += ar2313/
diff --git a/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch b/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
index de4ebeb..71a60cb 100644
--- a/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
+++ b/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
@@ -1,7 +1,8 @@
-diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
---- linux.old/drivers/mtd/redboot.c 2006-12-14 23:53:29.000000000 +0100
-+++ linux.dev/drivers/mtd/redboot.c 2006-12-16 04:23:42.000000000 +0100
-@@ -64,6 +64,7 @@
+Index: linux-2.6.24.7/drivers/mtd/redboot.c
+===================================================================
+--- linux-2.6.24.7.orig/drivers/mtd/redboot.c
++++ linux-2.6.24.7/drivers/mtd/redboot.c
+@@ -64,6 +64,7 @@ static int parse_redboot_partitions(stru
if (!buf)
return -ENOMEM;
@@ -9,7 +10,7 @@ diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
if ( directory < 0 )
offset = master->size + directory*master->erasesize;
else
-@@ -140,6 +141,11 @@
+@@ -140,6 +141,11 @@ static int parse_redboot_partitions(stru
}
if (i == numslots) {
/* Didn't find it */
@@ -21,4 +22,3 @@ diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
printk(KERN_NOTICE "No RedBoot partition table detected in %s\n",
master->name);
ret = 0;
-
diff --git a/target/linux/atheros/patches-2.6.24/150-bridge-printk.patch b/target/linux/atheros/patches-2.6.24/150-bridge-printk.patch
index 0a35d89..f9451bd 100644
--- a/target/linux/atheros/patches-2.6.24/150-bridge-printk.patch
+++ b/target/linux/atheros/patches-2.6.24/150-bridge-printk.patch
@@ -1,6 +1,8 @@
---- linux-2.6.23.orig/net/core/dev.c 2007-10-12 23:42:06.000000000 +0200
-+++ linux-2.6.23/net/core/dev.c 2007-10-12 23:44:22.000000000 +0200
-@@ -3425,8 +3425,8 @@
+Index: linux-2.6.24.7/net/core/dev.c
+===================================================================
+--- linux-2.6.24.7.orig/net/core/dev.c
++++ linux-2.6.24.7/net/core/dev.c
+@@ -3666,8 +3666,8 @@ int register_netdevice(struct net_device
/* Fix illegal SG+CSUM combinations. */
if ((dev->features & NETIF_F_SG) &&
!(dev->features & NETIF_F_ALL_CSUM)) {
@@ -11,7 +13,7 @@
dev->features &= ~NETIF_F_SG;
}
-@@ -3439,9 +3439,9 @@
+@@ -3680,9 +3680,9 @@ int register_netdevice(struct net_device
}
if (dev->features & NETIF_F_UFO) {
if (!(dev->features & NETIF_F_HW_CSUM)) {
diff --git a/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch b/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch
index d5e6062..135a8e6 100644
--- a/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch
+++ b/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.24.2/arch/mips/kernel/cevt-r4k.c
+Index: linux-2.6.24.7/arch/mips/kernel/cevt-r4k.c
===================================================================
---- linux-2.6.24.2.orig/arch/mips/kernel/cevt-r4k.c
-+++ linux-2.6.24.2/arch/mips/kernel/cevt-r4k.c
+--- linux-2.6.24.7.orig/arch/mips/kernel/cevt-r4k.c
++++ linux-2.6.24.7/arch/mips/kernel/cevt-r4k.c
@@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
while ((int)(read_c0_count() - cnt) <= 0)
; /* Wait for expiry */
diff --git a/target/linux/atheros/patches-2.6.24/901-get_c0_compare_irq_function.patch b/target/linux/atheros/patches-2.6.24/901-get_c0_compare_irq_function.patch
index fe05812..e9b071f 100644
--- a/target/linux/atheros/patches-2.6.24/901-get_c0_compare_irq_function.patch
+++ b/target/linux/atheros/patches-2.6.24/901-get_c0_compare_irq_function.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.24.2/arch/mips/kernel/traps.c
+Index: linux-2.6.24.7/arch/mips/kernel/traps.c
===================================================================
---- linux-2.6.24.2.orig/arch/mips/kernel/traps.c
-+++ linux-2.6.24.2/arch/mips/kernel/traps.c
+--- linux-2.6.24.7.orig/arch/mips/kernel/traps.c
++++ linux-2.6.24.7/arch/mips/kernel/traps.c
@@ -42,6 +42,7 @@
#include <asm/mmu_context.h>
#include <asm/types.h>
@@ -19,10 +19,10 @@ Index: linux-2.6.24.2/arch/mips/kernel/traps.c
cp0_perfcount_irq = (read_c0_intctl() >> 26) & 7;
if (cp0_perfcount_irq == cp0_compare_irq)
cp0_perfcount_irq = -1;
-Index: linux-2.6.24.2/include/asm-mips/time.h
+Index: linux-2.6.24.7/include/asm-mips/time.h
===================================================================
---- linux-2.6.24.2.orig/include/asm-mips/time.h
-+++ linux-2.6.24.2/include/asm-mips/time.h
+--- linux-2.6.24.7.orig/include/asm-mips/time.h
++++ linux-2.6.24.7/include/asm-mips/time.h
@@ -60,6 +60,7 @@ extern int (*perf_irq)(void);
#ifdef CONFIG_CEVT_R4K
extern int mips_clockevent_init(void);
@@ -31,10 +31,10 @@ Index: linux-2.6.24.2/include/asm-mips/time.h
#else
static inline int mips_clockevent_init(void)
{
-Index: linux-2.6.24.2/arch/mips/atheros/board.c
+Index: linux-2.6.24.7/arch/mips/atheros/board.c
===================================================================
---- linux-2.6.24.2.orig/arch/mips/atheros/board.c
-+++ linux-2.6.24.2/arch/mips/atheros/board.c
+--- linux-2.6.24.7.orig/arch/mips/atheros/board.c
++++ linux-2.6.24.7/arch/mips/atheros/board.c
@@ -205,6 +205,11 @@ void (*board_time_init)(void);
void __init plat_time_init(void) {
board_time_init();
diff --git a/target/linux/atheros/patches-2.6.25/100-board.patch b/target/linux/atheros/patches-2.6.25/100-board.patch
index 30f001a..fc3bb45 100644
--- a/target/linux/atheros/patches-2.6.25/100-board.patch
+++ b/target/linux/atheros/patches-2.6.25/100-board.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/arch/mips/Kconfig
+Index: linux-2.6.25.4/arch/mips/Kconfig
===================================================================
---- linux-2.6.25.1.orig/arch/mips/Kconfig
-+++ linux-2.6.25.1/arch/mips/Kconfig
+--- linux-2.6.25.4.orig/arch/mips/Kconfig
++++ linux-2.6.25.4/arch/mips/Kconfig
@@ -59,6 +59,18 @@ config BCM47XX
help
Support for BCM47XX based boards
@@ -29,10 +29,10 @@ Index: linux-2.6.25.1/arch/mips/Kconfig
source "arch/mips/au1000/Kconfig"
source "arch/mips/basler/excite/Kconfig"
source "arch/mips/jazz/Kconfig"
-Index: linux-2.6.25.1/arch/mips/Makefile
+Index: linux-2.6.25.4/arch/mips/Makefile
===================================================================
---- linux-2.6.25.1.orig/arch/mips/Makefile
-+++ linux-2.6.25.1/arch/mips/Makefile
+--- linux-2.6.25.4.orig/arch/mips/Makefile
++++ linux-2.6.25.4/arch/mips/Makefile
@@ -276,6 +276,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
@@ -47,10 +47,10 @@ Index: linux-2.6.25.1/arch/mips/Makefile
# Cobalt Server
#
core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
-Index: linux-2.6.25.1/include/asm-mips/bootinfo.h
+Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
===================================================================
---- linux-2.6.25.1.orig/include/asm-mips/bootinfo.h
-+++ linux-2.6.25.1/include/asm-mips/bootinfo.h
+--- linux-2.6.25.4.orig/include/asm-mips/bootinfo.h
++++ linux-2.6.25.4/include/asm-mips/bootinfo.h
@@ -94,6 +94,18 @@
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
diff --git a/target/linux/atheros/patches-2.6.25/110-spiflash.patch b/target/linux/atheros/patches-2.6.25/110-spiflash.patch
index bb66f02..3363f11 100644
--- a/target/linux/atheros/patches-2.6.25/110-spiflash.patch
+++ b/target/linux/atheros/patches-2.6.25/110-spiflash.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/drivers/mtd/devices/Kconfig
+Index: linux-2.6.25.4/drivers/mtd/devices/Kconfig
===================================================================
---- linux-2.6.25.1.orig/drivers/mtd/devices/Kconfig
-+++ linux-2.6.25.1/drivers/mtd/devices/Kconfig
+--- linux-2.6.25.4.orig/drivers/mtd/devices/Kconfig
++++ linux-2.6.25.4/drivers/mtd/devices/Kconfig
@@ -77,6 +77,10 @@ config MTD_M25P80
if you want to specify device partitioning or to use a device which
doesn't support the JEDEC ID instruction.
@@ -13,10 +13,10 @@ Index: linux-2.6.25.1/drivers/mtd/devices/Kconfig
config MTD_SLRAM
tristate "Uncached system RAM"
help
-Index: linux-2.6.25.1/drivers/mtd/devices/Makefile
+Index: linux-2.6.25.4/drivers/mtd/devices/Makefile
===================================================================
---- linux-2.6.25.1.orig/drivers/mtd/devices/Makefile
-+++ linux-2.6.25.1/drivers/mtd/devices/Makefile
+--- linux-2.6.25.4.orig/drivers/mtd/devices/Makefile
++++ linux-2.6.25.4/drivers/mtd/devices/Makefile
@@ -17,3 +17,4 @@ obj-$(CONFIG_MTD_LART) += lart.o
obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o
obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o
diff --git a/target/linux/atheros/patches-2.6.25/130-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.25/130-ar2313_ethernet.patch
index 2d2ce45..a0403c3 100644
--- a/target/linux/atheros/patches-2.6.25/130-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.25/130-ar2313_ethernet.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/drivers/net/Kconfig
+Index: linux-2.6.25.4/drivers/net/Kconfig
===================================================================
---- linux-2.6.25.1.orig/drivers/net/Kconfig
-+++ linux-2.6.25.1/drivers/net/Kconfig
+--- linux-2.6.25.4.orig/drivers/net/Kconfig
++++ linux-2.6.25.4/drivers/net/Kconfig
@@ -367,6 +367,12 @@ config AX88796_93CX6
help
Select this if your platform comes with an external 93CX6 eeprom.
@@ -15,10 +15,10 @@ Index: linux-2.6.25.1/drivers/net/Kconfig
config MACE
tristate "MACE (Power Mac ethernet) support"
depends on PPC_PMAC && PPC32
-Index: linux-2.6.25.1/drivers/net/Makefile
+Index: linux-2.6.25.4/drivers/net/Makefile
===================================================================
---- linux-2.6.25.1.orig/drivers/net/Makefile
-+++ linux-2.6.25.1/drivers/net/Makefile
+--- linux-2.6.25.4.orig/drivers/net/Makefile
++++ linux-2.6.25.4/drivers/net/Makefile
@@ -194,6 +194,7 @@ obj-$(CONFIG_MVME147_NET) += mvme147.o 7
obj-$(CONFIG_EQUALIZER) += eql.o
obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o
diff --git a/target/linux/atheros/patches-2.6.25/140-redboot_partition_scan.patch b/target/linux/atheros/patches-2.6.25/140-redboot_partition_scan.patch
index 467fcad..37dcc67 100644
--- a/target/linux/atheros/patches-2.6.25/140-redboot_partition_scan.patch
+++ b/target/linux/atheros/patches-2.6.25/140-redboot_partition_scan.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/drivers/mtd/redboot.c
+Index: linux-2.6.25.4/drivers/mtd/redboot.c
===================================================================
---- linux-2.6.25.1.orig/drivers/mtd/redboot.c
-+++ linux-2.6.25.1/drivers/mtd/redboot.c
+--- linux-2.6.25.4.orig/drivers/mtd/redboot.c
++++ linux-2.6.25.4/drivers/mtd/redboot.c
@@ -59,31 +59,32 @@ static int parse_redboot_partitions(stru
static char nullstring[] = "unallocated";
#endif
diff --git a/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch b/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
index ffff0cd..8fd3dac 100644
--- a/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
+++ b/target/linux/atheros/patches-2.6.25/150-bridge-printk.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/net/core/dev.c
+Index: linux-2.6.25.4/net/core/dev.c
===================================================================
---- linux-2.6.25.1.orig/net/core/dev.c
-+++ linux-2.6.25.1/net/core/dev.c
+--- linux-2.6.25.4.orig/net/core/dev.c
++++ linux-2.6.25.4/net/core/dev.c
@@ -3755,8 +3755,8 @@ int register_netdevice(struct net_device
/* Fix illegal SG+CSUM combinations. */
if ((dev->features & NETIF_F_SG) &&
diff --git a/target/linux/atheros/patches-2.6.25/200-ar2313_enable_mvswitch.patch b/target/linux/atheros/patches-2.6.25/200-ar2313_enable_mvswitch.patch
index 1c7d7c2..c12abfc 100644
--- a/target/linux/atheros/patches-2.6.25/200-ar2313_enable_mvswitch.patch
+++ b/target/linux/atheros/patches-2.6.25/200-ar2313_enable_mvswitch.patch
@@ -1,8 +1,8 @@
-Index: linux-2.6.25.1/drivers/net/ar2313/ar2313.c
+Index: linux-2.6.25.4/drivers/net/ar2313/ar2313.c
===================================================================
---- linux-2.6.25.1.orig/drivers/net/ar2313/ar2313.c 2008-05-13 00:49:39.000000000 +0200
-+++ linux-2.6.25.1/drivers/net/ar2313/ar2313.c 2008-05-13 00:49:42.000000000 +0200
-@@ -953,9 +953,9 @@
+--- linux-2.6.25.4.orig/drivers/net/ar2313/ar2313.c
++++ linux-2.6.25.4/drivers/net/ar2313/ar2313.c
+@@ -953,9 +953,9 @@ static int ar2313_rx_int(struct net_devi
((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
dev->stats.rx_bytes += skb->len;
@@ -14,7 +14,7 @@ Index: linux-2.6.25.1/drivers/net/ar2313/ar2313.c
skb_new->dev = dev;
/* 16 bit align */
-@@ -1370,6 +1370,8 @@
+@@ -1370,6 +1370,8 @@ static int mdiobus_probe (struct net_dev
return PTR_ERR(phydev);
}
@@ -23,11 +23,11 @@ Index: linux-2.6.25.1/drivers/net/ar2313/ar2313.c
/* mask with MAC supported features */
phydev->supported &= (SUPPORTED_10baseT_Half
| SUPPORTED_10baseT_Full
-Index: linux-2.6.25.1/drivers/net/ar2313/ar2313.h
+Index: linux-2.6.25.4/drivers/net/ar2313/ar2313.h
===================================================================
---- linux-2.6.25.1.orig/drivers/net/ar2313/ar2313.h 2008-05-13 00:49:39.000000000 +0200
-+++ linux-2.6.25.1/drivers/net/ar2313/ar2313.h 2008-05-13 00:49:42.000000000 +0200
-@@ -107,6 +107,8 @@
+--- linux-2.6.25.4.orig/drivers/net/ar2313/ar2313.h
++++ linux-2.6.25.4/drivers/net/ar2313/ar2313.h
+@@ -107,6 +107,8 @@ typedef struct {
*/
struct ar2313_private {
struct net_device *dev;
diff --git a/target/linux/atheros/patches-2.6.25/900-cevt_r4k_irq_disable_hazard.patch b/target/linux/atheros/patches-2.6.25/900-cevt_r4k_irq_disable_hazard.patch
index 3b72a9e..f35e0d2 100644
--- a/target/linux/atheros/patches-2.6.25/900-cevt_r4k_irq_disable_hazard.patch
+++ b/target/linux/atheros/patches-2.6.25/900-cevt_r4k_irq_disable_hazard.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/arch/mips/kernel/cevt-r4k.c
+Index: linux-2.6.25.4/arch/mips/kernel/cevt-r4k.c
===================================================================
---- linux-2.6.25.1.orig/arch/mips/kernel/cevt-r4k.c
-+++ linux-2.6.25.1/arch/mips/kernel/cevt-r4k.c
+--- linux-2.6.25.4.orig/arch/mips/kernel/cevt-r4k.c
++++ linux-2.6.25.4/arch/mips/kernel/cevt-r4k.c
@@ -205,6 +205,7 @@ static int c0_compare_int_usable(void)
while ((int)(read_c0_count() - cnt) <= 0)
; /* Wait for expiry */
diff --git a/target/linux/atheros/patches-2.6.25/901-get_c0_compare_irq_function.patch b/target/linux/atheros/patches-2.6.25/901-get_c0_compare_irq_function.patch
index 1e548c8..782bd7c 100644
--- a/target/linux/atheros/patches-2.6.25/901-get_c0_compare_irq_function.patch
+++ b/target/linux/atheros/patches-2.6.25/901-get_c0_compare_irq_function.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/arch/mips/kernel/traps.c
+Index: linux-2.6.25.4/arch/mips/kernel/traps.c
===================================================================
---- linux-2.6.25.1.orig/arch/mips/kernel/traps.c
-+++ linux-2.6.25.1/arch/mips/kernel/traps.c
+--- linux-2.6.25.4.orig/arch/mips/kernel/traps.c
++++ linux-2.6.25.4/arch/mips/kernel/traps.c
@@ -42,6 +42,7 @@
#include <asm/mmu_context.h>
#include <asm/types.h>
@@ -19,10 +19,10 @@ Index: linux-2.6.25.1/arch/mips/kernel/traps.c
cp0_perfcount_irq = (read_c0_intctl() >> 26) & 7;
if (cp0_perfcount_irq == cp0_compare_irq)
cp0_perfcount_irq = -1;
-Index: linux-2.6.25.1/include/asm-mips/time.h
+Index: linux-2.6.25.4/include/asm-mips/time.h
===================================================================
---- linux-2.6.25.1.orig/include/asm-mips/time.h
-+++ linux-2.6.25.1/include/asm-mips/time.h
+--- linux-2.6.25.4.orig/include/asm-mips/time.h
++++ linux-2.6.25.4/include/asm-mips/time.h
@@ -53,6 +53,7 @@ extern int (*perf_irq)(void);
#ifdef CONFIG_CEVT_R4K
extern int mips_clockevent_init(void);
@@ -31,10 +31,10 @@ Index: linux-2.6.25.1/include/asm-mips/time.h
#else
static inline int mips_clockevent_init(void)
{
-Index: linux-2.6.25.1/arch/mips/atheros/board.c
+Index: linux-2.6.25.4/arch/mips/atheros/board.c
===================================================================
---- linux-2.6.25.1.orig/arch/mips/atheros/board.c
-+++ linux-2.6.25.1/arch/mips/atheros/board.c
+--- linux-2.6.25.4.orig/arch/mips/atheros/board.c
++++ linux-2.6.25.4/arch/mips/atheros/board.c
@@ -205,6 +205,11 @@ void (*board_time_init)(void);
void __init plat_time_init(void) {
board_time_init();