Skip to content
Snippets Groups Projects
Commit 26e9830e authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

broadcom-wl: hack to work around a bug in the PCIe controller

Thank you nlh

This closes #12930.

SVN-Revision: 35767
parent 58eea9dc
No related branches found
No related tags found
No related merge requests found
--- 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));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment