Changeset 355f7c2 in mainline for uspace/srv/hw/bus/usb/hcd/virtual/conndev.c
- Timestamp:
- 2010-10-25T07:44:02Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca07cd3
- Parents:
- 7a7bfeb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/conndev.c
r7a7bfeb3 r355f7c2 44 44 /** Connection handler for communcation with virtual device. 45 45 * 46 * This function also takes care of proper phone hung-up. 47 * 46 48 * @param phone_hash Incoming phone hash. 47 49 * @param dev Virtual device handle. … … 51 53 assert(dev != NULL); 52 54 53 dprintf("phone%#x: virtual device %d connected", 54 phone_hash, dev->id); 55 dprintf(0, "virtual device connected through phone %#x", phone_hash); 55 56 56 57 while (true) { … … 64 65 ipc_hangup(dev->phone); 65 66 ipc_answer_0(callid, EOK); 66 dprintf( "phone%#x: device %d hang-up",67 phone_hash , dev->id);67 dprintf(0, "phone%#x: device hung-up", 68 phone_hash); 68 69 return; 69 70 … … 73 74 74 75 default: 76 dprintf_inval_call(2, call, phone_hash); 75 77 ipc_answer_0(callid, EINVAL); 76 78 break;
Note:
See TracChangeset
for help on using the changeset viewer.