Changeset 063dfe8 in mainline for uspace/drv/bus/usb/xhci/bus.c
- Timestamp:
- 2017-10-13T13:04:26Z (7 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/bus.c
rc10daa8 r063dfe8 110 110 } 111 111 112 static int hashed_device_create(xhci_bus_t *bus, hashed_device_t **hashed_dev )112 static int hashed_device_create(xhci_bus_t *bus, hashed_device_t **hashed_dev, usb_address_t address) 113 113 { 114 114 int res; … … 119 119 } 120 120 121 res = xhci_device_init(dev, bus );121 res = xhci_device_init(dev, bus, address); 122 122 if (res != EOK) { 123 123 goto err_xhci_dev_init; 124 124 } 125 126 // TODO: Set device data.127 125 128 126 hashed_device_t *ret_dev = (hashed_device_t *) malloc(sizeof(hashed_device_t)); … … 166 164 167 165 if (res == ENOENT) { 168 res = hashed_device_create(bus, &hashed_dev );166 res = hashed_device_create(bus, &hashed_dev, ep->target.address); 169 167 170 168 if (res != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.