aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-07-29 04:23:30 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-07-30 05:05:32 +0000
commitc637d474045a41b1763c17a8b4b7763d4159504f (patch)
tree44939ee3960d96bb4dfdbae7ecbc45554408d79b
parent9332fd555588ef4f7913664f8bdb57febc828e76 (diff)
igb: Stop writing the legacy TADV register
TADV is an em-class interrupt delay register and is absent from the 82575 and later register model. The igb attach path does not expose or initialize that control, but transmit initialization still wrote its zero valued storage into a reserved queue-window offset. Apply the same igb_mac_min boundary already used for TIDV and the absolute-delay sysctls. MFC after: 1 week Sponsored by: BBOX.io
-rw-r--r--sys/dev/e1000/if_em.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 4f4eeee5da50..0f60178ae3c8 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -4208,7 +4208,7 @@ em_initialize_transmit_unit(if_ctx_t ctx)
sc->txd_cmd |= E1000_TXD_CMD_IDE;
}
- if (hw->mac.type >= e1000_82540)
+ if (hw->mac.type >= e1000_82540 && hw->mac.type < igb_mac_min)
E1000_WRITE_REG(hw, E1000_TADV, sc->tx_abs_int_delay.value);
if (hw->mac.type == e1000_82571 || hw->mac.type == e1000_82572) {