提交 01a97d45 编写于 作者: M Marek Vasut 提交者: Remy Bohmer

USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
上级 0b09f54a
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册