Changeset 2ab6875 in mainline for uspace/drv/uhci-hcd/transfer_list.c
- Timestamp:
- 2011-03-07T11:18:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bcaefe3
- Parents:
- 4b4e163
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/transfer_list.c
r4b4e163 r2ab6875 43 43 instance->next = NULL; 44 44 instance->name = name; 45 instance->queue_head = queue_head_get();45 instance->queue_head = malloc32(sizeof(queue_head_t)); 46 46 if (!instance->queue_head) { 47 47 usb_log_error("Failed to allocate queue head.\n"); 48 48 return ENOMEM; 49 49 } 50 instance->queue_head_pa = (uintptr_t)addr_to_phys(instance->queue_head); 50 queue_head_init(instance->queue_head); 51 instance->queue_head_pa = addr_to_phys(instance->queue_head); 51 52 52 53 queue_head_init(instance->queue_head);
Note:
See TracChangeset
for help on using the changeset viewer.