aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-25 09:37:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-25 09:37:24 +0000
commitac92dc42d43221e09e9183c4a3f471b11d561be8 (patch)
tree20ad10ef96f9759c5689aedbf1c979d8697ff4cf /target
parent0fe967f6e61142b536ccceb36e41db83b1713916 (diff)
downloadupstream-ac92dc42d43221e09e9183c4a3f471b11d561be8.tar.gz
upstream-ac92dc42d43221e09e9183c4a3f471b11d561be8.tar.bz2
upstream-ac92dc42d43221e09e9183c4a3f471b11d561be8.zip
ramips: change debug message levels, and add missing LFs
SVN-Revision: 18145
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/files/drivers/net/ramips.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c
index f3e056650b..9ab9714447 100644
--- 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);
- printk(KERN_INFO "ramips_eth: stopped\n");
+ printk(KERN_DEBUG "ramips_eth: stopped\n");
return 0;
}
@@ -368,7 +368,7 @@ ramips_eth_plat_probe(struct platform_device *plat)
#ifdef CONFIG_RALINK_RT305X
rt305x_esw_init();
#endif
- printk(KERN_INFO "ramips_eth: loaded\n");
+ printk(KERN_DEBUG "ramips_eth: loaded\n");
return 0;
}
@@ -377,7 +377,7 @@ ramips_eth_plat_remove(struct platform_device *plat)
{
unregister_netdev(ramips_dev);
free_netdev(ramips_dev);
- printk(KERN_INFO "ramips_eth: unloaded");
+ printk(KERN_DEBUG "ramips_eth: unloaded\n");
return 0;
}
@@ -395,7 +395,8 @@ ramips_eth_init(void)
{
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;
}