Changes in uspace/lib/drv/generic/driver.c [7b616e2:58563585] in mainline
- File:
-
- 1 edited
-
uspace/lib/drv/generic/driver.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r7b616e2 r58563585 943 943 int rc = async_create_port(INTERFACE_DDF_DRIVER, driver_connection_driver, 944 944 NULL, &port); 945 if (rc != EOK) { 946 printf("Error: Failed to create driver port.\n"); 945 if (rc != EOK) 947 946 return rc; 948 }949 947 950 948 rc = async_create_port(INTERFACE_DDF_DEVMAN, driver_connection_devman, 951 949 NULL, &port); 952 if (rc != EOK) { 953 printf("Error: Failed to create devman port.\n"); 950 if (rc != EOK) 954 951 return rc; 955 }956 952 957 953 async_set_fallback_port_handler(driver_connection_client, NULL); … … 968 964 /* Return success from the task since server has started. */ 969 965 rc = task_retval(0); 970 if (rc != EOK) { 971 printf("Error: Failed returning task value.\n"); 966 if (rc != EOK) 972 967 return rc; 973 }974 968 975 969 async_manager();
Note:
See TracChangeset
for help on using the changeset viewer.
