openwrt_archive/target/linux/brcm47xx/patches-2.6.32/180-fix-cardbus-in-hostmode.patch
Hauke Mehrtens 48497abbb7 brcm47xx: backport r29923
fix cardbus host controller


SVN-Revision: 29943
2012-01-29 15:01:16 +00:00

12 lines
310 B
Diff

--- a/drivers/ssb/driver_pcicore.c
+++ b/drivers/ssb/driver_pcicore.c
@@ -69,7 +69,7 @@ static u32 get_cfgspace_addr(struct ssb_
u32 tmp;
/* We do only have one cardbus device behind the bridge. */
- if (pc->cardbusmode && (dev >= 1))
+ if (pc->cardbusmode && (dev > 1))
goto out;
if (bus == 0) {