X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.32%2F180-fix-cardbus-in-hostmode.patch;fp=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.32%2F180-fix-cardbus-in-hostmode.patch;h=fb170f51a6e045172332d6631f4e284d747d3d19;hp=0000000000000000000000000000000000000000;hb=910a073805ca58f559fa6582702a0027a94ad496;hpb=67b752d1abe704fd6d3a8737cecdba7bfffa708c diff --git a/target/linux/brcm47xx/patches-2.6.32/180-fix-cardbus-in-hostmode.patch b/target/linux/brcm47xx/patches-2.6.32/180-fix-cardbus-in-hostmode.patch new file mode 100644 index 000000000..fb170f51a --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.32/180-fix-cardbus-in-hostmode.patch @@ -0,0 +1,11 @@ +--- 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) {