[U-Boot-Users] small fix for cmd_mii

Hi there,
Using the arguments from the last executed MII command (by just pressing ENTER) does not work. Please consider this trivial patch.
CHANGELOG:
* Patch by Steven Scholz, 24 Feb 2004: - fix MII commands to use values from last command
diff -p -u -r1.6 cmd_mii.c --- common/cmd_mii.c 12 Feb 2004 00:47:13 -0000 1.6 +++ common/cmd_mii.c 24 Feb 2004 13:05:16 -0000 @@ -129,6 +129,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, last_op = op; last_addr = addr; last_data = data; + last_reg = reg;
return rcode; }
BTW: Wolfgang, is it ok to supply such trivial one line patches inline? Or do you want them as attached files to the email?
Thanks!

In message 403B4F8F.2090405@imc-berlin.de you wrote:
- Patch by Steven Scholz, 24 Feb 2004:
- fix MII commands to use values from last command
Thanks, added.
BTW: Wolfgang, is it ok to supply such trivial one line patches inline? Or do you want them as attached files to the email?
This is perfectly fine as long as your mailer does not wrap long lines or otherwise corrupts the patch. If in doubt send a MIME attachment.
Best regards,
Wolfgang Denk
participants (2)
-
Steven Scholz
-
Wolfgang Denk