diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2012-12-13 18:55:49 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2012-12-13 18:55:49 +0000 |
commit | 111262207da272bcfacc92664e3a038bac252978 (patch) | |
tree | 2ef2357d7e38df65ce137a48ab3e54391a212143 | |
parent | 39d92a01356d4c6b11a9c94c4af3ada854a10f3a (diff) | |
download | upstream-111262207da272bcfacc92664e3a038bac252978.tar.gz upstream-111262207da272bcfacc92664e3a038bac252978.tar.bz2 upstream-111262207da272bcfacc92664e3a038bac252978.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34671 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/broadcom-wl/src/glue/wl_glue.c | 2 |
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 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) { |