Changeset a39cfb8 in mainline for uspace/srv/devman/devman.c
- Timestamp:
- 2011-04-14T07:54:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e05d6c3
- Parents:
- 3f3afb9 (diff), 34e8bab (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/srv/devman/devman.c
r3f3afb9 ra39cfb8 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 570 557 /** Notify driver about the devices to which it was assigned. 571 558 * … … 685 672 list_initialize(&drv->devices); 686 673 fibril_mutex_initialize(&drv->driver_mutex); 674 drv->phone = -1; 687 675 } 688 676
Note:
See TracChangeset
for help on using the changeset viewer.