Changeset 75f9dcd in mainline
- Timestamp:
- 2011-10-07T17:11:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6f05705
- Parents:
- 9b8958b
- Location:
- uspace/drv/bus/usb/uhci
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
r9b8958b r75f9dcd 299 299 const uint32_t queue = LINK_POINTER_QH( 300 300 addr_to_phys(instance->transfers_interrupt.queue_head)); 301 unsigned i = 0; 302 for (; i < UHCI_FRAME_LIST_COUNT; ++i) {301 302 for (unsigned i = 0; i < UHCI_FRAME_LIST_COUNT; ++i) { 303 303 instance->frame_list[i] = queue; 304 304 } -
uspace/drv/bus/usb/uhci/pci.c
r9b8958b r75f9dcd 82 82 bool irq_found = false; 83 83 84 size_t i; 85 for (i = 0; i < hw_resources.count; i++) { 84 for (size_t i = 0; i < hw_resources.count; i++) { 86 85 const hw_resource_t *res = &hw_resources.resources[i]; 87 86 switch (res->type) { -
uspace/drv/bus/usb/uhci/uhci_batch.c
r9b8958b r75f9dcd 167 167 uhci_batch->td_count); 168 168 uhci_batch->usb_batch->transfered_size = 0; 169 size_t i = 0; 170 for ( ;i < uhci_batch->td_count; ++i) {169 170 for (size_t i = 0;i < uhci_batch->td_count; ++i) { 171 171 if (td_is_active(&uhci_batch->tds[i])) { 172 172 return false; -
uspace/drv/bus/usb/uhci/utils/malloc32.h
r9b8958b r75f9dcd 65 65 * 66 66 * @param[in] size Size of the required memory space 67 * @return Address of the al ligned and big enough memory place, NULL on failure.67 * @return Address of the aligned and big enough memory place, NULL on failure. 68 68 */ 69 69 static inline void * malloc32(size_t size)
Note:
See TracChangeset
for help on using the changeset viewer.