sched.h changes in 2.4.19rc5aa1 / Digi's cpci driver doesn't compile

From: Pasi Kärkkäinen (pasik@iki.fi)
Date: Thu Sep 12 2002 - 11:30:12 EST


Hello!

I'm using Linux 2.4.19rc5aa1 and having problems to compile Digi's cpci
driver for multiport serialboard. This driver is not part of the kernel,
but available from Digi's website.

The problem seems to be related to changes in include/linux/sched.h.
Digi's driver wants to use member called "counter" which doesn't exist
anymore in the -aa kernel.

The code goes like this (cpci.c line 3847):

        current->state = TASK_INTERRUPTIBLE;
        current->counter = 0; /* make us low-priority */

current is task_struct.

Sources available from http://nrg.joroinen.fi/digi/

Any ideas how to fix this? I'm not familiar with kernel driver
development..

- Pasi Kärkkäinen

                                   ^
                                . .
                                 Linux
                              / - \
                             Choice.of.the
                           .Next.Generation.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:29 EST