Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci add support intel C-ICH's embeded Ether MACs.



details:   https://anonhg.NetBSD.org/src/rev/b50267fe0fac
branches:  trunk
changeset: 534329:b50267fe0fac
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jul 22 08:25:45 2002 +0000

description:
add support intel C-ICH's embeded Ether MACs.
Tested on RadiSys Endura CH815C (http://www.radisys.com/)

diffstat:

 sys/dev/pci/if_fxp_pci.c |  17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r a73a85f886ec -r b50267fe0fac sys/dev/pci/if_fxp_pci.c
--- a/sys/dev/pci/if_fxp_pci.c  Mon Jul 22 07:48:48 2002 +0000
+++ b/sys/dev/pci/if_fxp_pci.c  Mon Jul 22 08:25:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fxp_pci.c,v 1.23 2002/06/22 08:09:07 cjs Exp $      */
+/*     $NetBSD: if_fxp_pci.c,v 1.24 2002/07/22 08:25:45 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.23 2002/06/22 08:09:07 cjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.24 2002/07/22 08:25:45 msaitoh Exp $");
 
 #include "rnd.h"
 
@@ -117,6 +117,10 @@
          "Intel InBusiness Ethernet" },
        { PCI_PRODUCT_INTEL_82801BA_LAN,
          "Intel i82562 Ethernet" },
+       { PCI_PRODUCT_INTEL_82801E_LAN_1,
+         "Intel i82559 Ethernet" },
+       { PCI_PRODUCT_INTEL_82801E_LAN_2,
+         "Intel i82559 Ethernet" },
        { PCI_PRODUCT_INTEL_PRO_100_VE_0,
          "Intel PRO/100 VE Network Controller" },
        { PCI_PRODUCT_INTEL_PRO_100_VE_1,
@@ -370,6 +374,15 @@
                sc->sc_rev = 1;
                sc->sc_flags |= FXPF_HAS_RESUME_BUG;
                break;
+       case PCI_PRODUCT_INTEL_82801E_LAN_1:
+       case PCI_PRODUCT_INTEL_82801E_LAN_2:
+               printf(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
+
+               /*
+                *  XXX We have to read the C-ICH's developer's manual
+                *  in detail
+                */
+               break;
        }
 
        /* Make sure bus-mastering is enabled. */



Home | Main Index | Thread Index | Old Index