Commit be0df20c authored by shemminger@osdl.org's avatar shemminger@osdl.org Committed by Jeff Garzik

[PATCH] sk98lin: avoid message confusion with skge

Avoid possible confusion between skge and sk98lin driver by
tagging messages properly.
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 4f4c8150
...@@ -4853,7 +4853,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev, ...@@ -4853,7 +4853,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
dev->irq = pdev->irq; dev->irq = pdev->irq;
error = SkGeInitPCI(pAC); error = SkGeInitPCI(pAC);
if (error) { if (error) {
printk("SKGE: PCI setup failed: %i\n", error); printk(KERN_ERR "sk98lin: PCI setup failed: %i\n", error);
goto out_free_netdev; goto out_free_netdev;
} }
...@@ -4889,7 +4889,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev, ...@@ -4889,7 +4889,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
/* Register net device */ /* Register net device */
if (register_netdev(dev)) { 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; goto out_free_resources;
} }
...@@ -4955,7 +4955,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev, ...@@ -4955,7 +4955,7 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
#endif #endif
if (register_netdev(dev)) { 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); free_netdev(dev);
pAC->dev[1] = pAC->dev[0]; pAC->dev[1] = pAC->dev[0];
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment