summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-07-12 13:46:27 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-07-12 13:46:27 +0000
commit9e9261a7182c82947f1bbd7f63aa6a93a783e02e (patch)
tree77b0578b21c88e818fb6fb4507ea7c4325654582 /target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch
parent92961e09178746996cba8fea04482d69a7e69201 (diff)
downloadmaster-31e0f0ae-9e9261a7182c82947f1bbd7f63aa6a93a783e02e.tar.gz
master-31e0f0ae-9e9261a7182c82947f1bbd7f63aa6a93a783e02e.tar.bz2
master-31e0f0ae-9e9261a7182c82947f1bbd7f63aa6a93a783e02e.zip
bcm53xx: add initial support for ARM based BCM47XX and BCM53XX SoCs
This was only tested on a Netgear R6250, but it could also work on other devices when the correct images are generated. It is only possible to boot into a ram disk, no Ethernet, Wifi, flash, USB is supported. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37268
Diffstat (limited to 'target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch b/target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch
new file mode 100644
index 0000000000..04af9d4570
--- /dev/null
+++ b/target/linux/bcm53xx/patches-3.10/0014-bcma-return-correct-error-code-when-bus-can-failed.patch
@@ -0,0 +1,21 @@
+From e2e1b185afd86a047e1f2db405c61ae4e43c0f29 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <hauke@hauke-m.de>
+Date: Thu, 4 Jul 2013 22:49:14 +0200
+Subject: [PATCH 14/17] bcma: return correct error code when bus can failed
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+---
+ drivers/bcma/main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/bcma/main.c
++++ b/drivers/bcma/main.c
+@@ -218,7 +218,7 @@ int bcma_bus_register(struct bcma_bus *b
+ err = bcma_bus_scan(bus);
+ if (err) {
+ bcma_err(bus, "Failed to scan: %d\n", err);
+- return -1;
++ return err;
+ }
+
+ /* Early init CC core */