[tulip] starfire driver compilation problems

Donald Becker becker@scyld.com
Fri, 5 Jan 2001 13:32:41 -0500 (EST)


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