summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/sfxge_ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sfxge/sfxge_ev.c')
-rw-r--r--sys/dev/sfxge/sfxge_ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/sfxge_ev.c b/sys/dev/sfxge/sfxge_ev.c
index 997eb9f..1b1caf7 100644
--- a/sys/dev/sfxge/sfxge_ev.c
+++ b/sys/dev/sfxge/sfxge_ev.c
@@ -517,7 +517,7 @@ sfxge_int_mod_handler(SYSCTL_HANDLER_ARGS)
* so we have to range-check the value ourselves.
*/
if (moderation >
- efx_nic_cfg_get(sc->enp)->enc_evq_moderation_max) {
+ efx_nic_cfg_get(sc->enp)->enc_evq_timer_max_us) {
error = EINVAL;
goto out;
}
OpenPOWER on IntegriCloud