mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
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
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user