Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Newstruct Problem: wasRe: Re: DiSEqC support



Hi Oliver,

>> tar -xjvf siemens_dvb-0.9.4-2002-06-23.patch.tar.bz2

>This is *not* a  NEWSTRUCT driver!

>cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login
>cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv -z3 co -r NEWSTRUCT DVB

Yes, I also download that driver (just to be sure I did it again from a
clean slate) I forgot to mention the CVS path I used. Sorry

However, when I compile it I get the following error (which is why
I thought you had to apply Klaus' patch):

stack-boundary=2 -march=i586 -DMODULE -I.. -I. -g -DUSE_OSD -I../../include
-c -o av7110.o av7110.c
av7110.c: In function `vid_register':
av7110.c:3325: too many arguments to function `video_register_device'
make[4]: *** [av7110.o] Error 1
make[4]: Leaving directory `/usr/local/src/DVB/driver/av7110'

More errors follow because of the one above

Part of AV7110.c in question:

static int vid_register(av7110_t *av7110)
{
/* Copy structure */
memcpy( &av7110->video, &dvb_template, sizeof(struct video_device));
av7110->video.priv = av7110;

Line 3325 is:
if( 0 > (video_register_device(&av7110->video, VFL_TYPE_GRABBER, -1)))

printk(KERN_ERR "dvb: can't register videodevice\n");
return -1;
}
return 0;
}

I can`t see any error in the code. I tried search linuxtc.org on VDR and
DVB Forums for "too many arguments to function `video_register_device",
but only found one article and this guy had a problem with videodev.c and
not in av7110.c.

I am using Suse 7.2 Pro Kernel 2.4.4. My DVB card is a Rev 1.6. In
the old driver I had to add a line in dvb.c because it didn' recognize my
DVB card (subsystem id was 0006, which wasn't defined. However,
the NEWSTRUC driver is completely different. Any help would greatly
be appreciated

Thanks,
Reinhard









-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index