Changes in uspace/srv/devman/devman.c [3ad7b1c:ebcb05a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r3ad7b1c rebcb05a 555 555 } 556 556 557 /** Remember the driver's phone. 558 * 559 * @param driver The driver. 560 * @param phone The phone to the driver. 561 */ 562 void set_driver_phone(driver_t *driver, sysarg_t phone) 563 { 564 fibril_mutex_lock(&driver->driver_mutex); 565 assert(driver->state == DRIVER_STARTING); 566 driver->phone = phone; 567 fibril_mutex_unlock(&driver->driver_mutex); 568 } 569 557 570 /** Notify driver about the devices to which it was assigned. 558 571 * … … 672 685 list_initialize(&drv->devices); 673 686 fibril_mutex_initialize(&drv->driver_mutex); 674 drv->phone = -1;675 687 } 676 688
Note:
See TracChangeset
for help on using the changeset viewer.