diff options
Diffstat (limited to 'drivers/net/pcmcia/ibmtr_cs.c')
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index cbcda123b1bf..dc85282193bf 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -45,6 +45,8 @@ | |||
45 | 45 | ||
46 | ======================================================================*/ | 46 | ======================================================================*/ |
47 | 47 | ||
48 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
49 | |||
48 | #include <linux/kernel.h> | 50 | #include <linux/kernel.h> |
49 | #include <linux/init.h> | 51 | #include <linux/init.h> |
50 | #include <linux/ptrace.h> | 52 | #include <linux/ptrace.h> |
@@ -272,15 +274,14 @@ static int __devinit ibmtr_config(struct pcmcia_device *link) | |||
272 | 274 | ||
273 | i = ibmtr_probe_card(dev); | 275 | i = ibmtr_probe_card(dev); |
274 | if (i != 0) { | 276 | if (i != 0) { |
275 | printk(KERN_NOTICE "ibmtr_cs: register_netdev() failed\n"); | 277 | pr_notice("register_netdev() failed\n"); |
276 | goto failed; | 278 | goto failed; |
277 | } | 279 | } |
278 | 280 | ||
279 | printk(KERN_INFO | 281 | netdev_info(dev, "port %#3lx, irq %d, mmio %#5lx, sram %#5lx, hwaddr=%pM\n", |
280 | "%s: port %#3lx, irq %d, mmio %#5lx, sram %#5lx, hwaddr=%pM\n", | 282 | dev->base_addr, dev->irq, |
281 | dev->name, dev->base_addr, dev->irq, | 283 | (u_long)ti->mmio, (u_long)(ti->sram_base << 12), |
282 | (u_long)ti->mmio, (u_long)(ti->sram_base << 12), | 284 | dev->dev_addr); |
283 | dev->dev_addr); | ||
284 | return 0; | 285 | return 0; |
285 | 286 | ||
286 | failed: | 287 | failed: |