From 8504a15caf6a2b57dd26a25f84874ed5c37bfb70 Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 13 Dec 2012 18:55:49 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34671 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-wl/src/glue/wl_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/broadcom-wl/src/glue/wl_glue.c b/package/broadcom-wl/src/glue/wl_glue.c index bf009e5bb..fc94ac0b2 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) {