Changeset 34452


Ignore:
Timestamp:
2012-12-02T17:07:43+01:00 (5 years ago)
Author:
hauke
Message:

broadcom-wl: get the mmio address directly from the struct if bcma is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/broadcom-wl/src/glue/wl_glue.c

    r30709 r34452  
    8989static int wl_glue_bcma_probe(struct bcma_device *dev) 
    9090{ 
    91         void *mmio; 
    9291        void *wldev; 
    9392 
     
    110109         */ 
    111110 
    112         mmio = (void *) 0x18000000 + dev->core_index * 0x1000; 
    113         wldev = attach_cb(dev->id.manuf, dev->id.id, (ulong)mmio, dev, dev->irq); 
     111        wldev = attach_cb(dev->id.manuf, dev->id.id, (ulong)dev->io_addr, dev, dev->irq); 
    114112 
    115113        if (!wldev) 
Note: See TracChangeset for help on using the changeset viewer.