From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.sgi.com [192.48.152.1]) by ozlabs.org (Postfix) with ESMTP id 35AC7B6F71 for ; Wed, 10 Aug 2011 00:55:09 +1000 (EST) Date: Tue, 9 Aug 2011 09:55:07 -0500 From: Robin Holt To: U Bhaskar-B22300 Subject: Re: [PATCH 4/4] [powerpc] Add flexcan device support for p1010rdb. Message-ID: <20110809145507.GY4926@sgi.com> References: <1312892907-20419-1-git-send-email-holt@sgi.com> <1312892907-20419-5-git-send-email-holt@sgi.com> <9C64B7751C3BCA41B64A68E23005A7BE1C4A88@039-SN1MPN1-002.039d.mgd.msft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <9C64B7751C3BCA41B64A68E23005A7BE1C4A88@039-SN1MPN1-002.039d.mgd.msft.net> Cc: "netdev@vger.kernel.org" , "socketcan-core@lists.berlios.de" , Robin Holt , PPC list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Aug 09, 2011 at 02:45:58PM +0000, U Bhaskar-B22300 wrote: > Hi Robin, > Where are you doing the irq handling ie request_irq() for the powerpc based P1010. > Or the existing code of ARM based FlexCAN will work for P1010 ?? It appears that the of_device stuff got moved under the struct device and that allows the request_irq() to just magically work. Robin From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Holt Subject: Re: [PATCH 4/4] [powerpc] Add flexcan device support for p1010rdb. Date: Tue, 9 Aug 2011 09:55:07 -0500 Message-ID: <20110809145507.GY4926@sgi.com> References: <1312892907-20419-1-git-send-email-holt@sgi.com> <1312892907-20419-5-git-send-email-holt@sgi.com> <9C64B7751C3BCA41B64A68E23005A7BE1C4A88@039-SN1MPN1-002.039d.mgd.msft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org" , Marc Kleine-Budde , PPC list , Wolfgang Grandegger To: U Bhaskar-B22300 Return-path: Content-Disposition: inline In-Reply-To: <9C64B7751C3BCA41B64A68E23005A7BE1C4A88-TcFNo7jSaXPiTqIcKZ1S2K4g8xLGJsHaLnY5E4hWTkheoWH0uzbU5w@public.gmane.org> 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 Tue, Aug 09, 2011 at 02:45:58PM +0000, U Bhaskar-B22300 wrote: > Hi Robin, > Where are you doing the irq handling ie request_irq() for the powerpc based P1010. > Or the existing code of ARM based FlexCAN will work for P1010 ?? It appears that the of_device stuff got moved under the struct device and that allows the request_irq() to just magically work. Robin