From 0037b77ceb761bd7b453faae17bb04eb7aa7a25c Mon Sep 17 00:00:00 2001 From: mtaylor Date: Mon, 28 Jan 2008 19:36:03 +0000 Subject: [PATCH] Revert changes to if_ath_ahb.c from r3267 git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3283 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_ath_ahb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ath/if_ath_ahb.c b/ath/if_ath_ahb.c index 0803bc4..0f942fc 100644 --- a/ath/if_ath_ahb.c +++ b/ath/if_ath_ahb.c @@ -214,7 +214,7 @@ init_ath_wmac(u_int16_t devid, u_int16_t wlanNum, struct ar531x_config *config) dev = alloc_netdev(sizeof(struct ath_ahb_softc), "wifi%d", ether_setup); if (dev == NULL) { - printk(KERN_ERR "%s: no memory for device state\n", dev_info); + printk(KERN_ERR "ath_dev_probe: no memory for device state\n"); goto bad2; } sc = dev->priv; @@ -251,15 +251,15 @@ init_ath_wmac(u_int16_t devid, u_int16_t wlanNum, struct ar531x_config *config) sc->aps_sc.sc_bdev = NULL; if (request_irq(dev->irq, ath_intr, IRQF_SHARED, dev->name, dev)) { - printk(KERN_WARNING "%s: %s: request_irq failed\n", dev_info, dev->name); + printk(KERN_WARNING "%s: request_irq failed\n", dev->name); goto bad3; } if (ath_attach(devid, dev, config) != 0) goto bad4; athname = ath_hal_probe(ATHEROS_VENDOR_ID, devid); - printk(KERN_INFO "%s: %s: %s: mem=0x%lx, irq=%d\n", - dev_info, dev->name, athname ? athname : "Atheros ???", dev->mem_start, dev->irq); + printk(KERN_INFO "%s: %s: mem=0x%lx, irq=%d\n", + dev->name, athname ? athname : "Atheros ???", dev->mem_start, dev->irq); num_activesc++; /* Ready to process interrupts */ -- 2.35.1