From: Stefan Roese Date: Mon, 7 Aug 2006 12:29:04 +0000 (+0200) Subject: Change "mii info" to not print an error upon missing PHY at address X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e335496a3222125a30136ad2c7762429b75624ed;p=u-boot.git Change "mii info" to not print an error upon missing PHY at address Patch by Stefan Roese, 07 Aug 2006 --- diff --git a/CHANGELOG b/CHANGELOG index df7470548f..d4802d57a0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Change "mii info" to not print an error upon missing PHY at address + Patch by Stefan Roese, 07 Aug 2006 + * PPC440 DDR setup: Set SDRAM0_CFG0[PMU]=0 for best performance AMCC suggested to set the PMU bit to 0 for best performace on the PPC440 DDR controller. 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') {