Changeset 79d2987 in mainline for uspace/drv/uhci-hcd/uhci.h
- Timestamp:
- 2011-02-11T17:16:36Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4e8e1f5
- Parents:
- 25971d2 (diff), 608afb9 (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/uhci-hcd/uhci.h
r25971d2 r79d2987 37 37 38 38 #include <fibril.h> 39 #include <fibril_synch.h> 40 #include <adt/list.h> 39 41 40 42 #include <usb/addrkeep.h> … … 42 44 43 45 #include "transfer_list.h" 46 #include "tracker.h" 44 47 45 48 typedef struct uhci_regs { … … 68 71 } regs_t; 69 72 70 #define TRANSFER_QUEUES 471 73 #define UHCI_FRAME_LIST_COUNT 1024 72 74 #define UHCI_CLEANER_TIMEOUT 10000 73 #define UHCI_DEBUGER_TIMEOUT 500000 75 #define UHCI_DEBUGER_TIMEOUT 5000000 74 76 75 77 typedef struct uhci { … … 78 80 79 81 link_pointer_t *frame_list; 82 83 link_t tracker_list; 84 fibril_mutex_t tracker_list_mutex; 80 85 81 86 transfer_list_t transfers_bulk_full; … … 108 113 void *arg ); 109 114 115 int uhci_schedule(uhci_t *instance, tracker_t *tracker); 116 110 117 static inline uhci_t * dev_to_uhci(device_t *dev) 111 118 { return (uhci_t*)dev->driver_data; }
Note:
See TracChangeset
for help on using the changeset viewer.