| To: | ralf@linux-mips.org, john@phrozen.org |
|---|---|
| Subject: | [PATCH v2 4/5] MIPS: BCM47XX: read sprom without prefix if no ieee80211 core |
| From: | Hauke Mehrtens <hauke@hauke-m.de> |
| Date: | Wed, 3 Oct 2012 14:34:19 +0200 |
| Cc: | linux-mips@linux-mips.org, Hauke Mehrtens <hauke@hauke-m.de> |
| In-reply-to: | <1349267660-31845-1-git-send-email-hauke@hauke-m.de> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1349267660-31845-1-git-send-email-hauke@hauke-m.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
If there is no ieee80211 core on the devices like on the BCM4706 read
out the sprom and the other data without using a prefix.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
arch/mips/bcm47xx/setup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c
index 95bf4d7..803764d 100644
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
@@ -175,6 +175,8 @@ static int bcm47xx_get_sprom_bcma(struct bcma_bus *bus,
struct ssb_sprom *out)
snprintf(prefix, sizeof(prefix), "sb/%u/",
core->core_index);
bcm47xx_fill_sprom(out, prefix);
+ } else {
+ bcm47xx_fill_sprom(out, NULL);
}
return 0;
default:
--
1.7.9.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 24/25] MIPS: Alchemy: use the OHCI platform driver, Manuel Lauss |
|---|---|
| Next by Date: | [PATCH v2 2/5] MIPS: BCM47XX: improve memory size detection, Hauke Mehrtens |
| Previous by Thread: | [PATCH v2 0/5] MIPS: BCM47XX: mostly sprom fixes, Hauke Mehrtens |
| Next by Thread: | [PATCH v2 2/5] MIPS: BCM47XX: improve memory size detection, Hauke Mehrtens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |