From: Wolfgang Grandegger <wg@domain.hid>
To: Peter Soetens <peter@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] IXXAT SJA_MOD register refuses to set up dual channel cards
Date: Fri, 09 Jul 2010 12:44:04 +0200 [thread overview]
Message-ID: <4C36FD74.9020602@domain.hid> (raw)
In-Reply-To: <AANLkTilLcPtUo564fICdJQtOQAjbvVj2l2Oxq8F3yycp@domain.hid>
Hi Peter,
On 07/09/2010 12:26 PM, Peter Soetens wrote:
> Hi,
>
> (Xenomai 2.5.2&2.5.3)
>
> I'm testing the rtcan ixxat driver for a dual channel card (PLX
> Technology, Inc. Device 2540)
>
> It recognizes the first channel, but refuses to setup the second one
> because the SJA_MOD flag is 0x7f instead of 0x21
> The SJA_IR and SJA_SR flags read as are what the driver expects.
In the Socket-CAN "plx_pci" driver we mask the value with 0xa1:
0x7f & 0xa1 = 0x21 ==> OK.
See
http://lxr.linux.no/#linux+v2.6.34.1/drivers/net/can/sja1000/plx_pci.c#L223
> Any suggestions on what it means and how to fix this ?
See above. A patch would be nice.
Wolfgang.
next prev parent reply other threads:[~2010-07-09 10:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 10:26 [Xenomai-help] IXXAT SJA_MOD register refuses to set up dual channel cards Peter Soetens
2010-07-09 10:44 ` Wolfgang Grandegger [this message]
2010-07-09 13:29 ` Peter Soetens
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=4C36FD74.9020602@domain.hid \
--to=wg@domain.hid \
--cc=peter@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.