Changeset 47e3a8e in mainline for uspace/srv/hw/bus/usb/hcd/virtual/conndev.c
- Timestamp:
- 2010-10-15T16:32:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 186d630
- Parents:
- 73301a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/conndev.c
r73301a0 r47e3a8e 46 46 virtdev_connection_t *dev) 47 47 { 48 usb_endpoint_t endpoint = IPC_GET_ARG1(icall);49 48 usb_target_t target = { 50 .address = dev->address,51 .endpoint = endpoint49 .address = IPC_GET_ARG1(icall), 50 .endpoint = IPC_GET_ARG2(icall) 52 51 }; 53 52 … … 80 79 assert(dev != NULL); 81 80 82 dprintf("phone%#x: virtual device %d connected [%d]",83 phone_hash, dev->id , dev->address);81 dprintf("phone%#x: virtual device %d connected", 82 phone_hash, dev->id); 84 83 85 84 while (true) { … … 93 92 ipc_hangup(dev->phone); 94 93 ipc_answer_0(callid, EOK); 95 dprintf("phone%#x: device %d [%d]hang-up",96 phone_hash, dev->id , dev->address);94 dprintf("phone%#x: device %d hang-up", 95 phone_hash, dev->id); 97 96 return; 98 97
Note:
See TracChangeset
for help on using the changeset viewer.