[usb] Add USB_ROM() and USB_ID() macros
Add USB_ROM() and USB_ID() macros following the pattern for PCI_ROM() and PCI_ID(), to allow for the possibility of including USB network devices within the "all-drivers" build of iPXE. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1349,11 +1349,7 @@ static void efi_usb_remove ( struct usb_function *func ) {
|
||||
|
||||
/** USB I/O protocol device IDs */
|
||||
static struct usb_device_id efi_usb_ids[] = {
|
||||
{
|
||||
.name = "usbio",
|
||||
.vendor = USB_ANY_ID,
|
||||
.product = USB_ANY_ID,
|
||||
},
|
||||
USB_ID ( 0xffff, 0xffff, "usbio", "USB passthrough", 0 ),
|
||||
};
|
||||
|
||||
/** USB I/O protocol driver */
|
||||
|
||||
Reference in New Issue
Block a user