Re: [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

2011-08-08 Thread Remy Bohmer
Hi,

2011/7/12 Marek Vasut marek.va...@gmail.com:
 Signed-off-by: Marek Vasut marek.va...@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 */


Applied to u-boot-usb. Thanks.

Kind regards,

Remy
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

2011-07-12 Thread Sergei Shtylyov
Hello.

Marek Vasut wrote:

 Signed-off-by: Marek Vasut marek.va...@gmail.com

Hm... but EHCI controllers only support high speed (USB 2.0) devices...
You need a companion controller (UHCI/OHCI) to support the full/low speed 
devices.

WBR, Sergei
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

2011-07-12 Thread Marek Vasut
On Tuesday, July 12, 2011 04:56:23 PM Sergei Shtylyov wrote:
 Hello.
 
 Marek Vasut wrote:
  Signed-off-by: Marek Vasut marek.va...@gmail.com
 
 Hm... but EHCI controllers only support high speed (USB 2.0) devices...
 You need a companion controller (UHCI/OHCI) to support the full/low speed
 devices.

Hi,

I have the thing past a hub with TT. So it's not a problem.
 
 WBR, Sergei
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 5/5] USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

2011-07-11 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@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

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot