mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Add boot command line option to ignore any EHCI controllers.
This commit is contained in:
parent
2e048a7c61
commit
711596edbb
@ -692,7 +692,9 @@ void find_usb_keyboards(bool pause_at_end)
|
||||
// We need to initialise EHCI controllers before initialising any of their companion
|
||||
// controllers, so do it now.
|
||||
if (controller_type[func] == EHCI) {
|
||||
probe_usb_controller(bus, dev, func, controller_type[func]);
|
||||
if (~usb_init_options & USB_IGNORE_EHCI) {
|
||||
probe_usb_controller(bus, dev, func, controller_type[func]);
|
||||
}
|
||||
// If we've filled the controller table, abort now.
|
||||
if (num_usb_controllers == MAX_USB_CONTROLLERS) {
|
||||
return;
|
||||
|
@ -112,7 +112,8 @@ typedef struct usb_hcd_s {
|
||||
*/
|
||||
typedef enum {
|
||||
USB_DEFAULT_INIT = 0,
|
||||
USB_EXTRA_RESET = 1
|
||||
USB_EXTRA_RESET = 1 << 0,
|
||||
USB_IGNORE_EHCI = 1 << 1
|
||||
} usb_init_options_t;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user