All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Add debug message for Blackfin Ethernet Rx function.
Date: Tue, 25 Aug 2009 13:33:58 -0700	[thread overview]
Message-ID: <4A944AB6.4010105@gmail.com> (raw)
In-Reply-To: <1251124419-28482-1-git-send-email-rgetz@blackfin.uclinux.org>

Robin Getz wrote:
> Add a simple print for the Blackfin's Ethernet Rx function,
> so we can debug incomming Ethernet functions easier.
>
> Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
> ---
>  drivers/net/bfin_mac.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
> index 12d98c2..ec45b63 100644
> --- a/drivers/net/bfin_mac.c
> +++ b/drivers/net/bfin_mac.c
> @@ -186,6 +186,9 @@ static int bfin_EMAC_recv(struct eth_device *dev)
>  			printf("Ethernet: bad frame\n");
>  			break;
>  		}
> +
> +		debug("%s: len = %d\n", __func__, length - 4);
> +
>  		NetRxPackets[rxIdx] =
>  		    (volatile uchar *)(rxbuf[rxIdx]->FrmData->Dest);
>  		NetReceive(NetRxPackets[rxIdx], length - 4);
>   
Applied to net/next

regards,
Ben

      reply	other threads:[~2009-08-25 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24 14:33 [U-Boot] [PATCH] Add debug message for Blackfin Ethernet Rx function Robin Getz
2009-08-25 20:33 ` Ben Warren [this message]

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=4A944AB6.4010105@gmail.com \
    --to=biggerbadderben@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.