mirror of
https://github.com/ipxe/ipxe
synced 2026-01-26 17:31:17 +03:00
[usb] Add "usbscan" command for iterating over USB devices
Implement a "usbscan" command as a direct analogy of the existing "pciscan" command, allowing scripts to iterate over all detected USB devices. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -302,6 +302,9 @@ REQUIRE_OBJECT ( shim_cmd );
|
||||
#ifdef IMAGE_CRYPT_CMD
|
||||
REQUIRE_OBJECT ( image_crypt_cmd );
|
||||
#endif
|
||||
#ifdef USB_CMD
|
||||
REQUIRE_OBJECT ( usb_cmd );
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Drag in miscellaneous objects
|
||||
|
||||
@@ -171,6 +171,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
//#define IMAGE_MEM_CMD /* Read memory command */
|
||||
#define IMAGE_ARCHIVE_CMD /* Archive image management commands */
|
||||
#define SHIM_CMD /* EFI shim command (or dummy command) */
|
||||
//#define USB_CMD /* USB commands */
|
||||
|
||||
/*
|
||||
* ROM-specific options
|
||||
|
||||
Reference in New Issue
Block a user