Hi Jarkko,
I'm very happy to see that you are cleaning up some custom M_CAN stuff
which turns out to be already supported ;-)
In fact there is a pch_can (PCI) driver which was used in an Intel
embedded setup "Topcliff PCH" ~11 years ago. The driver was originally
contributed by OKI.
And I was pretty sure that this driver implements a C_CAN IP core with a
PCI binding which is now implemented in the C_CAN_PCI driver.
As I do not have that hardware anymore it would be interesting to see if
you could bring the PCH board to life with the C_CAN_PCI driver?!?
That would allow us to remove the (then definitely) obsolete pch_can driver.
Thanks & best regards,
Oliver