summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2026-06-13 04:07:11 +0100
committerJakub Kicinski <kuba@kernel.org>2026-06-15 17:18:00 -0700
commit937137db7914ed332ce455cdac94a218e6ae2693 (patch)
treee1d07207026484c8358ce417e2ae9bd320736196 /include/linux/timerqueue.h
parenta459b560e58be327689e9bd8c0a6be9a4f163366 (diff)
net: dsa: mxl862xx: store firmware version for feature gating
Query the firmware version at init (already done in wait_ready), cache it in priv->fw_version, and provide MXL862XX_FW_VER_MIN() for version-gated code paths throughout the driver. MXL862XX_FW_VER() packs major/minor/revision into a u32 with bitwise shifts so that versions compare with natural ordering, independent of host endianness. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/91a26a8ffeaa2ce1729f98347e93e779973976bb.1781319534.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions