]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
mac8390: raise error logging priority
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 2 Jun 2010 14:06:34 +0000 (07:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 14:06:34 +0000 (07:06 -0700)
Log error conditions using KERN_ERR priority.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mac8390.c

index 6b14cfef46c26d064d044336ea3cee6d2efebf2c..3f8a64f88181fddfa2ff2ff833891c43908a2a35 100644 (file)
@@ -554,7 +554,7 @@ static int __init mac8390_initdev(struct net_device *dev,
        case MAC8390_APPLE:
                switch (mac8390_testio(dev->mem_start)) {
                case ACCESS_UNKNOWN:
-                       pr_info("Don't know how to access card memory!\n");
+                       pr_err("Don't know how to access card memory!\n");
                        return -ENODEV;
                        break;
 
@@ -646,7 +646,7 @@ static int mac8390_open(struct net_device *dev)
        __ei_open(dev);
        err = request_irq(dev->irq, __ei_interrupt, 0, "8390 Ethernet", dev);
        if (err)
-               pr_info("%s: unable to get IRQ %d\n", dev->name, dev->irq);
+               pr_err("%s: unable to get IRQ %d\n", dev->name, dev->irq);
        return err;
 }