From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Subject: Re: [PATCH v2 09/13] can: pruss CAN driver. Date: Mon, 14 Feb 2011 08:23:00 +0100 Message-ID: <4D58D854.5090503@grandegger.com> References: <1297435892-28278-1-git-send-email-subhasish@mistralsolutions.com> <1297435892-28278-10-git-send-email-subhasish@mistralsolutions.com> <20110211150602.GB373@e-circ.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: sachi-EvXpCiN+lbve9wHmmfpqLFaTQe2KTcn/@public.gmane.org, davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, CAN NETWORK DRIVERS , nsekhar-l0cyMroinI0@public.gmane.org, open list , CAN NETWORK DRIVERS , m-watkins-l0cyMroinI0@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Subhasish Ghosh Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org 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-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org/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.