Tulip driver fails to compile in Linux Kernel 2.2?

John R. Cary cary@tech-x.txcorp.com
Tue Sep 7 13:54:54 1999


I tried the build using the compile command listed at the end of
the file.  Running a Digital Personal Workstation 500au with
a Digital 21143-PB/C card and Redhat 6.0.  I got the compile
error (first one below):

In file included from /usr/include/asm/semaphore.h:11,
                 from /usr/include/linux/fs.h:163,
                 from /usr/include/linux/capability.h:13,
                 from /usr/include/linux/binfmts.h:5,
                 from /usr/include/linux/sched.h:8,
                 from tulip.c:118:
/usr/include/asm/current.h:4: global register variable follows a
function definition
/usr/include/asm/current.h:4: warning: call-clobbered register used for
global register variable
tulip.c: In function `tulip_timer':
tulip.c:1866: warning: `mleaf' might be used uninitialized in this
function
tulip.c:1867: warning: `p' might be used uninitialized in this function

Looks like a kernel problem???