Changeset ad22fa4 in mainline
- Timestamp:
- 2014-07-25T18:53:19Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7eb6c96
- Parents:
- a861ccb3
- Location:
- uspace/drv/bus/usb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/usbhid.c
ra861ccb3 rad22fa4 415 415 } 416 416 417 /* 418 * 1) subdriver vytvori vlastnu ddf_fun, vlastne ddf_dev_ops, ktore da 419 * do nej. 420 * 2) do tych ops do .interfaces[DEV_IFACE_USBHID (asi)] priradi 421 * vyplnenu strukturu usbhid_iface_t. 422 * 3) klientska aplikacia - musi si rucne vytvorit telefon 423 * (devman_device_connect() - cesta k zariadeniu (/hw/pci0/...) az 424 * k tej fcii. 425 * pouzit usb/classes/hid/iface.h - prvy int je telefon 426 */ 417 /* Initialize subdrivers */ 427 418 bool ok = false; 428 419 for (unsigned i = 0; i < hid_dev->subdriver_count; ++i) { -
uspace/drv/bus/usb/vhc/hub.c
ra861ccb3 rad22fa4 94 94 { 95 95 ddf_fun_t *hc_dev = (ddf_fun_t *) arg; 96 97 /*98 * Wait until parent device is properly initialized.99 */100 async_sess_t *sess;101 do {102 sess = devman_device_connect(EXCHANGE_SERIALIZE,103 ddf_fun_get_handle(hc_dev), 0);104 } while (!sess);105 async_hangup(sess);106 107 96 int rc; 108 97
Note:
See TracChangeset
for help on using the changeset viewer.