Changeset ebb1489 in mainline for uspace/drv/nic/e1k/e1k.c


Ignore:
Timestamp:
2024-10-13T08:23:40Z (8 weeks ago)
Author:
GitHub <noreply@…>
Children:
0472cf17
Parents:
2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
git-committer:
GitHub <noreply@…> (2024-10-13 08:23:40)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    r2a0c827c rebb1489  
    12471247 *
    12481248 * @param icall IPC call structure
    1249  * @param dev   E1000 device
    1250  *
    1251  */
    1252 static void e1000_interrupt_handler(ipc_call_t *icall,
    1253     ddf_dev_t *dev)
     1249 * @param arg   Argument (nic_t *)
     1250 *
     1251 */
     1252static void e1000_interrupt_handler(ipc_call_t *icall, void *arg)
    12541253{
    12551254        uint32_t icr = (uint32_t) ipc_get_arg2(icall);
    1256         nic_t *nic = NIC_DATA_DEV(dev);
     1255        nic_t *nic = (nic_t *)arg;
    12571256        e1000_t *e1000 = DRIVER_DATA_NIC(nic);
    12581257
     
    12861285
    12871286        errno_t rc = register_interrupt_handler(nic_get_ddf_dev(nic), e1000->irq,
    1288             e1000_interrupt_handler, &e1000_irq_code, handle);
     1287            e1000_interrupt_handler, (void *)nic, &e1000_irq_code, handle);
    12891288
    12901289        fibril_mutex_unlock(&irq_reg_mutex);
Note: See TracChangeset for help on using the changeset viewer.