support id table for multi vid pid

This commit is contained in:
sakumisu
2024-05-03 18:54:36 +08:00
parent 4bf0e126af
commit 5fec929b93
18 changed files with 94 additions and 98 deletions

View File

@@ -176,7 +176,7 @@ get_mac:
}
}
/* bit0 Promiscuous
/* bit0 Promiscuous
* bit1 ALL Multicast
* bit2 Directed
* bit3 Broadcast
@@ -333,7 +333,6 @@ CLASS_INFO_DEFINE const struct usbh_class_info cdc_ecm_class_info = {
.class = USB_DEVICE_CLASS_CDC,
.subclass = CDC_ETHERNET_NETWORKING_CONTROL_MODEL,
.protocol = CDC_COMMON_PROTOCOL_NONE,
.vid = 0x00,
.pid = 0x00,
.id_table = NULL,
.class_driver = &cdc_ecm_class_driver
};