[tulip] starfire driver compilation problems
Ed Padin
ohdamnthathurts@yahoo.com
Fri, 5 Jan 2001 14:26:19 -0500
The patch worked and I was able to compile the driver. Now the pci-scan.o
module loads okay but I when I try to load the starfire driver I get the
following:
cpu_to_be16: wrong version or undefined
Loading failed! The module symbols (from linux-2.0.33) don't match your
linux-2.0.3
BTW: here's a list of my currently loaded modules if that matters:
Module: #pages: Used by:
pci-scan 1 0
cipcb 6 1
ip_masq_quake 1 0
ip_masq_irc 1 0
ip_masq_ftp 1 0
ip_masq_raudio 1 0
tulip 6 1
3c59x 5 1
----- Original Message -----
From: "Donald Becker" <becker@scyld.com>
To: "Ed Padin" <ohdamnthathurts@yahoo.com>
Cc: <tulip@scyld.com>
Sent: Friday, January 05, 2001 1:32 PM
Subject: Re: [tulip] starfire driver compilation problems
> On Fri, 5 Jan 2001, Ed Padin wrote:
>
> > Date: Fri, 5 Jan 2001 13:08:43 -0500
> > From: Ed Padin <ohdamnthathurts@yahoo.com>
> > To: tulip@scyld.com
> > Subject: [tulip] starfire driver compilation problems
> >
> > Hi,
> >
> > I joined this list because I'm having a problem compiling the starfire.c
> > driver under a 2.0.33 kernel. It keeps complaining the init.h is not
found.
> > Is there a specific library I should be installing?
>
> This is a generic problem for all of the drivers.
>
> The bug is in kern_compat.h, where I added new backward-compatiblity code.
>
> Here is the fix:
> @@ -144,7 +144,7 @@
> #endif
>
> /* Added at the suggestion of Jes Sorensen. */
> -#if LINUX_VERSION_CODE < 0x20153
> +#if LINUX_VERSION_CODE > 0x20153
> #include <linux/init.h>
> #else
>
>
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
> Annapolis MD 21403 410-990-9993
>
>
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip