diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2008-01-16 09:40:41 +0100 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-01-16 16:56:57 -0500 |
commit | 84a3047b72b70e862b0b7a8e2058077457f89a32 (patch) | |
tree | a2e8ccc866baca31e3ff4c21286eadc87d152eb9 /drivers | |
parent | ee62ed3286f83b98b7785e0318dc6379e78f7ff6 (diff) | |
download | bootable_bootloader_goldelico_gta04-84a3047b72b70e862b0b7a8e2058077457f89a32.tar.gz bootable_bootloader_goldelico_gta04-84a3047b72b70e862b0b7a8e2058077457f89a32.tar.bz2 bootable_bootloader_goldelico_gta04-84a3047b72b70e862b0b7a8e2058077457f89a32.zip |
Remove annoying debug printout for PHY less boards.
PHY less board prints out lots of "read wrong ...":
read wrong value : mii_id 3,mii_reg 2, base e0102320
read wrong value : mii_id 3,mii_reg 3, base e0102320
UEC: PHY is Generic MII (ffffffff)
read wrong value : mii_id 3,mii_reg 4, base e0102320
read wrong value : mii_id 3,mii_reg 0, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 5, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 1, base e0102320
read wrong value : mii_id 3,mii_reg 5, base e0102320
FSL UEC0: Full Duplex
FSL UEC0: Speed 100BT
FSL UEC0: Link is up
Using FSL UEC0 device
Make this printout depend on UEC_VERBOSE_DEBUG and
remove its definition in uec_phy.c
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/qe/uec_phy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c index f890d4fbf..c549b6bb9 100644 --- a/drivers/qe/uec_phy.c +++ b/drivers/qe/uec_phy.c @@ -28,7 +28,6 @@ #if defined(CONFIG_QE) -#define UEC_VERBOSE_DEBUG #define ugphy_printk(format, arg...) \ printf(format "\n", ## arg) @@ -114,7 +113,7 @@ int uec_read_phy_reg (struct eth_device *dev, int mii_id, int regnum) /* Read MII management status */ value = (u16) in_be32 (&ug_regs->miimstat); if (value == 0xffff) - ugphy_warn + ugphy_vdbg ("read wrong value : mii_id %d,mii_reg %d, base %08x", mii_id, mii_reg, (u32) & (ug_regs->miimcfg)); |