Changes in uspace/lib/usb/src/recognise.c [4e8e1f5:345ea18] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/recognise.c
r4e8e1f5 r345ea18 76 76 }; 77 77 78 staticdevice_ops_t child_ops = {78 device_ops_t child_ops = { 79 79 .interfaces[USB_DEV_IFACE] = &usb_iface 80 80 }; … … 161 161 /* First, with release number. */ 162 162 rc = usb_add_match_id(matches, 100, 163 "usb&vendor= %d&product=%d&release=" BCD_FMT,163 "usb&vendor=0x%04x&product=0x%04x&release=" BCD_FMT, 164 164 (int) device_descriptor->vendor_id, 165 165 (int) device_descriptor->product_id, … … 170 170 171 171 /* Next, without release number. */ 172 rc = usb_add_match_id(matches, 90, "usb&vendor=%d&product=%d", 172 rc = usb_add_match_id(matches, 90, 173 "usb&vendor=0x%04x&product=0x%04x", 173 174 (int) device_descriptor->vendor_id, 174 175 (int) device_descriptor->product_id);
Note:
See TracChangeset
for help on using the changeset viewer.