aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/dm96xx.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-09-14 17:52:25 +0100
committerMichael Brown <mcb30@ipxe.org>2015-09-14 21:56:40 +0100
commit668dc73d526fa67957b9c10100f9ca5f2ab60522 (patch)
treecf6887506d5ac016fd04497cbd568463292903de /src/drivers/net/dm96xx.c
parent549a0caabb2f239fc702ccea3c1825518e13d121 (diff)
downloadipxe-668dc73d526fa67957b9c10100f9ca5f2ab60522.tar.gz
[usb] Allow for wildcard USB class IDs
Make the class ID a property of the USB driver (rather than a property of the USB device ID), and allow USB drivers to specify a wildcard ID for any of the three component IDs (class, subclass, or protocol). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/dm96xx.c')
-rw-r--r--src/drivers/net/dm96xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/net/dm96xx.c b/src/drivers/net/dm96xx.c
index b4eff50ab..817a84a29 100644
--- a/src/drivers/net/dm96xx.c
+++ b/src/drivers/net/dm96xx.c
@@ -666,6 +666,7 @@ static struct usb_device_id dm96xx_ids[] = {
struct usb_driver dm96xx_driver __usb_driver = {
.ids = dm96xx_ids,
.id_count = ( sizeof ( dm96xx_ids ) / sizeof ( dm96xx_ids[0] ) ),
+ .class = USB_CLASS_ID ( USB_ANY_ID, USB_ANY_ID, USB_ANY_ID ),
.score = USB_SCORE_NORMAL,
.probe = dm96xx_probe,
.remove = dm96xx_remove,