1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 19:31:34 +02:00

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
This commit is contained in:
hauke 2012-12-13 18:55:49 +00:00
parent 02d9373a55
commit 8504a15caf

View File

@ -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)
{