If one wants to have puc working as a module we need the bus
in the kernel otherwise we won't be able to find any child to attach.
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential D43846
files: make uart_bus_puc.c not depend on puc manu on Feb 12 2024, 10:29 AM. Authored by Tags None Referenced Files
Subscribers
Details
If one wants to have puc working as a module we need the bus Sponsored by: Beckhoff Automation GmbH & Co. KG Remove puc from kernel config, loading puc (manually or via devmatch or loader) and uart devices are created correctly.
Diff Detail
Event TimelineComment Actions I've tried to make a puc_bus module that contain dev/uart/uart_bus_puc.c and make puc depends on this, but behavior is the same. Comment Actions This change is correct. It should be made no matter what. Puc is tied to pci. Comment Actions Thanks, I wasn't sure that this was the correct change or more an hack :)
We have puc(4) device at work and most of our customer wants to use the uart for our PLC stuff so our kernel config doesn't include it. |