Changeset 04c418d in mainline for uspace/drv/vhc/transfer.c
- Timestamp:
- 2011-05-17T07:58:39Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7d521e24
- Parents:
- e913cc9 (diff), 3375bd4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/transfer.c
re913cc9 r04c418d 4 4 #include <usbvirt/ipc.h> 5 5 #include "vhcd.h" 6 7 #define list_foreach(pos, head) \8 for (pos = (head)->next; pos != (head); \9 pos = pos->next)10 6 11 7 vhc_transfer_t *vhc_transfer_create(usb_address_t address, usb_endpoint_t ep, … … 67 63 fibril_mutex_lock(&vhc->guard); 68 64 69 link_t *pos;70 65 bool target_found = false; 71 list_foreach( pos, &vhc->devices) {66 list_foreach(vhc->devices, pos) { 72 67 vhc_virtdev_t *dev = list_get_instance(pos, vhc_virtdev_t, link); 73 68 fibril_mutex_lock(&dev->guard);
Note:
See TracChangeset
for help on using the changeset viewer.