From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection
Date: Wed, 21 Jan 2009 15:22:56 -0500 [thread overview]
Message-ID: <200901211522.57261.vapier@gentoo.org> (raw)
In-Reply-To: <1232554307-12381-1-git-send-email-sr@denx.de>
On Wednesday 21 January 2009 11:11:47 Stefan Roese wrote:
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
> common/cmd_usb.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/common/cmd_usb.c b/common/cmd_usb.c
> index 9e55c7c..773d1b5 100644
> --- a/common/cmd_usb.c
> +++ b/common/cmd_usb.c
> @@ -310,6 +310,7 @@ void usb_show_tree_graph(struct usb_device *dev, char
> *pre) pre[index] = 0;
> printf(" %s (%s, %dmA)\n", usb_get_class_desc(
> dev->config.if_desc[0].bInterfaceClass),
> + dev->speed == 2 ? "480MBit/s" :
> dev->speed ? "1.5MBit/s" : "12MBit/s",
> dev->config.MaxPower * 2);
> if (strlen(dev->mf) || strlen(dev->prod) || strlen(dev->serial))
we had a similar patch cooking locally for this
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090121/760a1c85/attachment.pgp
next prev parent reply other threads:[~2009-01-21 20:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 16:11 [U-Boot] [PATCH] USB: Change "usb tree" cmd to print 480MBit upon highspeed connection Stefan Roese
2009-01-21 16:18 ` Stefan Roese
2009-01-21 20:22 ` Mike Frysinger [this message]
2009-01-22 0:01 ` Michael Trimarchi
2009-01-22 5:21 ` Stefan Roese
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=200901211522.57261.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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