summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-07-24 21:39:10 +0000
committerWolfgang Denk <wd@denx.de>2011-08-31 22:35:27 +0200
commitb91a9d9d4dc81d8b62690b03546d92d27744e9b5 (patch)
tree95d2580f5d311c293e021b6edc124d125666ecba /drivers/net
parentbd061a5214e60c9d1bb24393933323bd1a2dae19 (diff)
downloadu-boot-imx-b91a9d9d4dc81d8b62690b03546d92d27744e9b5.zip
u-boot-imx-b91a9d9d4dc81d8b62690b03546d92d27744e9b5.tar.gz
u-boot-imx-b91a9d9d4dc81d8b62690b03546d92d27744e9b5.tar.bz2
phy.c: make less verbose - turn printf() into debug()
The PHY driver was too verbose and corrupted the boot message display like this: ... Net: TSEC0 connected to Marvell 88E1111S TSEC1 connected to Marvell 88E1111S TSEC0, TSEC1 ... Turn printf() into debug() so we het the expected output again: ... Net: TSEC0, TSEC1 ... Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index c7edcc0..ce69c19 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -714,7 +714,7 @@ struct phy_device *phy_connect(struct mii_dev *bus, int addr,
phydev->dev = dev;
- printf("%s connected to %s\n", dev->name, phydev->drv->name);
+ debug("%s connected to %s\n", dev->name, phydev->drv->name);
return phydev;
}