Skip to content

mesa_modbus: mark as superseded by hm2_modbus (2.9 backport) - #4396

Merged
BsAtHome merged 1 commit into
LinuxCNC:2.9from
grandixximo:mesa-modbus-deprecate-2.9
Aug 18, 2026
Merged

mesa_modbus: mark as superseded by hm2_modbus (2.9 backport)#4396
BsAtHome merged 1 commit into
LinuxCNC:2.9from
grandixximo:mesa-modbus-deprecate-2.9

Conversation

@grandixximo

@grandixximo grandixximo commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Mark mesa_modbus as superseded by hm2_modbus (2.9 backport)

Backport of #4386 with status adjusted for 2.9, per the review discussions: in 2.9 mesa_modbus is superseded, not deprecated. It remains available throughout the 2.9 series, while new configurations are encouraged to migrate to the hm2_modbus driver with mesambccc-compiled MBCCB files.

Notes added:

  • modcompile.py: stderr note at build time
  • README.adoc in the modbus source directory
  • docs: NOTE in the mesa_modbus driver page, (SUPERSEDED) in the modcompile(1) man page, label in the docs index

No load-time warning on purpose: the driver is still fully supported in 2.9, so a build-time nudge suffices.

No functional changes; existing configurations keep working unchanged.

Comment thread src/hal/drivers/mesa-hostmot2/modbus/mesa_modbus.c.tmpl Outdated
@grandixximo

Copy link
Copy Markdown
Contributor Author

@BsAtHome one wording question on this backport: would you prefer "superseded" over "deprecated" here? It is technically a different status per branch: in 2.9 mesa_modbus stays available indefinitely, so it is really superseded by hm2_modbus, while on master (2.10) it is deprecated and heading for removal. "Superseded" is softer and matches the 2.9 situation, at the cost of using two terms for what integrators may read as one status. Happy to reword if you prefer it.

@BsAtHome

Copy link
Copy Markdown
Contributor

@BsAtHome one wording question on this backport: would you prefer "superseded" over "deprecated" here?

It is "superseded" in 2.9 and "deprecated" in master/2.10-pre. We might even have it removed before 2.10 ships, but that is open for debate.

Backport of the master deprecation with status adjusted for 2.9, per
the PR LinuxCNC#4386 and LinuxCNC#4396 review discussions: mesa_modbus is superseded
by the hm2_modbus driver and mesambccc-compiled MBCCB files. It
remains available throughout the 2.9 series, while new configurations
are encouraged to migrate.

Only build-time and documentation notes in 2.9, no load-time warning:
the driver is still fully supported in this series, so a nudge at
modcompile time is enough.

Add a stderr note to modcompile and notes in the README, the
mesa_modbus driver doc, the modcompile man page and the docs index.
@grandixximo
grandixximo force-pushed the mesa-modbus-deprecate-2.9 branch from d4c9de7 to 8ee4b89 Compare August 17, 2026 11:17
@grandixximo grandixximo changed the title mesa_modbus: deprecate in favor of hm2_modbus (2.9 backport) mesa_modbus: mark as superseded by hm2_modbus (2.9 backport) Aug 17, 2026
@grandixximo

Copy link
Copy Markdown
Contributor Author

Applied, wording is now superseded throughout the 2.9 branch. Master keeps deprecated.

@BsAtHome
BsAtHome merged commit 31fedea into LinuxCNC:2.9 Aug 18, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants