projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0fe967f
)
ramips: change debug message levels, and add missing LFs
author
Gabor Juhos
<juhosg@openwrt.org>
Sun, 25 Oct 2009 09:37:24 +0000
(09:37 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sun, 25 Oct 2009 09:37:24 +0000
(09:37 +0000)
SVN-Revision: 18145
target/linux/ramips/files/drivers/net/ramips.c
patch
|
blob
|
history
diff --git
a/target/linux/ramips/files/drivers/net/ramips.c
b/target/linux/ramips/files/drivers/net/ramips.c
index f3e056650be71e7e7507650b084984994ce3a0b1..9ab97144472b736e8d2a18fb813242b8d561f39a 100644
(file)
--- a/
target/linux/ramips/files/drivers/net/ramips.c
+++ b/
target/linux/ramips/files/drivers/net/ramips.c
@@
-313,7
+313,7
@@
ramips_eth_stop(struct net_device *dev)
priv->tx, priv->phy_tx);
pci_free_consistent(NULL, NUM_RX_DESC * sizeof(struct ramips_rx_dma),
priv->rx, priv->phy_rx);
priv->tx, priv->phy_tx);
pci_free_consistent(NULL, NUM_RX_DESC * sizeof(struct ramips_rx_dma),
priv->rx, priv->phy_rx);
- printk(KERN_
INFO
"ramips_eth: stopped\n");
+ printk(KERN_
DEBUG
"ramips_eth: stopped\n");
return 0;
}
return 0;
}
@@
-368,7
+368,7
@@
ramips_eth_plat_probe(struct platform_device *plat)
#ifdef CONFIG_RALINK_RT305X
rt305x_esw_init();
#endif
#ifdef CONFIG_RALINK_RT305X
rt305x_esw_init();
#endif
- printk(KERN_
INFO
"ramips_eth: loaded\n");
+ printk(KERN_
DEBUG
"ramips_eth: loaded\n");
return 0;
}
return 0;
}
@@
-377,7
+377,7
@@
ramips_eth_plat_remove(struct platform_device *plat)
{
unregister_netdev(ramips_dev);
free_netdev(ramips_dev);
{
unregister_netdev(ramips_dev);
free_netdev(ramips_dev);
- printk(KERN_
INFO "ramips_eth: unloaded
");
+ printk(KERN_
DEBUG "ramips_eth: unloaded\n
");
return 0;
}
return 0;
}
@@
-395,7
+395,8
@@
ramips_eth_init(void)
{
int ret = platform_driver_register(&ramips_eth_driver);
if (ret)
{
int ret = platform_driver_register(&ramips_eth_driver);
if (ret)
- printk(KERN_INFO "ramips_eth: Error registering platfom driver!");
+ printk(KERN_ERR
+ "ramips_eth: Error registering platfom driver!\n");
return ret;
}
return ret;
}