[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configure the network card



le lun 07-07-2003 à 20:21, Bjoern Schiessle a écrit :
> Hello,
Hi,

> i have installed GNU/Hurd on my Notebook, but i can't configure the
> network card. The network card is an Intel Pro/100 VE Network
> Connection PCI.
This card is not supported by default on GNUmach 1.
I had the same problem with my notepad (a thinkpad) and I did a patch,
but I didn't send it (except on HurdFr ml) since GNUmach 1 is not
maintained any more. 

This patch only changes the PCI ID chacked by GNUmach. We can use the
same driver since e100 cards are compatible (it works *for me*).

Hope this helps.

Yours,

Olivier

diff -urN gnumach-1.3/linux/dev/drivers/net/eepro100.c gnumach/linux/dev/drivers/net/eepro100.c
--- gnumach-1.3/linux/dev/drivers/net/eepro100.c	2002-05-27 20:17:05.000000000 +0200
+++ gnumach/linux/dev/drivers/net/eepro100.c	2003-01-06 21:59:44.000000000 +0100
@@ -215,6 +215,9 @@
 #ifndef PCI_DEVICE_ID_INTEL_ID2449
 #define PCI_DEVICE_ID_INTEL_ID2449 0x2449
 #endif
+#ifndef PCI_DEVICE_ID_INTEL_1031
+#define PCI_DEVICE_ID_INTEL_1031 0x1031
+#endif
 
 /* The total I/O port extent of the board.
    The registers beyond 0x18 only exist on the i82558. */
@@ -366,8 +369,8 @@
 	  PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82559ER,
 	  0
 	},
-	{ "Intel PCI EtherExpress Pro100 ID1029",
-	  PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1029,
+	{ "Intel PRO/100 VE",
+	  PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_1031,
 	  0 
 	},
 	{ "Intel Corporation 82559 InBusiness 10/100",
diff -urN gnumach-1.3/linux/src/include/linux/pci.h gnumach/linux/src/include/linux/pci.h
--- gnumach-1.3/linux/src/include/linux/pci.h	2002-05-27 20:17:09.000000000 +0200
+++ gnumach/linux/src/include/linux/pci.h	2003-01-06 22:00:46.000000000 +0100
@@ -899,6 +899,7 @@
 #define PCI_DEVICE_ID_INTEL_82378	0x0484
 #define PCI_DEVICE_ID_INTEL_82430	0x0486
 #define PCI_DEVICE_ID_INTEL_82434	0x04a3
+#define PCI_DEVICE_ID_INTEL_1031	0x1031
 #define PCI_DEVICE_ID_INTEL_82092AA_0	0x1221
 #define PCI_DEVICE_ID_INTEL_82092AA_1	0x1222
 #define PCI_DEVICE_ID_INTEL_7116	0x1223

Reply to: