2010-03-26 16:27:09 +02:00
|
|
|
--- a/pci.c
|
|
|
|
+++ b/pci.c
|
|
|
|
@@ -4309,7 +4309,7 @@ static __devinit int vlynq_probe(struct
|
2010-03-07 00:33:13 +02:00
|
|
|
addr = (u32)ioremap(vdev->mem_start, 0x1000);
|
|
|
|
if (!addr) {
|
|
|
|
printk(KERN_ERR "acx: %s: failed to remap io memory\n",
|
|
|
|
- vdev->dev.bus_id);
|
|
|
|
+ dev_name(&vdev->dev));
|
|
|
|
result = -ENXIO;
|
|
|
|
goto fail;
|
|
|
|
}
|
2010-03-26 16:27:09 +02:00
|
|
|
@@ -4323,7 +4323,7 @@ static __devinit int vlynq_probe(struct
|
2010-03-07 00:33:13 +02:00
|
|
|
ieee = ieee80211_alloc_hw(sizeof(struct acx_device), &acxpci_hw_ops);
|
|
|
|
if (!ieee) {
|
|
|
|
printk("acx: could not allocate ieee80211 structure %s\n",
|
|
|
|
- vdev->dev.bus_id);
|
|
|
|
+ dev_name(&vdev->dev));
|
|
|
|
goto fail_alloc_netdev;
|
|
|
|
}
|
|
|
|
ieee->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
|
2010-03-26 16:27:09 +02:00
|
|
|
@@ -4365,7 +4365,7 @@ static __devinit int vlynq_probe(struct
|
2010-03-07 00:33:13 +02:00
|
|
|
|
|
|
|
printk("acx: found %s-based wireless network card at %s, irq:%d, "
|
|
|
|
"phymem:0x%x, mem:0x%p\n",
|
|
|
|
- match->name, vdev->dev.bus_id, adev->irq,
|
|
|
|
+ match->name, dev_name(&vdev->dev), adev->irq,
|
|
|
|
vdev->mem_start, adev->iobase);
|
|
|
|
log(L_ANY, "acx: the initial debug setting is 0x%04X\n", acx_debug);
|
|
|
|
|
2010-03-26 16:27:09 +02:00
|
|
|
@@ -4416,7 +4416,7 @@ static __devinit int vlynq_probe(struct
|
2010-03-07 00:33:13 +02:00
|
|
|
* firmware operations happening in parallel or uninitialized data */
|
|
|
|
|
|
|
|
|
|
|
|
- acx_proc_register_entries(ieee);
|
|
|
|
+ acx_proc_register_entries(ieee, 0);
|
|
|
|
|
|
|
|
/* Now we have our device, so make sure the kernel doesn't try
|
|
|
|
* to send packets even though we're not associated to a network yet */
|
2010-03-26 16:27:09 +02:00
|
|
|
@@ -4536,7 +4536,7 @@ static void vlynq_remove(struct vlynq_de
|
2010-03-07 00:33:13 +02:00
|
|
|
CLEAR_BIT(adev->dev_state_mask, ACX_STATE_IFACE_UP);
|
|
|
|
}
|
|
|
|
|
|
|
|
- acx_proc_unregister_entries(adev->ieee);
|
|
|
|
+ acx_proc_unregister_entries(adev->ieee, 0);
|
|
|
|
|
|
|
|
/* finally, clean up PCI bus state */
|
|
|
|
acxpci_s_delete_dma_regions(adev);
|