That is correct, we receive only pre-programmed CAN ids and "all" or "range"
implementation is not there in the PRU firmware.
Will check the sysfs option and update.
--------------------------------------------------
From: "Wolfgang Grandegger" <w...@grandegger.com>
Sent: Monday, February 14, 2011 12:53 PM
To: "Subhasish Ghosh" <subhas...@mistralsolutions.com>
Cc: "Kurt Van Dijck" <kurt.van.di...@eia.be>;
<davinci-linux-open-source@linux.davincidsp.com>;
<linux-arm-ker...@lists.infradead.org>; <m-watk...@ti.com>;
<nsek...@ti.com>; <sa...@mistralsolutions.com>; "open list:CAN NETWORK
DRIVERS" <socketcan-c...@lists.berlios.de>; "open list:CAN NETWORK DRIVERS"
<net...@vger.kernel.org>; "open list" <linux-ker...@vger.kernel.org>
Subject: Re: [PATCH v2 09/13] can: pruss CAN driver.
On 02/14/2011 05:54 AM, Subhasish Ghosh wrote:
Hello,
I had a discussion regarding this with Wolfgang:
http://www.mail-archive.com/socketcan-users@lists.berlios.de/msg00324.html
The problem here is that we must configure the mailbox ID's and this
support is not available in the socketCan sub-system.
To understand you correctly. A mailbox (or message object) can *only*
receive messages with the pre-programmed CAN id? Isn't there a chance to
receive all or a range of CAN ids? That's a very unusual piece of
hardware. Anyway, using kernel configuration parameters to define the
CAN id's would be the less flexible method. The user will not have a
chance to change them at run-time. Using SysFS files would already be
much better.
Wolfgang.
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source