Linux Utils 2.22 contains an update to CMEM for 2.6.28 kernels, although it
hasn't yet been validated. Here's the output of a "diff -c" with the Linux
Utils 2.21 cmemk.c:
***************
*** 1694,1700 ****
--- 1694,1704 ----
#ifdef USE_CLASS_DEVICE
class_device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, "cmem");
#else
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
+ device_create(cmem_class, NULL, MKDEV(cmem_major, 0), NULL, "cmem");
+ #else
device_create(cmem_class, NULL, MKDEV(cmem_major, 0), "cmem");
+ #endif // LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
#endif // USE_CLASS_DEVICE
#endif // USE_CLASS_SIMPLE
#endif // USE_UDEV
I hear the DSPLink team is being pressured to provide an update for 2.6.28, but
don't know the status of that.
- Rob
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]
> ] On Behalf Of Yusuf Caglar AKYUZ
> Sent: Thursday, January 29, 2009 2:11 PM
> To: Ryan Talbot
> Cc: [email protected]
> Subject: Re: CMEM/DSPLink and 2.6.28 kernel?
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ryan Talbot wrote:
> > I searched the list, but couldn't find any evidence of
> patches to get
> > CMEM or DSPLink working with davinci-git kernels >2.6.26. We're
> > currently using 2.6.28-rc6-davinci1, CMEM from TI's LinuxUtils 2.21
> > package, and DSPLink 1.60. CMEM at least looks like it needs some
> > patches to work with 2.6.28 kernels; I haven't tried
> building DSPLink
> > yet.
> >
> > Are there no patches available? I just wanted to make sure
> I wouldn't
> > be reproducing work, if there were.
> >
>
> You can find all the necessary patches in the openembedded tree.
>
> I worked with dsplink 1.50, dsplink 1.60 and 1.30 with latest
> kernels. CMEM is the well-behaved child when compared to
> dsplink. It was always easy to make it work, though I haven't
> tried latest CMEM.
>
> Regards,
> Caglar
>
> > Thanks,
> >
> > Ryan Talbot
> > [email protected]
> >
> >
> >
> >
> ----------------------------------------------------------------------
> > --
> >
> > _______________________________________________
> > Davinci-linux-open-source mailing list
> > [email protected]
> >
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkmCKXgACgkQ/nL+S5dojeiHlwCePLMuW9ifZdod0oJuxdvo58eT
> 0fAAnj5goTVustlHL6LT9ssHjRXrSd+P
> =lez1
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> _______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source