[PATCH] sk98lin: avoid message confusion with skge
authorshemminger@osdl.org <shemminger@osdl.org>
Thu, 24 Nov 2005 06:00:51 +0000 (22:00 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Dec 2005 07:22:03 +0000 (02:22 -0500)
Avoid possible confusion between skge and sk98lin driver by
tagging messages properly.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sk98lin/skge.c

index 6e2ffd684c292495f926f33289bfae2ce3ef0f59..00c5d7f04c68547acfde46204d5b4041098db6bf 100644 (file)
@@ -4853,7 +4853,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
        dev->irq = pdev->irq;
        error = SkGeInitPCI(pAC);
        if (error) {
-               printk("SKGE: PCI setup failed: %i\n", error);
+               printk(KERN_ERR "sk98lin: PCI setup failed: %i\n", error);
                goto out_free_netdev;
        }
 
@@ -4889,7 +4889,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
 
        /* Register net device */
        if (register_netdev(dev)) {
-               printk(KERN_ERR "SKGE: Could not register device.\n");
+               printk(KERN_ERR "sk98lin: Could not register device.\n");
                goto out_free_resources;
        }
 
@@ -4955,7 +4955,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
 #endif
 
                if (register_netdev(dev)) {
-                       printk(KERN_ERR "SKGE: Could not register device.\n");
+                       printk(KERN_ERR "sk98lin: Could not register device for seconf port.\n");
                        free_netdev(dev);
                        pAC->dev[1] = pAC->dev[0];
                } else {