Author: rmilecki
Date: 2015-04-07 17:40:51 +0200 (Tue, 07 Apr 2015)
New Revision: 45293

Removed:
   
trunk/target/linux/brcm47xx/patches-3.18/980-wnr834b_no_cardbus_invariant.patch
Log:
brcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B

First of all this patch was affecting other devices, not just Netgear
WNR834B. E.g. Linksys WRT300N v1 also has boardtype 0x0472.
This was breaking PCI on WRT300N, ssb couldn't detect core working in
hostmode (due to mips_busprobe32 failing).

Secondly this patch should not be needed for years now. From the analyze
of #8861 it seems it was needed just to make devices at slots other than
0 discoverable. Setting cardbus to 0 was simply making ssb allow access
to PCI config for devices other than bridge.
With the upstream commit a6c8462 (ssb: fix cardbus slot in hostmode) we
allow accessing device at slot 1 which should be enough for CardBus.

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>

Deleted: 
trunk/target/linux/brcm47xx/patches-3.18/980-wnr834b_no_cardbus_invariant.patch
===================================================================
--- 
trunk/target/linux/brcm47xx/patches-3.18/980-wnr834b_no_cardbus_invariant.patch 
    2015-04-07 14:14:08 UTC (rev 45292)
+++ 
trunk/target/linux/brcm47xx/patches-3.18/980-wnr834b_no_cardbus_invariant.patch 
    2015-04-07 15:40:51 UTC (rev 45293)
@@ -1,13 +0,0 @@
---- a/arch/mips/bcm47xx/setup.c
-+++ b/arch/mips/bcm47xx/setup.c
-@@ -118,6 +118,10 @@ static int bcm47xx_get_invariants(struct
-       if (bcm47xx_nvram_getenv("cardbus", buf, sizeof(buf)) >= 0)
-               iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10);
- 
-+      /* Do not indicate cardbus for Netgear WNR834B V1 and V2 */
-+      if (iv->boardinfo.type == 0x0472 && iv->has_cardbus_slot)
-+              iv->has_cardbus_slot = 0;
-+
-       return 0;
- }
- 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to