summaryrefslogtreecommitdiff
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-13 18:55:49 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-12-13 18:55:49 +0000
commit588b42a8b792891e2ff4efc10eb74d5ef6659d21 (patch)
tree75d6c258469e28811b90e5656dd5acfb780ba76a /package/broadcom-wl
parent6672d869dafa16723af51a990dac74723fad2e98 (diff)
downloadmtk-20170518-588b42a8b792891e2ff4efc10eb74d5ef6659d21.zip
mtk-20170518-588b42a8b792891e2ff4efc10eb74d5ef6659d21.tar.gz
mtk-20170518-588b42a8b792891e2ff4efc10eb74d5ef6659d21.tar.bz2
broadcom-wl: Pass physical address to wl_attach
wl_attach expects a physical address, as it performs the mapping internally. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34671
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r--package/broadcom-wl/src/glue/wl_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-wl/src/glue/wl_glue.c b/package/broadcom-wl/src/glue/wl_glue.c
index bf009e5..fc94ac0 100644
--- 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)
{