Changeset 2480e19 in mainline for uspace/lib/libdrv/generic/driver.c


Ignore:
Timestamp:
2010-04-08T14:04:48Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d1fc8f0
Parents:
89ce401a
Message:

fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libdrv/generic/driver.c

    r89ce401a r2480e19  
    103103static void driver_add_device(ipc_callid_t iid, ipc_call_t *icall)
    104104{
    105         printf("%s: driver_add_device\n", driver->name);
    106 
    107105        // TODO device state - the driver may detect the device is not actually present
    108106        // (old non PnP devices) or is not working properly.
     
    128126static void driver_connection_devman(ipc_callid_t iid, ipc_call_t *icall)
    129127{
    130         printf("%s: driver_connection_devman \n", driver->name);
    131 
    132128        /* Accept connection */
    133129        ipc_answer_0(iid, EOK);
     
    174170        // TODO open the device (introduce some callbacks for opening and closing devices registered by the driver)
    175171       
    176         printf("%s: driver_connection_gen: accepting connection.\n", driver->name);
    177172        ipc_answer_0(iid, EOK);
    178173
     
    180175                ipc_callid_t callid;
    181176                ipc_call_t call;
    182 
    183                 printf("%s: driver_connection_gen: waiting for call.\n", driver->name);
    184177                callid = async_get_call(&call);
    185178                ipcarg_t method = IPC_GET_METHOD(call);
     
    236229static void driver_connection_driver(ipc_callid_t iid, ipc_call_t *icall)
    237230{
    238         printf("%s: driver_connection_driver\n", driver->name);
    239231        driver_connection_gen(iid, icall, true);
    240232}
     
    242234static void driver_connection_client(ipc_callid_t iid, ipc_call_t *icall)
    243235{
    244         printf("%s: driver_connection_client\n", driver->name);
    245236        driver_connection_gen(iid, icall, false);
    246237}
     
    275266bool child_device_register(device_t *child, device_t *parent)
    276267{
    277         printf("%s: child_device_register\n", driver->name);
     268        // printf("%s: child_device_register\n", driver->name);
    278269
    279270        assert(NULL != child->name);
Note: See TracChangeset for help on using the changeset viewer.