Mailing List archive

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

[linux-dvb] Re: Problem with dvb and kernel 2.5.72



Michael Hunold wrote:
Hello Dirk,

make bzImage works now but make modules fails:

Ok, I have tried this out and I can confirm these problems.

drivers/media/dvb/dvb-core/dvb_net.c:48: field `tq' has incomplete type
drivers/media/dvb/dvb-core/dvb_net.c: In function `dvb_net_set_multicast_list':
drivers/media/dvb/dvb-core/dvb_net.c:350: warning: implicit declaration of function `schedule_task'
drivers/media/dvb/dvb-core/dvb_net.c: In function `dvb_net_add_if':
drivers/media/dvb/dvb-core/dvb_net.c:476: warning: implicit declaration of function `PREPARE_TQUEUE'
drivers/media/dvb/dvb-core/dvb_net.c: In function `dvb_net_remove_if':
drivers/media/dvb/dvb-core/dvb_net.c:500: `tqueue_lock' undeclared (first use in this function)
drivers/media/dvb/dvb-core/dvb_net.c:500: (Each undeclared identifier is reported only once

The net stuff has been updated by Holger lately. Unfortunately, it does not work with 2.5 any more. As Holger has already pointed out, most of the stuff can be fixed by #defines in "dvb_compat.h":

#include <linux/tqueue.h>
#define work_struct tq_struct
#define INIT_WORK INIT_TQUEUE
#define schedule_work schedule_task

But: the global lock "tqueue_lock" has gone, a wild guess is that instead of
spin_lock_irqrestore(&tqueue_lock, flags);
the same effect can be expressed as:
spin_lock_irqsave(&priv->tq.timer.lock, flags);

One thing left is the "list handling", but I don't know how to fix that, not to mention that I cannot test any of these changes... ;-)
I'll look into this today.

My second problem:

I miss the script driver.av7110 which is described in the README file.

Hm, it has been removed by Holger, too, I don't know why. Perhaps the users should use "insmod.sh" instead?
Right, and we should mention that the use should only load the modules he really needs on the long run to save memory and startup-time...

If so, please change my excellent documentation the next time... ;-)
:) ok.

Holger



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index