On 02/06/2011 06:29 PM, Helmut Auer wrote: > Thanks for the update ! Is there anyone working on the drivers ? As far as I know, Christian Gmeiner is the only one who has worked on them recently. I haven't tested that stuff, but his hg repository is at http://hg.assembla.com/em8300-cgmeiner/ > With a recent kernel the em8300 modules won't compile. The attached patch [1] over driver 0.18.0 is enough to make them build and work for me with kernel 2.6.35.10; I haven't tested with later versions. [1] Backport of http://hg.assembla.com/em8300-cgmeiner/changeset/720/
diff -up em8300-0.18.0/include/linux/em8300.h~ em8300-0.18.0/include/linux/em8300.h --- em8300-0.18.0/include/linux/em8300.h~ 2009-12-21 00:24:55.000000000 +0200 +++ em8300-0.18.0/include/linux/em8300.h 2011-01-23 22:39:34.938179632 +0200 @@ -234,6 +234,10 @@ extern int major; #include <linux/wait.h> /* wait_queue_head_t */ #include <linux/list.h> /* struct list_head */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34) +#include <linux/semaphore.h> /* struct semaphore */ +#endif + #if defined(CONFIG_SND) || defined(CONFIG_SND_MODULE) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) #define snd_card_t struct snd_card
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr