Permalink
Browse files

cpsw,phy_device: demote PHY message to INFO

This keeps them from appearing on the screen when booting with 'quiet'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent 8cbcd96 commit 8c41ea0f32e9b25c1710fc458078ccd4ff87d3f9 @koenkooi koenkooi committed May 17, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 drivers/net/ethernet/ti/cpsw.c
  2. +2 −2 drivers/net/phy/phy_device.c
@@ -638,7 +638,7 @@ static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv)
slave->data->phy_id, slave->slave_num);
slave->phy = NULL;
} else {
- printk(KERN_ERR"\nCPSW phy found : id is : 0x%x\n",
+ printk(KERN_INFO"\nCPSW phy found : id is : 0x%x\n",
slave->phy->phy_id);
cpsw_set_phy_config(priv, slave->phy);
phy_start(slave->phy);
@@ -380,7 +380,7 @@ struct phy_device * phy_connect(struct net_device *dev, const char *bus_id,
* PHY with the requested name */
d = bus_find_device_by_name(&mdio_bus_type, NULL, bus_id);
if (!d) {
- pr_err("PHY %s not found\n", bus_id);
+ pr_info("PHY %s not found\n", bus_id);
return ERR_PTR(-ENODEV);
}
phydev = to_phy_device(d);
@@ -503,7 +503,7 @@ struct phy_device *phy_attach(struct net_device *dev,
* PHY with the requested name */
d = bus_find_device_by_name(bus, NULL, bus_id);
if (!d) {
- pr_err("PHY %s not found\n", bus_id);
+ pr_info("PHY %s not found\n", bus_id);
return ERR_PTR(-ENODEV);
}
phydev = to_phy_device(d);

0 comments on commit 8c41ea0

Please sign in to comment.