mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh This closes #12930. SVN-Revision: 35767
This commit is contained in:
parent
58eea9dc28
commit
26e9830eac
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user