bug-grub
[Top][All Lists]
Advanced

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

[PATCH] Support for Intel 82801CAM eepro100 card


From: Jan Nieuwenhuizen
Subject: [PATCH] Support for Intel 82801CAM eepro100 card
Date: Sat, 05 Apr 2003 13:48:39 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux)

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

    11:17:36 address@hidden:~
    $ lspci -s 02:08
    02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) 
Ethernet Controller (rev 41)
    11:17:47 address@hidden:~
    $ 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  <address@hidden>
+
+       * 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  <address@hidden>
 
        From Adam Lackorzynski <address@hidden>:
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 <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]