Changeset 2480e19 in mainline for uspace/lib/libdrv/generic/driver.c
- Timestamp:
- 2010-04-08T14:04:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d1fc8f0
- Parents:
- 89ce401a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libdrv/generic/driver.c
r89ce401a r2480e19 103 103 static void driver_add_device(ipc_callid_t iid, ipc_call_t *icall) 104 104 { 105 printf("%s: driver_add_device\n", driver->name);106 107 105 // TODO device state - the driver may detect the device is not actually present 108 106 // (old non PnP devices) or is not working properly. … … 128 126 static void driver_connection_devman(ipc_callid_t iid, ipc_call_t *icall) 129 127 { 130 printf("%s: driver_connection_devman \n", driver->name);131 132 128 /* Accept connection */ 133 129 ipc_answer_0(iid, EOK); … … 174 170 // TODO open the device (introduce some callbacks for opening and closing devices registered by the driver) 175 171 176 printf("%s: driver_connection_gen: accepting connection.\n", driver->name);177 172 ipc_answer_0(iid, EOK); 178 173 … … 180 175 ipc_callid_t callid; 181 176 ipc_call_t call; 182 183 printf("%s: driver_connection_gen: waiting for call.\n", driver->name);184 177 callid = async_get_call(&call); 185 178 ipcarg_t method = IPC_GET_METHOD(call); … … 236 229 static void driver_connection_driver(ipc_callid_t iid, ipc_call_t *icall) 237 230 { 238 printf("%s: driver_connection_driver\n", driver->name);239 231 driver_connection_gen(iid, icall, true); 240 232 } … … 242 234 static void driver_connection_client(ipc_callid_t iid, ipc_call_t *icall) 243 235 { 244 printf("%s: driver_connection_client\n", driver->name);245 236 driver_connection_gen(iid, icall, false); 246 237 } … … 275 266 bool child_device_register(device_t *child, device_t *parent) 276 267 { 277 printf("%s: child_device_register\n", driver->name);268 // printf("%s: child_device_register\n", driver->name); 278 269 279 270 assert(NULL != child->name);
Note:
See TracChangeset
for help on using the changeset viewer.