summaryrefslogtreecommitdiff
path: root/target/linux/au1000-2.6/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-14 16:41:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-14 16:41:33 +0000
commitbff468813f78f81e36ebb2a3f4354de7365e640f (patch)
treee0144a8d723cac2fd84505ec140dd0011541430a /target/linux/au1000-2.6/patches
parent7ca328b65927e12b4bb65a6d752f43b674498908 (diff)
downloadmtk-20170518-bff468813f78f81e36ebb2a3f4354de7365e640f.zip
mtk-20170518-bff468813f78f81e36ebb2a3f4354de7365e640f.tar.gz
mtk-20170518-bff468813f78f81e36ebb2a3f4354de7365e640f.tar.bz2
Upgrade to Linux 2.6.19
- Includes large parts of the patch from #1021 by dpalffy - Includes RB532 NAND driver changes by n0-1 SVN-Revision: 5789
Diffstat (limited to 'target/linux/au1000-2.6/patches')
-rw-r--r--target/linux/au1000-2.6/patches/004-mtx1_watchdog.patch2
-rw-r--r--target/linux/au1000-2.6/patches/006-mtx1_system_button.patch4
-rw-r--r--target/linux/au1000-2.6/patches/009-pci_fix.patch12
3 files changed, 3 insertions, 15 deletions
diff --git a/target/linux/au1000-2.6/patches/004-mtx1_watchdog.patch b/target/linux/au1000-2.6/patches/004-mtx1_watchdog.patch
index c7e329b..d3b7c32 100644
--- a/target/linux/au1000-2.6/patches/004-mtx1_watchdog.patch
+++ b/target/linux/au1000-2.6/patches/004-mtx1_watchdog.patch
@@ -61,7 +61,7 @@ diff -urN linux-2.6.16.7/drivers/char/watchdog/mtx-1_watchdog.c linux-2.6.16.7.n
+ * it is opened for the first time. After the first open
+ * it MUST be triggered every 2..95 seconds.
+ */
-+#include <linux/config.h>
++#include <linux/autoconf.h>
+#include <linux/module.h>
+#include <linux/version.h>
+#include <linux/types.h>
diff --git a/target/linux/au1000-2.6/patches/006-mtx1_system_button.patch b/target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
index 511df2c..f4d380c 100644
--- a/target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
+++ b/target/linux/au1000-2.6/patches/006-mtx1_system_button.patch
@@ -47,7 +47,7 @@ diff -urN linux-2.6.16.7/arch/mips/au1000/mtx-1/mtx-1_sysbtn.c linux-2.6.16.7.ne
+ * that can be read. It returns one char '1' if the button
+ * has been pressed an '0' if it has been released.
+ */
-+#include <linux/config.h>
++#include <linux/autoconf.h>
+#include <linux/module.h>
+#include <linux/version.h>
+#include <linux/types.h>
@@ -108,7 +108,7 @@ diff -urN linux-2.6.16.7/arch/mips/au1000/mtx-1/mtx-1_sysbtn.c linux-2.6.16.7.ne
+//---------[ Interrupt handling ]-----------------
+
+
-+static void mtx1_btn_interrupt (int irq, void *private, struct pt_regs *regs)
++static void mtx1_btn_interrupt (int irq, void *private)
+{
+ char value = mtx1_getbtn(0);
+ if (last_value != value)
diff --git a/target/linux/au1000-2.6/patches/009-pci_fix.patch b/target/linux/au1000-2.6/patches/009-pci_fix.patch
deleted file mode 100644
index 5b2a87f..0000000
--- a/target/linux/au1000-2.6/patches/009-pci_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur linux.old/arch/mips/pci/ops-au1000.c linux.dev/arch/mips/pci/ops-au1000.c
---- linux.old/arch/mips/pci/ops-au1000.c 2006-06-18 03:49:35.000000000 +0200
-+++ linux.dev/arch/mips/pci/ops-au1000.c 2006-12-09 20:51:29.000000000 +0100
-@@ -111,7 +111,7 @@
- if (first_cfg) {
- /* reserve a wired entry for pci config accesses */
- first_cfg = 0;
-- pci_cfg_vm = get_vm_area(0x2000, 0);
-+ pci_cfg_vm = get_vm_area(0x2000, VM_IOREMAP);
- if (!pci_cfg_vm)
- panic (KERN_ERR "PCI unable to get vm area\n");
- pci_cfg_wired_entry = read_c0_wired();