Changeset 17f24d9 in mainline
- Timestamp:
- 2017-08-20T14:00:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c33c40e
- Parents:
- 60ac352
- Location:
- uspace/drv/bus/usb/xhci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r60ac352 r17f24d9 369 369 /* Check for root hub communication */ 370 370 /* FIXME: Zero is a very crude workaround. Detect RH better. */ 371 if (batch->ep->address == 0) {371 if (batch->ep->address == xhci_rh_get_address(&hc->rh)) { 372 372 usb_log_debug("XHCI root hub request.\n"); 373 373 return xhci_rh_schedule(&hc->rh, batch); -
uspace/drv/bus/usb/xhci/rh.h
r60ac352 r17f24d9 65 65 int xhci_rh_interrupt(xhci_rh_t *); 66 66 67 /** Get XHCI rh address. 68 * 69 * @param rh XHCI rh instance. 70 * @return USB address assigned to the hub. 71 * Wrapper for virtual hub address 72 */ 73 static inline usb_address_t xhci_rh_get_address(xhci_rh_t *rh) 74 { 75 assert(rh); 76 /* FIXME: The line end below causes infinite loop. */ 77 return 0; // virthub_base_get_address(&rh->base); 78 } 79 67 80 #endif 68 81
Note:
See TracChangeset
for help on using the changeset viewer.