[PATCH] sk98lin: avoid message confusion with skge
shemminger@osdl.org [Thu, 24 Nov 2005 06:00:51 +0000 (22:00 -0800)]
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 6e2ffd6..00c5d7f 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 {