From: Marek Vasut Date: Tue, 12 Jul 2011 02:16:47 +0200 Subject: [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers In-Reply-To: <1310429807-23840-1-git-send-email-marek.vasut@gmail.com> References: <1310429807-23840-1-git-send-email-marek.vasut@gmail.com> Message-ID: <1310429807-23840-5-git-send-email-marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Marek Vasut --- 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