Changeset eadaeae8 in mainline for uspace/drv/nic/e1k/e1k.c
- Timestamp:
- 2018-03-21T20:58:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3be9d10
- Parents:
- 874381a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r874381a readaeae8 1264 1264 * 1265 1265 */ 1266 inline static errno_t e1000_register_int_handler(nic_t *nic, cap_handle_t *handle) 1266 inline static errno_t e1000_register_int_handler(nic_t *nic, 1267 cap_irq_handle_t *handle) 1267 1268 { 1268 1269 e1000_t *e1000 = DRIVER_DATA_NIC(nic); … … 2165 2166 ddf_fun_set_ops(fun, &e1000_dev_ops); 2166 2167 2167 int irq_cap;2168 rc = e1000_register_int_handler(nic, &irq_ cap);2168 cap_irq_handle_t irq_handle; 2169 rc = e1000_register_int_handler(nic, &irq_handle); 2169 2170 if (rc != EOK) { 2170 2171 goto err_fun_create; … … 2204 2205 e1000_uninitialize_rx_structure(nic); 2205 2206 err_irq: 2206 unregister_interrupt_handler(dev, irq_ cap);2207 unregister_interrupt_handler(dev, irq_handle); 2207 2208 err_fun_create: 2208 2209 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.