Fix USB devices not being detected when requested
due to delayed attach.
This commit is contained in:
parent
e744219bb6
commit
d745dda77e
9 changed files with 48 additions and 15 deletions
|
@ -467,7 +467,7 @@ grub_print_spaces (struct grub_term_output *term, int number_spaces)
|
|||
grub_putcode (' ', term);
|
||||
}
|
||||
|
||||
extern void (*EXPORT_VAR (grub_term_poll_usb)) (void);
|
||||
extern void (*EXPORT_VAR (grub_term_poll_usb)) (int wait_for_completion);
|
||||
|
||||
#define GRUB_TERM_REPEAT_PRE_INTERVAL 400
|
||||
#define GRUB_TERM_REPEAT_INTERVAL 50
|
||||
|
|
|
@ -291,7 +291,7 @@ struct grub_usb_attach_desc
|
|||
void grub_usb_register_attach_hook_class (struct grub_usb_attach_desc *desc);
|
||||
void grub_usb_unregister_attach_hook_class (struct grub_usb_attach_desc *desc);
|
||||
|
||||
void grub_usb_poll_devices (void);
|
||||
void grub_usb_poll_devices (int wait_for_completion);
|
||||
|
||||
void grub_usb_device_attach (grub_usb_device_t dev);
|
||||
grub_usb_err_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue