mac8390: raise error logging priority
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>
This commit is contained in:
parent
130c0f47fd
commit
d92222e27f
1 changed files with 2 additions and 2 deletions
|
@ -554,7 +554,7 @@ static int __init mac8390_initdev(struct net_device *dev,
|
||||||
case MAC8390_APPLE:
|
case MAC8390_APPLE:
|
||||||
switch (mac8390_testio(dev->mem_start)) {
|
switch (mac8390_testio(dev->mem_start)) {
|
||||||
case ACCESS_UNKNOWN:
|
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;
|
return -ENODEV;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -646,7 +646,7 @@ static int mac8390_open(struct net_device *dev)
|
||||||
__ei_open(dev);
|
__ei_open(dev);
|
||||||
err = request_irq(dev->irq, __ei_interrupt, 0, "8390 Ethernet", dev);
|
err = request_irq(dev->irq, __ei_interrupt, 0, "8390 Ethernet", dev);
|
||||||
if (err)
|
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;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue