projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6bcad4
)
[lantiq] remove deadcode from [25072]
author
John Crispin
<john@openwrt.org>
Sun, 23 Jan 2011 12:12:23 +0000
(12:12 +0000)
committer
John Crispin
<john@openwrt.org>
Sun, 23 Jan 2011 12:12:23 +0000
(12:12 +0000)
SVN-Revision: 25073
target/linux/lantiq/patches/260-pci.patch
patch
|
blob
|
history
diff --git
a/target/linux/lantiq/patches/260-pci.patch
b/target/linux/lantiq/patches/260-pci.patch
index e9a66c79c07dcabe96722d829bdb045b5e716a29..6c0ca47cbc20e1a5db27f25eeae1214aaf791912 100644
(file)
--- a/
target/linux/lantiq/patches/260-pci.patch
+++ b/
target/linux/lantiq/patches/260-pci.patch
@@
-140,7
+140,7
@@
+}
--- /dev/null
+++ b/arch/mips/pci/pci-lantiq.c
+}
--- /dev/null
+++ b/arch/mips/pci/pci-lantiq.c
-@@ -0,0 +1,30
5
@@
+@@ -0,0 +1,30
2
@@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
@@
-302,9
+302,6
@@
+ gmap[i].alt1, gmap[i].dir, gmap[i].name);
+ }
+ }
+ gmap[i].alt1, gmap[i].dir, gmap[i].name);
+ }
+ }
-+ lq_w32(lq_r32((u32*)0xBF101000) | 0x60, (u32*)0xBF101000);
-+ lq_w32(lq_r32((u32*)0xBF101004) & ~2, (u32*)0xBF101004);
-+ lq_w32(lq_r32((u32*)0xBF10100C) | 2, (u32*)0xBF10100C);
+ for(i = 0; i < 3; i++)
+ {
+ if(gpio & (1 << i))
+ for(i = 0; i < 3; i++)
+ {
+ if(gpio & (1 << i))