summaryrefslogtreecommitdiff
path: root/common/cmd_mii.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2005-10-11 19:09:42 +0200
committerMarian Balakowicz <m8@semihalf.com>2005-10-11 19:09:42 +0200
commite6f2e902334d5ee65bab9cf8292cf668243531e9 (patch)
tree9ee0039daaa8161bc282f1af8d3827a5071acbc7 /common/cmd_mii.c
parent3df5bea0b0bddc196bf952c51d1dd54d966b82ba (diff)
Added support for TQM834x boards.
Diffstat (limited to 'common/cmd_mii.c')
-rw-r--r--common/cmd_mii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mii.c b/common/cmd_mii.c
index 722b9f04c0e..f93232c3294 100644
--- a/common/cmd_mii.c
+++ b/common/cmd_mii.c
@@ -91,7 +91,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
* Look for any and all PHYs. Valid addresses are 0..31.
*/
if (argc >= 3) {
- start = addr; end = addr + 1;
+ start = addrlo; end = addrhi + 1;
} else {
start = 0; end = 32;
}