Changeset 92900e2 in mainline
- Timestamp:
- 2015-06-28T23:33:27Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c86ca9a
- Parents:
- 1329dc0
- Location:
- uspace/drv/bus/usb/ehci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_rh.c
r1329dc0 r92900e2 36 36 #include <errno.h> 37 37 #include <mem.h> 38 #include <str_error.h> 38 39 #include <sys/types.h> 39 40 … … 145 146 batch->buffer, batch->buffer_size, &batch->transfered_size); 146 147 if (batch->error == ENAK) { 148 usb_log_debug("EHCI RH(%p): BATCH(%p) adding as unfinished\n", 149 instance, batch); 147 150 /* This is safe because only status change interrupt transfers 148 151 * return NAK. The assertion holds true because the batch … … 153 156 usb_transfer_batch_finish(batch, NULL); 154 157 usb_transfer_batch_destroy(batch); 158 usb_log_debug("EHCI RH(%p): BATCH(%p) virtual request: %s\n", 159 instance, batch, str_error(batch->error)); 155 160 } 156 161 return EOK; -
uspace/drv/bus/usb/ehci/hc.c
r1329dc0 r92900e2 220 220 assert(ep); 221 221 ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep); 222 usb_log_debug("HCD(%p) enqueue EP(%d:%d:%s:%s)\n", instance, 223 ep->address, ep->endpoint, 224 usb_str_transfer_type_short(ep->transfer_type), 225 usb_str_direction(ep->direction)); 222 226 switch (ep->transfer_type) 223 227 { … … 240 244 assert(ep); 241 245 ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep); 246 usb_log_debug("HCD(%p) dequeue EP(%d:%d:%s:%s)\n", instance, 247 ep->address, ep->endpoint, 248 usb_str_transfer_type_short(ep->transfer_type), 249 usb_str_direction(ep->direction)); 242 250 switch (ep->transfer_type) 243 251 {
Note:
See TracChangeset
for help on using the changeset viewer.