summaryrefslogtreecommitdiff
path: root/target/linux/au1000-2.6/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-14 16:41:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-14 16:41:33 +0000
commitc92885c466d11dc3b8e2837a8be1fd3b6b7e2e01 (patch)
tree1a38200fe1a33cb965650ca687167175938fbedd /target/linux/au1000-2.6/patches
parenta8131d463830012d225fa1032222c3a38b168778 (diff)
Upgrade to Linux 2.6.19
- Includes large parts of the patch from #1021 by dpalffy - Includes RB532 NAND driver changes by n0-1 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5789 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 c7e329b295..d3b7c32e2e 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 511df2c8da..f4d380c729 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 5b2a87f16b..0000000000
--- 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();