Changes in uspace/drv/bus/usb/uhci/res.c [d92c1ca:56fd7cf] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/res.c
rd92c1ca r56fd7cf 51 51 * @return Error code. 52 52 */ 53 int get_my_registers( constddf_dev_t *dev,53 int get_my_registers(ddf_dev_t *dev, 54 54 uintptr_t *io_reg_address, size_t *io_reg_size, int *irq_no) 55 55 { … … 57 57 58 58 async_sess_t *parent_sess = 59 devman_parent_device_connect(EXCHANGE_SERIALIZE, dev->handle,60 IPC_FLAG_BLOCKING);59 devman_parent_device_connect(EXCHANGE_SERIALIZE, 60 ddf_dev_get_handle(dev), IPC_FLAG_BLOCKING); 61 61 if (!parent_sess) 62 62 return ENOMEM; … … 92 92 * @return Error code. 93 93 */ 94 int enable_interrupts( constddf_dev_t *device)94 int enable_interrupts(ddf_dev_t *device) 95 95 { 96 96 async_sess_t *parent_sess = 97 devman_parent_device_connect(EXCHANGE_SERIALIZE, device->handle,98 IPC_FLAG_BLOCKING);97 devman_parent_device_connect(EXCHANGE_SERIALIZE, 98 ddf_dev_get_handle(device), IPC_FLAG_BLOCKING); 99 99 if (!parent_sess) 100 100 return ENOMEM; … … 111 111 * @return Error code. 112 112 */ 113 int disable_legacy( constddf_dev_t *device)113 int disable_legacy(ddf_dev_t *device) 114 114 { 115 115 assert(device); 116 116 117 117 async_sess_t *parent_sess = devman_parent_device_connect( 118 EXCHANGE_SERIALIZE, d evice->handle, IPC_FLAG_BLOCKING);118 EXCHANGE_SERIALIZE, ddf_dev_get_handle(device), IPC_FLAG_BLOCKING); 119 119 if (!parent_sess) 120 120 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.