summaryrefslogtreecommitdiff
path: root/target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-17 16:39:47 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-17 16:39:47 +0000
commit4d65fe14a5244a9d0fccb09ccbb617ec21429a84 (patch)
tree9f4e792f4ce63e6616aae1f251cf9f43a4c44337 /target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch
parent891052c3ddc9c68693824be428a8a01897375e46 (diff)
au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific idsel to work with newer kernels. Acutally I don't exactly understand why this was not necessary before, but without the udelay, the MiniPCI adapter in slot 3 is not detected and set up correctly. Also remove platform broken flag, it works. Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch')
-rw-r--r--target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch b/target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch
new file mode 100644
index 0000000000..6b36032207
--- /dev/null
+++ b/target/linux/au1000/patches-3.3/004-pci-idsel-cb.patch
@@ -0,0 +1,12 @@
+--- a/arch/mips/alchemy/board-mtx1.c 2012-06-11 22:02:34.686604093 +0100
++++ b/arch/mips/alchemy/board-mtx1.c 2012-06-11 22:04:23.375143044 +0100
+@@ -228,6 +228,9 @@
+ * adapter on the mtx-1 "singleboard" variant. It triggers a custom
+ * logic chip connected to EXT_IO3 (GPIO1) to suppress IDSEL signals.
+ */
++
++ udelay(1);
++
+ if (assert && devsel != 0)
+ /* Suppress signal to Cardbus */
+ alchemy_gpio_set_value(1, 0); /* set EXT_IO3 OFF */