linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* External Interrupt
@ 2008-02-01  8:11 Marco Stornelli
  2008-02-01 14:28 ` Sergei Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Marco Stornelli @ 2008-02-01  8:11 UTC (permalink / raw)
  To: Linuxppc Embedded Mailing List

Hi,

I used the linux kernel 2.6.10 with a processor MPC8548E. I wrote a
driver for a device connected with the local bus. This device has an
external interrupt. In the local bus driver I have used the macro
MPC85xx_IRQ_EXT<X> to get the interrupt number and pass it to the
driver and after that register the ISR. Now with a kernel 2.6.21 this
macro isn't available because in the header file irq.h there is the
option CONFIG_PPC_MERGE that disable those options. I think this
problem is related to the migration of ppc code towards powerpc. I
know that now there is the new device tree source file where I can add
a device and its interrupt number  but I think in this file I should
describe only the platform device, and this device is not a platform
device. Then, how can I get now this  value? Is there some function to
call? How can I perform this operation?

Thanks in advance.

Marco

^ permalink raw reply	[flat|nested] 10+ messages in thread
* External Interrupt
@ 2008-01-30 13:31 Marco Stornelli
  0 siblings, 0 replies; 10+ messages in thread
From: Marco Stornelli @ 2008-01-30 13:31 UTC (permalink / raw)
  To: LinuxPPC-Dev Mailing List

Hi all,


I used the linux kernel 2.6.10 with a processor MPC8548E. I wrote a
driver for a device connected with the local bus. This device has an
external interrupt. In the local bus driver I have used the macro
MPC85xx_IRQ_EXT<X> to get the interrupt number and pass it to the driver
and after that register the ISR. Now with a kernel 2.6.21 this macro
isn't available because in the header file irq.h there is the option
CONFIG_PPC_MERGE that disable those options. I think this problem is
related to the migration of ppc code towards powerpc. I know that now
there is the new device tree source file but I think in this file I
should describe only the platform device, and this device is not a
platform device. Then, how can I get now this value? Is there some
function to call?

Thanks in advance.

Marco

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-01 19:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01  8:11 External Interrupt Marco Stornelli
2008-02-01 14:28 ` Sergei Shtylyov
2008-02-01 15:15   ` Marco Stornelli
2008-02-01 15:35     ` Sergei Shtylyov
2008-02-01 16:22       ` Marco Stornelli
2008-02-01 19:43         ` Scott Wood
2008-02-01 19:55           ` Jon Loeliger
2008-02-01 14:29 ` Sergei Shtylyov
2008-02-01 14:52 ` AW: " Lehmann, Hans (Ritter Elektronik)
  -- strict thread matches above, loose matches on Subject: below --
2008-01-30 13:31 Marco Stornelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).