From: Wolfgang Grandegger <wg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xeno_rtcan_mem.ko, what are it's parameters?
Date: Thu, 16 Nov 2006 20:30:18 +0100 [thread overview]
Message-ID: <455CBC4A.5010108@domain.hid> (raw)
In-Reply-To: <455C8B8A.80105@domain.hid>
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.
next prev parent reply other threads:[~2006-11-16 19:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-16 15:49 [Xenomai-help] xeno_rtcan_mem.ko, what are it's parameters? Frits de Klark
2006-11-16 16:02 ` Jan Kiszka
2006-11-16 19:30 ` Wolfgang Grandegger [this message]
2006-11-16 20:00 ` Frits de Klark
2006-11-16 20:28 ` Wolfgang Grandegger
2006-11-17 7:57 ` Frits de Klark
2006-11-17 8:03 ` Sebastian Smolorz
2006-11-17 8:05 ` Jan Kiszka
2006-11-17 8:41 ` Frits de Klark
2006-11-17 8:53 ` Jan Kiszka
2006-11-17 9:19 ` Frits de Klark
2006-11-17 9:25 ` Jan Kiszka
2006-11-17 9:43 ` Frits de Klark
2006-11-17 10:20 ` Frits de Klark
2006-11-17 20:31 ` Wolfgang Grandegger
2006-11-17 20:22 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=455CBC4A.5010108@domain.hid \
--to=wg@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.