public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] small fix for cmd_mii
Date: Tue, 24 Feb 2004 14:20:15 +0100	[thread overview]
Message-ID: <403B4F8F.2090405@imc-berlin.de> (raw)

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!

-- 
Steven Scholz

imc Measurement & Control               imc Me?systeme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland

             reply	other threads:[~2004-02-24 13:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 13:20 Steven Scholz [this message]
2004-02-26 23:18 ` [U-Boot-Users] small fix for cmd_mii Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=403B4F8F.2090405@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox