Patch for eepro100.c to support Intel Pro/100 VE

New! This patch is now included into Kernel 2.4.18, 2.5.5 and 2.2.21pre3, so it is no longer needed. I will delete this page soon.

This adds definitions for the Intel Pro/100 VE to the eepro100.c in the Linux-Kernel.
This card is found in some Notebooks (e.g. Sony PCG-GR114MK).

Here is the patch for Kernel 2.2.21pre2 for download.

Here is the patch for Kernel 2.4.17pre8 for download.

Here is a description-file.

Patch for Kernel 2.2.21pre2:
--- linux-2.2.21-pre2/drivers/net/eepro100.c	Sun Mar 25 18:37:34 2001
+++ linux/drivers/net/eepro100.c	Mon Feb 18 00:41:31 2002
@@ -175,6 +175,9 @@
 #ifndef PCI_DEVICE_ID_INTEL_ID1030
 #define PCI_DEVICE_ID_INTEL_ID1030 0x1030
 #endif
+#ifndef PCI_DEVICE_ID_INTEL_ID1031
+#define PCI_DEVICE_ID_INTEL_ID1031 0x1031
+#endif
 #ifndef PCI_DEVICE_ID_INTEL_ID2449
 #define PCI_DEVICE_ID_INTEL_ID2449 0x2449
 #endif
@@ -335,6 +338,10 @@
 	},
 	{ "Intel Corporation 82559 InBusiness 10/100",
 	  PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1030,
+	  0
+	},
+	{ "Intel Pro/100 VE",
+	  PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1031,
 	  0
 	},
 	{ "Intel PCI EtherExpress Pro100 82562EM",



Patch for Kernel 2.4.17pre8:
--- linux-2.4.18-pre8/drivers/net/eepro100.c	Wed Feb  6 15:15:16 2002
+++ linux/drivers/net/eepro100.c	Wed Feb  6 15:19:14 2002
@@ -168,6 +168,9 @@
 #ifndef PCI_DEVICE_ID_INTEL_ID1030
 #define PCI_DEVICE_ID_INTEL_ID1030 0x1030
 #endif
+#ifndef PCI_DEVICE_ID_INTEL_ID1031          /* support for Intel Pro/100 VE */
+#define PCI_DEVICE_ID_INTEL_ID1031 0x1031
+#endif


 static int speedo_debug = 1;
@@ -2270,6 +2273,8 @@
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1029,
 		PCI_ANY_ID, PCI_ANY_ID, },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1030,
+		PCI_ANY_ID, PCI_ANY_ID, },
+	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1031,     /* support for Intel Pro/100 VE */
 		PCI_ANY_ID, PCI_ANY_ID, },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_7,
 		PCI_ANY_ID, PCI_ANY_ID, },

Hanno Böck