* Rapidio interface in recent kernels
@ 2008-06-26 4:33 Alex Dubov
2008-06-26 13:35 ` Kumar Gala
0 siblings, 1 reply; 3+ messages in thread
From: Alex Dubov @ 2008-06-26 4:33 UTC (permalink / raw)
To: linuxppc-embedded
Greetings.
I was trying to make use of rapidio on recent (2.6.25) kernel (I have a 8548
cpu). However, it seems that changes to the powerpc arch had broken it.
Therefore, the question: is there an anticipated fix or I'm on my own here?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rapidio interface in recent kernels
2008-06-26 4:33 Rapidio interface in recent kernels Alex Dubov
@ 2008-06-26 13:35 ` Kumar Gala
2008-06-27 6:36 ` Alex Dubov
0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2008-06-26 13:35 UTC (permalink / raw)
To: oakad; +Cc: linuxppc-embedded
On Jun 25, 2008, at 11:33 PM, Alex Dubov wrote:
> Greetings.
>
> I was trying to make use of rapidio on recent (2.6.25) kernel (I
> have a 8548
> cpu). However, it seems that changes to the powerpc arch had broken
> it.
>
> Therefore, the question: is there an anticipated fix or I'm on my
> own here?
Is there a compile error? if so please post it.
- k
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Rapidio interface in recent kernels
2008-06-26 13:35 ` Kumar Gala
@ 2008-06-27 6:36 ` Alex Dubov
0 siblings, 0 replies; 3+ messages in thread
From: Alex Dubov @ 2008-06-27 6:36 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-embedded
--- On Thu, 6/26/08, Kumar Gala <galak@kernel.crashing.org> wrote:
> From: Kumar Gala <galak@kernel.crashing.org>
> Subject: Re: Rapidio interface in recent kernels
> To: oakad@yahoo.com
> Cc: linuxppc-embedded@ozlabs.org
> Date: Thursday, June 26, 2008, 6:35 AM
> On Jun 25, 2008, at 11:33 PM, Alex Dubov wrote:
>=20
> > Greetings.
> >
> > I was trying to make use of rapidio on recent (2.6.25)
> kernel (I =20
> > have a 8548
> > cpu). However, it seems that changes to the powerpc
> arch had broken =20
> > it.
> >
> > Therefore, the question: is there an anticipated fix
> or I'm on my =20
> > own here?
>=20
> Is there a compile error? if so please post it.
>=20
> - k
I'm using 2.6.25.8, but I think it's the same for all 2.6.25 kernels.
I set: ARCH=3Dpowerpc, CROSS_COMPILE=3Dpowerpc-linux-gnuspe-
The cpu is Freescale 8548, so "Processor Type" is Freescale 85xx
First, there's no Kconfig entry for rapidio, as it seems stuck in the
ppc subtree, with bad guarding condition (around line 1097 in
arch/ppc/Kconfig), so I just copied it into arch/powerpc/Kconfig (without
the conditional for now).
And now for the build errors:
Stage 1:
arch/powerpc/kernel/rio.c:17:21: error: asm/rio.h: No such file or=20
directory
Stage 2 (after fixing stage 1):
arch/powerpc/sysdev/fsl_rio.c: In function =E2rio_open_outb_mbox=E2:
arch/powerpc/sysdev/fsl_rio.c:455: error: =E2MPC85xx_IRQ_RIO_TX=E2 undeclar=
ed=20
(first use in this function)
arch/powerpc/sysdev/fsl_rio.c:455: error: (Each undeclared identifier is=20
reported only once
arch/powerpc/sysdev/fsl_rio.c:455: error: for each function it appears in.)
arch/powerpc/sysdev/fsl_rio.c: In function =E2rio_close_outb_mbox=E2:
arch/powerpc/sysdev/fsl_rio.c:510: error: =E2MPC85xx_IRQ_RIO_TX=E2 undeclar=
ed=20
(first use in this function)
arch/powerpc/sysdev/fsl_rio.c: In function =E2rio_open_inb_mbox=E2:
arch/powerpc/sysdev/fsl_rio.c:600: error: =E2MPC85xx_IRQ_RIO_RX=E2 undeclar=
ed=20
(first use in this function)
arch/powerpc/sysdev/fsl_rio.c: In function =E2rio_close_inb_mbox=E2:
arch/powerpc/sysdev/fsl_rio.c:647: error: =E2MPC85xx_IRQ_RIO_RX=E2 undeclar=
ed=20
(first use in this function)
arch/powerpc/sysdev/fsl_rio.c: In function =E2mpc85xx_rio_doorbell_init=E2:
arch/powerpc/sysdev/fsl_rio.c:838: error: =E2MPC85xx_IRQ_RIO_BELL=E2 undecl=
ared (first use in this function)
arch/powerpc/sysdev/fsl_rio.c: In function =E2mpc85xx_rio_setup=E2:
arch/powerpc/sysdev/fsl_rio.c:916: error: =E2CCSRBAR=E2 undeclared (first u=
se=20
in this function)
And the worst thing is - those macros are defined using old style ppc
register defines and I don't have a nearest idea how to fix it on a new=20
style kernel (for one - CCSRBAR is replaced with some runtime thingie).
=0A=0A=0A
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-27 6:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 4:33 Rapidio interface in recent kernels Alex Dubov
2008-06-26 13:35 ` Kumar Gala
2008-06-27 6:36 ` Alex Dubov
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).