public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers
Date: Tue, 12 Jul 2011 02:16:47 +0200	[thread overview]
Message-ID: <1310429807-23840-5-git-send-email-marek.vasut@gmail.com> (raw)
In-Reply-To: <1310429807-23840-1-git-send-email-marek.vasut@gmail.com>

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
 common/usb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/usb.c b/common/usb.c
index 8e84266..a401c09 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -1166,6 +1166,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
 
 	dev->children[port] = usb;
 	usb->parent = dev;
+	usb->portnr = port + 1;
 	/* Run it through the hoops (find a driver, etc) */
 	if (usb_new_device(usb)) {
 		/* Woops, disable the port */
-- 
1.7.5.3

  parent reply	other threads:[~2011-07-12  0:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12  0:16 [U-Boot] [PATCH 1/5] EfikaMX: Use correct imximage.cfg Marek Vasut
2011-07-12  0:16 ` [U-Boot] [PATCH 2/5] EfikaMX: Add missing CONFIG_SYS_TEXT_BASE Marek Vasut
2011-07-13 13:47   ` Stefano Babic
2011-07-12  0:16 ` [U-Boot] [PATCH 3/5] EfikaMX: Enable EXT2 booting Marek Vasut
2011-07-13 13:47   ` Stefano Babic
2011-07-12  0:16 ` [U-Boot] [PATCH 4/5] USB: Move USB_PRINTF() out of ifdef in usb_scan_devices() Marek Vasut
2011-07-13 13:49   ` Stefano Babic
2011-07-13 21:23     ` [U-Boot] [PATCH 4/5] USB: Move USB_PRINTF() out of ifdef in usb_scan_devices () Marek Vasut
2011-08-08 19:53       ` [U-Boot] [PATCH 4/5] USB: Move USB_PRINTF() out of ifdef in usb_scan_devices() Remy Bohmer
2011-08-08 19:59         ` Remy Bohmer
2011-07-12  0:16 ` Marek Vasut [this message]
2011-07-12 14:56   ` [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers Sergei Shtylyov
2011-07-12 15:09     ` Marek Vasut
2011-08-08 19:46   ` Remy Bohmer
2011-07-13 13:47 ` [U-Boot] [PATCH 1/5] EfikaMX: Use correct imximage.cfg Stefano Babic

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=1310429807-23840-5-git-send-email-marek.vasut@gmail.com \
    --to=marek.vasut@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox