Remove the RTAI-kernel-only hardware drivers - #4513
Merged
Merged
Conversation
BsAtHome
reviewed
Sep 11, 2026
Contributor
|
Remove the drivers completely. |
GENERATED_MANPAGES depends on BUILD_SYS, so removing manpages by list leaves stale files behind on uspace trees (e.g. the kbuild-only driver manpages pluto_servo.9, pluto_step.9, pcl720.9). gen_complist.py then picks up the stale files and generates links to manpages the current build configuration cannot produce, making local doc builds diverge from CI. Everything under docs/build/man is generated (halcompile output, asciidoctor output from docs/src/man, alias pages, translations), so wipe the whole tree in both clean-manpages and genclean.
grandixximo
force-pushed
the
rtai-driver-deprecate
branch
from
September 13, 2026 12:20
c060966 to
cf4b293
Compare
Contributor
|
Why move the sample configs? They are no longer necessary and not used in any meaningful way. The "Attic" is an old CVS construct. Why do we need it, at all? |
These drivers only ever built for RTAI kernels and were excluded from uspace builds since 2014, so no current install could load them: hal_stg, hal_motenc, hal_vti, hal_evoreg, hal_tiro, hal_ax5214h, opto_ac5, pci_8255, pcl720, pluto_servo, pluto_step All serve early-2000s ISA/PCI/parport cards. A poll on the forum and emc-developers found zero users with the hardware, Vital Systems reports no Motenc cards remaining and none known in use, and no testers are available, so a uspace port cannot be validated either. At the weekly meeting the decision was to remove them outright rather than deprecate. Also remove hal_skeleton (a kbuild-era code template), the now unused rbf2h.py firmware header generator, the pluto firmware trees (unbuildable without an ancient Quartus), and the sample configs for these cards (by_interface/pluto, servotogo, vigilant, vitalsystems, by_machine/boss, attic/demo_mazak). Driver docs, man pages, component-list rows and po4a masters go with the drivers.
grandixximo
force-pushed
the
rtai-driver-deprecate
branch
from
September 13, 2026 13:17
cf4b293 to
dd394d9
Compare
Contributor
Author
|
Wrong call, fixed in dd394d9: the configs are deleted outright, demo_mazak included. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reshaped after the weekly-meeting decision: remove the drivers outright instead of deprecating. Zero users found in the poll, no testers, Vital Systems has no Motenc cards left.
Two commits:
clean-manpagesremoved manpages by the BUILD_SYS-dependent$(GENERATED_MANPAGES)list, so kbuild-only driver manpages survived forever on uspace trees and confused gen_complist.py (the local-vs-CI divergence hdiethelm hit in ci: Enable fail on htmlcheck error #4471). Everything under docs/build/man is generated, so wipe the tree.Verified: full build plus htmldocs pass, components_gen no longer mentions any of the removed drivers, repo-wide grep finds only historical comments.
Closes #4505.