Changeset eadaeae8 in mainline for uspace/drv/nic/rtl8139/driver.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/rtl8139/driver.c
r874381a readaeae8 846 846 * @return An error code otherwise. 847 847 */ 848 inline static errno_t rtl8139_register_int_handler(nic_t *nic_data, cap_handle_t *handle) 848 inline static errno_t rtl8139_register_int_handler(nic_t *nic_data, 849 cap_irq_handle_t *handle) 849 850 { 850 851 rtl8139_t *rtl8139 = nic_get_specific(nic_data); … … 1288 1289 1289 1290 /* Register interrupt handler */ 1290 int irq_cap;1291 rc = rtl8139_register_int_handler(nic_data, &irq_ cap);1291 cap_irq_handle_t irq_handle; 1292 rc = rtl8139_register_int_handler(nic_data, &irq_handle); 1292 1293 if (rc != EOK) { 1293 1294 goto err_pio; … … 1324 1325 ddf_fun_destroy(fun); 1325 1326 err_srv: 1326 unregister_interrupt_handler(dev, irq_ cap);1327 unregister_interrupt_handler(dev, irq_handle); 1327 1328 err_pio: 1328 1329 // rtl8139_pio_disable(dev);
Note:
See TracChangeset
for help on using the changeset viewer.