Jan Kiszka wrote:
Frits de Klark wrote:
Hello everyone,
I finally got my PCI CAN card today. It's an Advantech 1680 and
provides, as
far as I'm informed, a memory mapped SJA1000 controller.
I´m trying to load the xeno_rtcan_mem module now, but I'm not sure what
parameters I should pass. More specific: What value(s) should I give to the
'mem' parameter? Is this an I/O address I found in /proc/pci under the 1680
device?
I'm not sure that this will work, but you can give it a try in any case.
Do you have a reference driver for that board? Or some manual describing
the mapping of the SJA1000 into the PCI address space?
It was not working for the IXXAT PCI card, at least (but I have not yet
understodd why). Check with "$ lspci -vv" how the device is mapped and
what IRQ number is used. The right thing is to implement a PCI driver.
AFAIK, Wolfgang is working on a generic SJA1000 PCI driver. So far we
only have a driver for the PEAK PCI adapter, but that one is going to be
generalised. So you could become a first-grade test candidate for
another piece of hardware supported by that driver. :)
Wolfgang, what the status?
As already mention, I'm currently working on a driver for the IXXAT PCI
card. As I see it, a generic driver is not feasible as the mapping, the
recognition of the second channel and the IRQ handling is quite different.
Is there a Linux driver on the CRROM your got with your Advantech 1680
PCI card? That would help a lot.
Wolfgang.
Wolfgang.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help