From: Hauke Mehrtens Date: Thu, 13 Dec 2012 18:55:49 +0000 (+0000) Subject: broadcom-wl: Pass physical address to wl_attach X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=588b42a8b792891e2ff4efc10eb74d5ef6659d21;p=openwrt%2Fstaging%2Fansuel.git 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 SVN-Revision: 34671 --- diff --git a/package/broadcom-wl/src/glue/wl_glue.c b/package/broadcom-wl/src/glue/wl_glue.c index bf009e5bbe..fc94ac0b25 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) {