Changeset 504d103 in mainline for uspace/lib/sysman/src/ctl.c


Ignore:
Timestamp:
2019-08-17T13:48:39Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
8fab3f6
Parents:
95d4280a
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-12-04 16:57:19)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:48:39)
Message:

sysman: Call starting by name appropriately
Conflicts:

uspace/srv/devman/driver.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/sysman/src/ctl.c

    r95d4280a r504d103  
    6464 * TODO convert to name->handle API
    6565 */
    66 int sysman_unit_start(const char *unit_name, int flags)
     66int sysman_unit_start_by_name(const char *unit_name, int flags)
    6767{
    6868        async_exch_t *exch = sysman_exchange_begin(SYSMAN_PORT_CTL);
    6969
    70         aid_t req = async_send_1(exch, SYSMAN_CTL_UNIT_START, flags, NULL);
     70        aid_t req = async_send_1(exch, SYSMAN_CTL_UNIT_START_BY_NAME, flags, NULL);
    7171        sysarg_t rc = async_data_write_start(exch, unit_name, str_size(unit_name));
    7272        sysman_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.