diff options
author | Stefan Roese <sr@denx.de> | 2006-08-07 14:29:04 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-08-07 14:29:04 +0200 |
commit | e335496a3222125a30136ad2c7762429b75624ed (patch) | |
tree | 3ce1b18c34aca29e84f4304258e04e0bf6a9f339 /common/cmd_mii.c | |
parent | a2c95a72247990dee9a03b26b4dc9fc0182c97ed (diff) | |
download | u-boot-e335496a3222125a30136ad2c7762429b75624ed.tar.gz |
Change "mii info" to not print an error upon missing PHY at address
Patch by Stefan Roese, 07 Aug 2006
Diffstat (limited to 'common/cmd_mii.c')
-rw-r--r-- | common/cmd_mii.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/cmd_mii.c b/common/cmd_mii.c index ee5e43ee8c..e6595360cb 100644 --- a/common/cmd_mii.c +++ b/common/cmd_mii.c @@ -117,8 +117,6 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) miiphy_speed (devname, j), (miiphy_duplex (devname, j) == FULL) ? "FDX" : "HDX"); - } else { - puts ("Error reading info from the PHY\n"); } } } else if (op == 'r') { @@ -503,8 +501,6 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) miiphy_speed (devname, j), (miiphy_duplex (devname, j) == FULL) ? "FDX" : "HDX"); - } else { - puts ("Error reading info from the PHY\n"); } } } else if (op[0] == 'r') { |