Changeset 9b2f69e in mainline for uspace/drv/bus/usb/xhci/bus.c
- Timestamp:
- 2017-10-15T20:08:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b7db009
- Parents:
- 816f5f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/bus.c
r816f5f4 r9b2f69e 187 187 ret_dev->device = dev; 188 188 189 usb_log_debug("Device(%d) registered to XHCI bus.", dev->address); 190 189 191 hash_table_insert(&bus->devices, &ret_dev->link); 190 192 *hashed_dev = ret_dev; … … 200 202 static int hashed_device_remove(xhci_bus_t *bus, hashed_device_t *hashed_dev) 201 203 { 204 usb_log_debug("Device(%d) released from XHCI bus.", hashed_dev->device->address); 205 202 206 hash_table_remove(&bus->devices, &hashed_dev->device->address); 203 207 xhci_device_fini(hashed_dev->device); … … 225 229 } 226 230 231 usb_log_debug("Endpoint(%d:%d) registered to XHCI bus.", ep->target.address, ep->target.endpoint); 232 227 233 return xhci_device_add_endpoint(hashed_dev->device, xhci_endpoint_get(ep)); 228 234 } … … 232 238 xhci_bus_t *bus = bus_to_xhci_bus(bus_base); 233 239 assert(bus); 240 241 usb_log_debug("Endpoint(%d:%d) released from XHCI bus.", ep->target.address, ep->target.endpoint); 234 242 235 243 hashed_device_t *hashed_dev;
Note:
See TracChangeset
for help on using the changeset viewer.