# RE: RE: RE: cpm\_dpalloc

- From: Li Yang-r58472 \<hidden\>
- Date: 2006-08-01 03:20:27 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2006/08/9409011

```text
I'm not very familiar with SPI.  See if someone on the list can help.

Best Regards,
Leo
> -----Original Message-----
> From: Keinen Namen [mailto:<redacted>]
> Sent: Monday, July 31, 2006 9:39 PM
> To: Li Yang-r58472
> Subject: Re: RE: RE: cpm_dpalloc
>=20
> Thx, now it=B4s working fine.
>=20
> But my Problem didn=B4t solved :(
> But I have an other Question about SPI.
>=20
> How can I see that the init of RX and TX Parameter are succsesful ?
> I just looking till the CPM_CR_FLG till is cleard but I did not see if =
the init
> is ok?
>=20
> I try to look at the RX internal byte count in the Parameter ram, but =
there is nothing
> chance.
>=20
> Regards
> Fred
>=20
> -------- Original-Nachricht --------
> Datum: Mon, 31 Jul 2006 17:24:30 +0800
> Von: "Li Yang-r58472" [ref]
> An: "Keinen Namen" [ref]
> Betreff: RE: RE: cpm_dpalloc
>=20
> > Yes, but that patch is for powerpc arch.  You can use this patch for =
ppc.
> > http://patchwork.ozlabs.org/linuxppc/patch?id=3D4317
> >
> > Best Regards,
> > Leo
> > > -----Original Message-----
> > > From: Keinen Namen [mailto:<redacted>]
> > > Sent: Monday, July 31, 2006 5:21 PM
> > > To: Li Yang-r58472
> > > Subject: Re: RE: cpm_dpalloc
> > >
> > > Thanks for your fast Help.
> > >
> > > I=B4m not firm in patches. Is this the patch ?
> > > http://lkml.org/lkml/2006/6/30/108
> > >
> > > Regards
> > > Fred
> > > -------- Original-Nachricht --------
> > > Datum: Mon, 31 Jul 2006 16:56:54 +0800
> > > Von: "Li Yang-r58472" [ref]
> > > An: GSM909@gmx.de, linuxppc-embedded@ozlabs.org
> > > Betreff: RE: cpm_dpalloc
> > >
> > > > There is a bug in rheap for alignment.  The patch is still =
hanging
> > around.
> > > >
> > > > Search rheap and alignment on the linuxppc-dev list for patch
> > previously
> > > > posted.
> > > >
> > > > Best Regards,
> > > > Leo
> > > > > -----Original Message-----
> > > > > From: =
linuxppc-embedded-bounces+leoli=3Dfreescale.com@ozlabs.org
> > > > > =
[mailto:linuxppc-embedded-bounces+leoli=3Dfreescale.com@ozlabs.org] On
> > > > Behalf Of
> > > > > GSM909@gmx.de
> > > > > Sent: Monday, July 31, 2006 4:50 PM
> > > > > To: <redacted>
> > > > > Subject: cpm_dpalloc
> > > > >
> > > > > Hi All
> > > > >
> > > > > I have a MPC82xx Processor from Freescale with Linux 2.6.14 ( =
Can=B4t
> > > > chance to an
> > > > > new version).
> > > > >
> > > > > My Problem is that I want to allocate a 64byte of memory in =
the dual
> > > > ported ram
> > > > > with an alignment of 64bytes. (Needed for SPI Parameter Ram)
> > > > >
> > > > > the funktion cpm_dpalloc(64,64) returned 0x220 but that are =
not in a
> > 64
> > > > byte
> > > > > alignment.
> > > > >
> > > > > Regards
> > > > > Fred
> > > > > --
> > > > >
> > > > >
> > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu =
sparen!
> > > > > Ideal f=FCr Modem und ISDN: =
http://www.gmx.net/de/go/smartsurfer
> > > > > _______________________________________________
> > > > > Linuxppc-embedded mailing list
> > > > > Linuxppc-embedded@ozlabs.org
> > > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> > > > _______________________________________________
> > > > Linuxppc-embedded mailing list
> > > > Linuxppc-embedded@ozlabs.org
> > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> > >
> > > --
> > >
> > >
> > > Echte DSL-Flatrate dauerhaft f=FCr 0,- Euro*. Nur noch kurze Zeit!
> > > "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
>=20
> --
>=20
>=20
> Echte DSL-Flatrate dauerhaft f=FCr 0,- Euro*. Nur noch kurze Zeit!
> "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
```
