aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMichael Trimarchi2008-11-28 13:19:19 +0100
committerRemy Bohmer2009-01-28 19:57:27 +0100
commit3e126484df7868e341545cce740b24b62b0cd3b7 (patch)
treea318e5fa05872d743737a9e1fc7756832d989376 /common
parenta0cb3fc31e58996a1c5732715ac04159d4d284fd (diff)
Prepare USB layer for ehci
Prepare USB layer for ehci support Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_usb.c2
-rw-r--r--common/usb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c
index 423a29f33e2..c95f61bd5e1 100644
--- a/common/cmd_usb.c
+++ b/common/cmd_usb.c
@@ -310,7 +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->slow ? "1.5MBit/s" : "12MBit/s",
+ dev->speed ? "1.5MBit/s" : "12MBit/s",
dev->config.MaxPower * 2);
if (strlen(dev->mf) || strlen(dev->prod) || strlen(dev->serial))
printf(" %s %s %s %s\n", pre, dev->mf, dev->prod, dev->serial);
diff --git a/common/usb.c b/common/usb.c
index ee181528c88..313845234f8 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -1136,7 +1136,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
/* Allocate a new device struct for it */
usb = usb_alloc_new_device();
- usb->slow = (portstatus & USB_PORT_STAT_LOW_SPEED) ? 1 : 0;
+ usb->speed = (portstatus & USB_PORT_STAT_LOW_SPEED) ? 1 : 0;
dev->children[port] = usb;
usb->parent = dev;