Thread (10 messages) flat view 10 messages, 4 authors, 2011-08-09

Re: [PATCH 4/4] [powerpc] Add flexcan device support for p1010rdb.

From: Wolfgang Grandegger <hidden>
Date: 2011-08-09 15:10:37
Also in: netdev

On 08/09/2011 04:55 PM, Robin Holt wrote:
On Tue, Aug 09, 2011 at 02:45:58PM +0000, U Bhaskar-B22300 wrote:
quoted
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.
Cool! Actually I was also missing of_address_to_resource (or of_iomap)
and irq_of_parse_and_map(). But the resources seem to be filled in here:

  http://lxr.linux.no/#linux+v3.0.1/drivers/of/platform.c#L121

Wolfgang.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help