projects
/
openwrt
/
staging
/
mans0n.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6672d86
)
broadcom-wl: Pass physical address to wl_attach
author
Hauke Mehrtens
<hauke@hauke-m.de>
Thu, 13 Dec 2012 18:55:49 +0000
(18:55 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Thu, 13 Dec 2012 18:55:49 +0000
(18:55 +0000)
wl_attach expects a physical address, as it performs the mapping internally.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 34671
package/broadcom-wl/src/glue/wl_glue.c
patch
|
blob
|
history
diff --git
a/package/broadcom-wl/src/glue/wl_glue.c
b/package/broadcom-wl/src/glue/wl_glue.c
index bf009e5bbeec0f73c5fdc4c06b9b47d9ae5e187e..fc94ac0b25bc2eec10af3c64df2ee07f327673fb 100644
(file)
--- a/
package/broadcom-wl/src/glue/wl_glue.c
+++ b/
package/broadcom-wl/src/glue/wl_glue.c
@@
-108,7
+108,7
@@
static int wl_glue_bcma_probe(struct bcma_device *dev)
* 0x1000 = BCMA_CORE_SIZE
*/
- wldev = attach_cb(dev->id.manuf, dev->id.id, (ulong)dev->
io_
addr, dev, dev->irq);
+ wldev = attach_cb(dev->id.manuf, dev->id.id, (ulong)dev->addr, dev, dev->irq);
if (!wldev)
{