[DNX#2006040142000571] [U-Boot-Users] Re: parse bug in cmd_mii.c
DENX Support System
support at denx.de
Sat Apr 1 00:20:25 CEST 2006
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142000571] was created:
<snip>
> CHANGELOG
> * When looping over the PHY register address for the mii info
> command, loop exit count is incorrect in the CONFIG_TERSE_MII
> version of do_mii().
> Patch by Andrew Dyer <amdyer at gmail.com>, Sat Mar 11 21:54:52 CST 2006
>
> Signed-off-by: Andrew Dyer <amdyer at gmail.com>
>
> Index: cmd_mii.c
> ===================================================================
> RCS file: /home/cvsroot/Projects/u-boot/common/cmd_mii.c,v
> retrieving revision 1.1.1.5
> retrieving revision 1.8
> diff -u -r1.1.1.5 -r1.8
> --- cmd_mii.c 7 Feb 2006 09:51:23 -0000 1.1.1.5
> +++ cmd_mii.c 12 Mar 2006 03:33:56 -0000 1.8
> @@ -101,7 +106,7 @@
> start = 0; end = 31;
> }
>
> - for (j = start; j < end; j++) {
> + for (j = start; j <= end; j++) {
> if (miiphy_info (devname, j, &oui, &model, &rev)
> == 0) {
> printf ("PHY 0x%02X: "
> "OUI = 0x%04X, "
>
> --
> Hardware, n.:
> The parts of a computer system that can be kicked.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
</snip>
Your U-Boot support team
More information about the U-Boot
mailing list