mirror of
https://github.com/ipxe/ipxe
synced 2026-05-13 03:41:15 +03:00
[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:
@@ -895,11 +895,7 @@ static void usbblk_remove ( struct usb_function *func ) {
|
||||
|
||||
/** Mass storage class device IDs */
|
||||
static struct usb_device_id usbblk_ids[] = {
|
||||
{
|
||||
.name = "usbblk",
|
||||
.vendor = USB_ANY_ID,
|
||||
.product = USB_ANY_ID,
|
||||
},
|
||||
USB_ID ( 0xffff, 0xffff, "usbblk", "USB block device", 0 ),
|
||||
};
|
||||
|
||||
/** Mass storage driver */
|
||||
|
||||
Reference in New Issue
Block a user