]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Change "mii info" to not print an error upon missing PHY at address
authorStefan Roese <sr@denx.de>
Mon, 7 Aug 2006 12:29:04 +0000 (14:29 +0200)
committerStefan Roese <sr@denx.de>
Mon, 7 Aug 2006 12:29:04 +0000 (14:29 +0200)
Patch by Stefan Roese, 07 Aug 2006

CHANGELOG
common/cmd_mii.c

index df7470548f2cf9cec232f4a003c3ddc2dff5d2da..d4802d57a0acd8b41b2bfeb17e11fb08e4aca9c7 100644 (file)
--- 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.
index ee5e43ee8c759ded1ee299054e745374008c97af..e6595360cbeca81a3fe144ee18ad7ae0e8d6bb0e 100644 (file)
@@ -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') {