Changes in uspace/lib/drv/generic/driver.c [2a770a35:28a3e74] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r2a770a35 r28a3e74 273 273 274 274 res = driver->driver_ops->add_device(dev); 275 if (res == EOK) { 276 printf("%s: new device with handle=%" PRIun " was added.\n", 277 driver->name, dev_handle); 278 } else { 279 printf("%s: failed to add a new device with handle = %" PRIun ".\n", 280 driver->name, dev_handle); 275 if (res != EOK) 281 276 delete_device(dev); 282 }283 277 284 278 async_answer_0(iid, res); … … 408 402 get_remote_method(rem_iface, iface_method_idx); 409 403 if (iface_method_ptr == NULL) { 410 / / the interface has not such method404 /* The interface has not such method */ 411 405 printf("%s: driver_connection_gen error - " 412 406 "invalid interface method.", driver->name);
Note:
See TracChangeset
for help on using the changeset viewer.