diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-10-17 14:05:25 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-10-17 14:18:22 +0100 |
commit | c219b5d8a9536cc87e9c53e8389e59c706ba3f8e (patch) | |
tree | 52d62d6941b071396ecc2d65de9c5cb5199d395f /src/config/config.c | |
parent | 2bf16c6ffca1e294bb8233d19c9c36e43b31f041 (diff) | |
download | ipxe-c219b5d8a9536cc87e9c53e8389e59c706ba3f8e.tar.gz |
[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>
Diffstat (limited to 'src/config/config.c')
-rw-r--r-- | src/config/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index f532c1d2d..0f950eb9d 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -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 |