Skip to content

hal: Update kernel-only components (RTAI) to getter/setter - #4330

Merged
grandixximo merged 1 commit into
LinuxCNC:masterfrom
BsAtHome:halgs_components-rtai
Aug 4, 2026
Merged

hal: Update kernel-only components (RTAI) to getter/setter#4330
grandixximo merged 1 commit into
LinuxCNC:masterfrom
BsAtHome:halgs_components-rtai

Conversation

@BsAtHome

@BsAtHome BsAtHome commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

These are the components that only build as a kernel module. Some are ancient and are for ISA boards. You'd need a - too expensive for my pay grade - industrial PC to get that working today. I'd wonder what linux kernel version you need too.

The pluto_servo.comp and pluto_step.comp still have their troff formatted documentation. They never got converted to adoc and nobody complained.

Anyhoo,... the conversions should be rather straight forward. We can probably never test this. We really should do a survey on what hardware is used out there. There comes a time when you need to prune the ballast.

Please check for any parameter gremlins ;-)

The old hal types used in hal_motenc.comp/motenc.h (hardware MMIO map) was fixed using the rtapi types marked volatile. That should be fully compatible.

Comment thread src/hal/drivers/pci_8255.c
Comment thread src/hal/drivers/pci_8255.c
Comment thread src/hal/drivers/pci_8255.c Outdated
@BsAtHome
BsAtHome force-pushed the halgs_components-rtai branch from f56e2ff to d1fe710 Compare August 4, 2026 08:55
@grandixximo
grandixximo merged commit 0276532 into LinuxCNC:master Aug 4, 2026
16 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