Changeset 063dfe8 in mainline for uspace/drv/bus/usb/xhci/endpoint.c
- Timestamp:
- 2017-10-13T13:04:26Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dcf0597
- Parents:
- c10daa8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
rc10daa8 r063dfe8 52 52 xhci_ep->device = NULL; 53 53 54 usb_log_debug(" XHCIEndpoint %d:%d initialized.", ep->target.address, ep->target.endpoint);54 usb_log_debug("Endpoint %d:%d initialized.", ep->target.address, ep->target.endpoint); 55 55 56 56 return EOK; … … 65 65 endpoint_t *ep = &xhci_ep->base; 66 66 67 usb_log_debug(" XHCIEndpoint %d:%d destroyed.", ep->target.address, ep->target.endpoint);67 usb_log_debug("Endpoint %d:%d destroyed.", ep->target.address, ep->target.endpoint); 68 68 } 69 69 70 int xhci_device_init(xhci_device_t *dev, xhci_bus_t *bus )70 int xhci_device_init(xhci_device_t *dev, xhci_bus_t *bus, usb_address_t address) 71 71 { 72 72 memset(&dev->endpoints, 0, sizeof(dev->endpoints)); 73 73 dev->active_endpoint_count = 0; 74 dev->address = address; 75 dev->slot_id = 0; 76 77 usb_log_debug("Device %d initialized.", dev->address); 74 78 return EOK; 75 79 } … … 78 82 { 79 83 // TODO: Check that all endpoints are dead. 84 usb_log_debug("Device %d destroyed.", dev->address); 80 85 } 81 86
Note:
See TracChangeset
for help on using the changeset viewer.