Changeset 361e61b in mainline for uspace/lib/usb/src/recognise.c
- Timestamp:
- 2011-03-21T14:23:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55e388a1
- Parents:
- c32688d (diff), 48fe0c9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/recognise.c
rc32688d r361e61b 247 247 #undef VENDOR_ONLY_FMT 248 248 #undef VENDOR_ONLY_ARGS 249 250 /* As a last resort, try fallback driver. */ 251 ADD_MATCHID_OR_RETURN(matches, 10, "usb&interface&fallback"); 249 252 250 253 return EOK; … … 291 294 } 292 295 296 /* As a last resort, try fallback driver. */ 297 ADD_MATCHID_OR_RETURN(matches, 10, "usb&fallback"); 298 293 299 return EOK; 294 300 } … … 369 375 goto failure; 370 376 } 377 rc = usb_endpoint_pipe_probe_default_control(&ctrl_pipe); 378 if (rc != EOK) { 379 goto failure; 380 } 371 381 372 382 /* … … 374 384 * naming etc., something more descriptive could be created. 375 385 */ 376 rc = asprintf(&child_name, "usbdev%02zu", this_device_name_index); 386 rc = asprintf(&child_name, "usb%02zu_a%d", 387 this_device_name_index, address); 377 388 if (rc < 0) { 378 389 goto failure;
Note:
See TracChangeset
for help on using the changeset viewer.