aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/patches
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-02-24 18:01:06 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-02-24 18:01:06 +0000
commitae76f196113152074e855924dd72f4ca9c4f554e (patch)
tree17956856a9d733d11dea636151785cfd66a514fa /package/broadcom-wl/patches
parenta759b3d550df6e6e83af484a9f430c92a99ea2d5 (diff)
downloadupstream-ae76f196113152074e855924dd72f4ca9c4f554e.tar.gz
upstream-ae76f196113152074e855924dd72f4ca9c4f554e.tar.bz2
upstream-ae76f196113152074e855924dd72f4ca9c4f554e.zip
broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh This closes #12930. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35767 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/patches')
-rw-r--r--package/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch12
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 0000000000..412bce92c8
--- /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));
+ }
+