aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ale
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2020-02-11 18:57:07 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2020-02-11 18:57:07 +0000
commit6c3e93cb5a4aa4b8a2d8d4d326f2a7c34d3a4458 (patch)
treedafe70452ee0f6a65323f5c914a4a846c5cf0faa /sys/dev/ale
parent4426b2e64bd6ff5b05997d985140323b3db67085 (diff)
Notes
Diffstat (limited to 'sys/dev/ale')
-rw-r--r--sys/dev/ale/if_ale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c
index 27aa9321357a..4a8afd887de6 100644
--- a/sys/dev/ale/if_ale.c
+++ b/sys/dev/ale/if_ale.c
@@ -467,7 +467,7 @@ ale_attach(device_t dev)
mtx_init(&sc->ale_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK,
MTX_DEF);
callout_init_mtx(&sc->ale_tick_ch, &sc->ale_mtx, 0);
- TASK_INIT(&sc->ale_int_task, 0, ale_int_task, sc);
+ NET_TASK_INIT(&sc->ale_int_task, 0, ale_int_task, sc);
/* Map the device. */
pci_enable_busmaster(dev);