diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-01-27 20:10:51 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-01-27 20:10:51 +0000 |
commit | d1c07b36574c8b50c9968c051226fbd954e719d0 (patch) | |
tree | de6f258afc86b33ccbeaec7e55ff6e7499712b6f /target | |
parent | 45329cd793d17957350f109e8d7f227baf48b783 (diff) | |
download | mtk-20170518-d1c07b36574c8b50c9968c051226fbd954e719d0.zip mtk-20170518-d1c07b36574c8b50c9968c051226fbd954e719d0.tar.gz mtk-20170518-d1c07b36574c8b50c9968c051226fbd954e719d0.tar.bz2 |
brcm47xx: add fix for cardbus host controller
These devices have two devices on the bus, the host controller itself and the device.
SVN-Revision: 29923
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch | 22 | ||||
-rw-r--r-- | target/linux/brcm47xx/patches-3.2/0045-ssb-fix-cardbus-in-hostmode.patch | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch b/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch new file mode 100644 index 0000000..4837fe7 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.0/0045-ssb-fix-cardbus-in-hostmode.patch @@ -0,0 +1,22 @@ +From 7b90e7040b9783b91a4e2baf72ac32d3a00f9f2d Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens <hauke@hauke-m.de> +Date: Sat, 21 Jan 2012 11:18:25 +0100 +Subject: [PATCH 31/34] ssb: fix cardbus in hostmode + + +Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> +--- + drivers/ssb/driver_pcicore.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/drivers/ssb/driver_pcicore.c ++++ b/drivers/ssb/driver_pcicore.c +@@ -75,7 +75,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; + + /* Type 0 transaction */ diff --git a/target/linux/brcm47xx/patches-3.2/0045-ssb-fix-cardbus-in-hostmode.patch b/target/linux/brcm47xx/patches-3.2/0045-ssb-fix-cardbus-in-hostmode.patch new file mode 100644 index 0000000..4837fe7 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.2/0045-ssb-fix-cardbus-in-hostmode.patch @@ -0,0 +1,22 @@ +From 7b90e7040b9783b91a4e2baf72ac32d3a00f9f2d Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens <hauke@hauke-m.de> +Date: Sat, 21 Jan 2012 11:18:25 +0100 +Subject: [PATCH 31/34] ssb: fix cardbus in hostmode + + +Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> +--- + drivers/ssb/driver_pcicore.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/drivers/ssb/driver_pcicore.c ++++ b/drivers/ssb/driver_pcicore.c +@@ -75,7 +75,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; + + /* Type 0 transaction */ |