Changeset ebb1489 in mainline for uspace/drv/nic/e1k/e1k.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r2a0c827c rebb1489 1247 1247 * 1248 1248 * @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 */ 1252 static void e1000_interrupt_handler(ipc_call_t *icall, void *arg) 1254 1253 { 1255 1254 uint32_t icr = (uint32_t) ipc_get_arg2(icall); 1256 nic_t *nic = NIC_DATA_DEV(dev);1255 nic_t *nic = (nic_t *)arg; 1257 1256 e1000_t *e1000 = DRIVER_DATA_NIC(nic); 1258 1257 … … 1286 1285 1287 1286 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); 1289 1288 1290 1289 fibril_mutex_unlock(&irq_reg_mutex);
Note:
See TracChangeset
for help on using the changeset viewer.