summaryrefslogtreecommitdiff
path: root/target/linux/au1000/patches-2.6.27
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-04 14:48:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-04 14:48:54 +0000
commit6cd800ed2f17a913a558147440a1f57b0f20cfe1 (patch)
tree814f47ecebfab1251051b27d9bf89ba6e8bcb9c8 /target/linux/au1000/patches-2.6.27
parent8107050ef90735e84960100f2be7de6b32a18883 (diff)
downloadmtk-20170518-6cd800ed2f17a913a558147440a1f57b0f20cfe1.zip
mtk-20170518-6cd800ed2f17a913a558147440a1f57b0f20cfe1.tar.gz
mtk-20170518-6cd800ed2f17a913a558147440a1f57b0f20cfe1.tar.bz2
refresh patches
SVN-Revision: 13513
Diffstat (limited to 'target/linux/au1000/patches-2.6.27')
-rw-r--r--target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch6
-rw-r--r--target/linux/au1000/patches-2.6.27/002-openwrt_rootfs.patch7
-rw-r--r--target/linux/au1000/patches-2.6.27/003-au1000_eth_ioctl.patch2
-rw-r--r--target/linux/au1000/patches-2.6.27/004-state_led_phy_fix.patch8
-rw-r--r--target/linux/au1000/patches-2.6.27/005-mtx1_wdt_fix.patch3
-rw-r--r--target/linux/au1000/patches-2.6.27/006-missing_string_header.patch4
6 files changed, 13 insertions, 17 deletions
diff --git a/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch b/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
index a41ee6f..cace58d 100644
--- a/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
+++ b/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
@@ -1,8 +1,8 @@
--- a/arch/mips/au1000/mtx-1/init.c
+++ b/arch/mips/au1000/mtx-1/init.c
-@@ -54,7 +54,7 @@ void __init prom_init(void)
- prom_argv = (char **) fw_arg1;
- prom_envp = (char **) fw_arg2;
+@@ -49,7 +49,7 @@ void __init prom_init(void)
+ prom_argv = (char **)fw_arg1;
+ prom_envp = (char **)fw_arg2;
- prom_init_cmdline();
+ strcpy(arcs_cmdline, CONFIG_CMDLINE);
diff --git a/target/linux/au1000/patches-2.6.27/002-openwrt_rootfs.patch b/target/linux/au1000/patches-2.6.27/002-openwrt_rootfs.patch
index 00cda25..ade30a6 100644
--- a/target/linux/au1000/patches-2.6.27/002-openwrt_rootfs.patch
+++ b/target/linux/au1000/patches-2.6.27/002-openwrt_rootfs.patch
@@ -1,7 +1,6 @@
-diff -urN linux-2.6.27.5/arch/mips/au1000/mtx-1/platform.c linux-2.6.27.5.new/arch/mips/au1000/mtx-1/platform.c
---- linux-2.6.27.5/arch/mips/au1000/mtx-1/platform.c 2008-11-07 18:55:34.000000000 +0100
-+++ linux-2.6.27.5.new/arch/mips/au1000/mtx-1/platform.c 2008-11-15 15:33:31.000000000 +0100
-@@ -90,7 +90,7 @@
+--- a/arch/mips/au1000/mtx-1/platform.c
++++ b/arch/mips/au1000/mtx-1/platform.c
+@@ -90,7 +90,7 @@ static struct platform_device mtx1_gpio_
static struct mtd_partition mtx1_mtd_partitions[] = {
{
diff --git a/target/linux/au1000/patches-2.6.27/003-au1000_eth_ioctl.patch b/target/linux/au1000/patches-2.6.27/003-au1000_eth_ioctl.patch
index 9358981..4b152f3 100644
--- a/target/linux/au1000/patches-2.6.27/003-au1000_eth_ioctl.patch
+++ b/target/linux/au1000/patches-2.6.27/003-au1000_eth_ioctl.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
-@@ -1306,9 +1306,12 @@ static void set_rx_mode(struct net_devic
+@@ -1293,9 +1293,12 @@ static void set_rx_mode(struct net_devic
}
}
diff --git a/target/linux/au1000/patches-2.6.27/004-state_led_phy_fix.patch b/target/linux/au1000/patches-2.6.27/004-state_led_phy_fix.patch
index 3e5a4eb..e681970 100644
--- a/target/linux/au1000/patches-2.6.27/004-state_led_phy_fix.patch
+++ b/target/linux/au1000/patches-2.6.27/004-state_led_phy_fix.patch
@@ -1,6 +1,6 @@
---- linux-2.6.27/drivers/net/au1000_eth.c 2008-10-18 22:37:52.000000000 +0200
-+++ linux-2.6.27.new/drivers/net/au1000_eth.c 2008-11-02 22:03:14.000000000 +0100
-@@ -187,6 +187,15 @@
+--- a/drivers/net/au1000_eth.c
++++ b/drivers/net/au1000_eth.c
+@@ -184,6 +184,15 @@ struct au1000_private *au_macs[NUM_ETH_I
# undef AU1XXX_PHY1_IRQ
#endif
@@ -16,7 +16,7 @@
#if defined(AU1XXX_PHY0_BUSID) && (AU1XXX_PHY0_BUSID > 0)
# error MAC0-associated PHY attached 2nd MACs MII bus not supported yet
#endif
-@@ -383,6 +392,12 @@
+@@ -380,6 +389,12 @@ static int mii_probe (struct net_device
aup->old_duplex = -1;
aup->phy_dev = phydev;
diff --git a/target/linux/au1000/patches-2.6.27/005-mtx1_wdt_fix.patch b/target/linux/au1000/patches-2.6.27/005-mtx1_wdt_fix.patch
index 0b0fc02..3a36590 100644
--- a/target/linux/au1000/patches-2.6.27/005-mtx1_wdt_fix.patch
+++ b/target/linux/au1000/patches-2.6.27/005-mtx1_wdt_fix.patch
@@ -1,5 +1,3 @@
-diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
-index b4b7b0a..3acce62 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -98,6 +98,8 @@ static void mtx1_wdt_reset(void)
@@ -20,4 +18,3 @@ index b4b7b0a..3acce62 100644
spin_lock_irqsave(&mtx1_wdt_device.lock, flags);
if (mtx1_wdt_device.queue) {
mtx1_wdt_device.queue = 0;
-
diff --git a/target/linux/au1000/patches-2.6.27/006-missing_string_header.patch b/target/linux/au1000/patches-2.6.27/006-missing_string_header.patch
index ed8a0be..bff8b57 100644
--- a/target/linux/au1000/patches-2.6.27/006-missing_string_header.patch
+++ b/target/linux/au1000/patches-2.6.27/006-missing_string_header.patch
@@ -1,5 +1,5 @@
---- linux-2.6.27.5/arch/mips/au1000/mtx-1/init.c 2008-11-07 18:55:34.000000000 +0100
-+++ linux-2.6.27.5.new/arch/mips/au1000/mtx-1/init.c 2008-11-15 16:09:47.000000000 +0100
+--- a/arch/mips/au1000/mtx-1/init.c
++++ b/arch/mips/au1000/mtx-1/init.c
@@ -32,6 +32,7 @@
#include <linux/init.h>