diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-02-24 18:01:06 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-02-24 18:01:06 +0000 |
commit | 26e9830eace3ecf2bf43b84c5e4cf5aaec44125d (patch) | |
tree | 9e9119b346abfb72e4fd62a866e800d2eedebaa5 /package | |
parent | 58eea9dc28c3edfd887a136cfa58cd26c5f5037a (diff) | |
download | mtk-20170518-26e9830eace3ecf2bf43b84c5e4cf5aaec44125d.zip mtk-20170518-26e9830eace3ecf2bf43b84c5e4cf5aaec44125d.tar.gz mtk-20170518-26e9830eace3ecf2bf43b84c5e4cf5aaec44125d.tar.bz2 |
broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh
This closes #12930.
SVN-Revision: 35767
Diffstat (limited to 'package')
-rw-r--r-- | package/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch b/package/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch new file mode 100644 index 0000000..412bce9 --- /dev/null +++ b/package/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch @@ -0,0 +1,12 @@ +--- a/driver/linux_osl.c ++++ b/driver/linux_osl.c +@@ -723,6 +723,9 @@ osl_readl(volatile uint32 *r) + uint16 + osl_readw(volatile uint16 *r) + { ++ uint32 addr = (uintptr)r & 0xffff3fff; ++ if (addr == 0xa8000688) /* ifs_ctl */ ++ readl(r); + return (readw(r)); + } + |