This patch below makes the GRUB recognise the onboard Intel
EtherExpresspro Pro100 card of my ibm x22:

    11:17:36 [EMAIL PROTECTED]:~
    $ lspci -s 02:08
    02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet 
Controller (rev 41)
    11:17:47 [EMAIL PROTECTED]:~
    $ lspci -s 02:08 -n
    02:08.0 Class 0200: 8086:1031 (rev 41)

Greetings,
Jan.

Btw, wondering why my card was not recognized, I found that
     /usr/src/linux/drivers/net/eepro100.c lists a lot of other intel
     IDs for this type of card.  Should more of these IDs be included?


Index: ChangeLog
===================================================================
RCS file: /cvsroot/grub/grub/ChangeLog,v
retrieving revision 1.553
diff -p -u -r1.553 ChangeLog
--- ChangeLog   18 Mar 2003 23:51:59 -0000      1.553
+++ ChangeLog   5 Apr 2003 11:27:28 -0000
@@ -1,3 +1,11 @@
+2003-04-05  Jan Nieuwenhuizen  <[EMAIL PROTECTED]>
+
+       * netboot/config.c (pci_nic_list): [INCLUDE_TULIP]: Add
+       entry for PCI_DEVICE_ID_INTEL_82801CAM.
+       (PCI_NIC): Likewise. 
+
+       * netboot/pci.h (PCI_DEVICE_ID_INTEL_82801CAM): New macro.
+
 2003-03-19  Yoshinori K. Okuji  <[EMAIL PROTECTED]>
 
        From Adam Lackorzynski <[EMAIL PROTECTED]>:
Index: netboot/config.c
===================================================================
RCS file: /cvsroot/grub/grub/netboot/config.c,v
retrieving revision 1.12
diff -p -u -r1.12 config.c
--- netboot/config.c    20 Apr 2002 00:43:10 -0000      1.12
+++ netboot/config.c    5 Apr 2003 11:27:29 -0000
@@ -122,6 +122,8 @@ static struct pci_device pci_nic_list[] 
     "Intel EtherExpressPro100 ID1029", 0, 0, 0, 0},
   { PCI_VENDOR_ID_INTEL,       PCI_DEVICE_ID_INTEL_ID1030,
     "Intel Corporation 82559 InBusiness 10/100", 0, 0, 0, 0},
+  { PCI_VENDOR_ID_INTEL,       PCI_DEVICE_ID_INTEL_82801CAM,
+    "Intel EtherExpressPro100 82801CAM", 0, 0, 0, 0},
   { PCI_VENDOR_ID_INTEL,       PCI_DEVICE_ID_INTEL_82562,
     "Intel EtherExpressPro100 82562EM", 0, 0, 0, 0},
 #endif
@@ -281,6 +283,7 @@ static struct pci_dispatch_table PCI_NIC
   { PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82559ER,   eepro100_probe },
   { PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_ID1029,    eepro100_probe },
   { PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_ID1030,    eepro100_probe },
+  { PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82801CAM,  eepro100_probe },
   { PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82562,     eepro100_probe },
 # endif /* INCLUDE_EEPRO100 */
 # ifdef        INCLUDE_EPIC100
Index: netboot/pci.h
===================================================================
RCS file: /cvsroot/grub/grub/netboot/pci.h,v
retrieving revision 1.8
diff -p -u -r1.8 pci.h
--- netboot/pci.h       2 Jan 2002 21:56:40 -0000       1.8
+++ netboot/pci.h       5 Apr 2003 11:27:29 -0000
@@ -129,6 +129,7 @@ __asm__ __volatile__("pushl %0 ; popfl":
 #define PCI_DEVICE_ID_INTEL_82559ER    0x1209
 #define PCI_DEVICE_ID_INTEL_ID1029     0x1029
 #define PCI_DEVICE_ID_INTEL_ID1030     0x1030
+#define PCI_DEVICE_ID_INTEL_82801CAM   0x1031
 #define PCI_DEVICE_ID_INTEL_82562      0x2449
 #define PCI_VENDOR_ID_AMD              0x1022
 #define PCI_DEVICE_ID_AMD_LANCE                0x2000

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to