mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/bus/usb/usbhub.c (attach_root_port): Wait 10ms
after enabling port.
This commit is contained in:
1 parent
ff44d107ad
commit
153a4b552d
2 files changed
+7
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2011-05-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/bus/usb/usbhub.c (attach_root_port): Wait 10ms
|
||||
after enabling port.
|
||||
|
||||
2011-05-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Skip incorrect USB devices.
|
||||
|
||||
@@ -215,6 +215,8 @@ attach_root_port (struct grub_usb_hub *hub, int portno,
|
||||
return;
|
||||
hub->controller->dev->pending_reset = grub_get_time_ms () + 5000;
|
||||
|
||||
grub_millisleep (10);
|
||||
|
||||
/* Enable the port and create a device. */
|
||||
dev = grub_usb_hub_add_dev (hub->controller, speed);
|
||||
hub->controller->dev->pending_reset = 0;
|
||||
|
||||
Reference in new issue
Block a user