[U-Boot-Users] [PATCH] mii info addr typo

Gleb Natapov gleb at nbase.co.il
Wed Dec 29 15:56:58 CET 2004


Hello Wolfgang,

Attached patch fix typo in "mii info addr" command.
"mii info" ignores addr parameter now.

--
			Gleb.
-------------- next part --------------
--- u-boot/common/cmd_mii.c	2004-05-16 15:21:56.000000000 +0300
+++ u-boot.mrv/common/cmd_mii.c	2004-12-29 16:35:31.000000000 +0200
@@ -456,7 +456,7 @@
 		 * Look for any and all PHYs.  Valid addresses are 0..31.
 		 */
 		if (argc >= 3) {
-			start = addr; end = addr + 1;
+			start = addrlo; end = addrlo + 1;
 		} else {
 			start = 0; end = 32;
 		}
--- u-boot/CHANGELOG	2004-12-29 16:38:20.000000000 +0200
+++ u-boot.mrv/CHANGELOG	2004-12-29 16:49:09.000000000 +0200
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.1:
 ======================================================================
 
+* Patch by Gleb Natapov, 29 Dec 2004:
+  Fix "mii info {addr}" handling
+
 * Fix problems with CMC_PU2 flash driver.
 
 * Cleanup:


More information about the U-Boot mailing list