Changeset e2172cf8 in mainline
- Timestamp:
- 2011-02-07T13:27:14Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e80904
- Parents:
- 9a818a9
- Location:
- uspace/drv/uhci-hcd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/tracker.c
r9a818a9 re2172cf8 285 285 instance->packet_size); 286 286 } 287 instance->buffer_offset += instance->packet_size; 288 usb_log_debug("Callback IN: %d, %zu.\n", err, instance->buffer_offset); 287 289 instance->callback_in(instance->dev, 288 290 err ? USB_OUTCOME_CRCERROR : USB_OUTCOME_OK, instance->buffer_offset, … … 297 299 /* check for errors */ 298 300 int err = transfer_descriptor_status(instance->td); 301 usb_log_debug("Callback OUT: %d, %zu.\n", err, instance->buffer_offset); 299 302 instance->callback_out(instance->dev, 300 303 err ? USB_OUTCOME_CRCERROR : USB_OUTCOME_OK, instance->arg); -
uspace/drv/uhci-hcd/uhci.c
r9a818a9 re2172cf8 249 249 assert(current == &tracker->link); 250 250 if (!transfer_descriptor_is_active(tracker->td)) { 251 usb_log_debug("Found inactive tracker.\n"); 251 usb_log_debug("Found inactive tracker with status: %x.\n", 252 tracker->td->status); 252 253 list_remove(current); 253 254 tracker->next_step(tracker); -
uspace/drv/uhci-hcd/uhci.h
r9a818a9 re2172cf8 70 70 } regs_t; 71 71 72 #define TRANSFER_QUEUES 473 72 #define UHCI_FRAME_LIST_COUNT 1024 74 73 #define UHCI_CLEANER_TIMEOUT 10000 75 #define UHCI_DEBUGER_TIMEOUT 500000 74 #define UHCI_DEBUGER_TIMEOUT 5000000 76 75 77 76 typedef struct uhci {
Note:
See TracChangeset
for help on using the changeset viewer.