Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Change 0x1229's product name from 82557 to 8255x.



details:   https://anonhg.NetBSD.org/src/rev/2eef86a914b9
branches:  trunk
changeset: 769262:2eef86a914b9
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Sep 05 04:36:50 2011 +0000

description:
Change 0x1229's product name from 82557 to 8255x.
82550, 82551, 82558 and 82559 share the same product id.
This change makes "pcictl dump" happy.

diffstat:

 sys/dev/cardbus/if_fxp_cardbus.c |   6 +++---
 sys/dev/pci/if_fxp_pci.c         |  10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r f582eaa5173c -r 2eef86a914b9 sys/dev/cardbus/if_fxp_cardbus.c
--- a/sys/dev/cardbus/if_fxp_cardbus.c  Mon Sep 05 04:32:52 2011 +0000
+++ b/sys/dev/cardbus/if_fxp_cardbus.c  Mon Sep 05 04:36:50 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fxp_cardbus.c,v 1.48 2011/08/01 11:20:27 drochner Exp $     */
+/*     $NetBSD: if_fxp_cardbus.c,v 1.49 2011/09/05 04:36:50 msaitoh Exp $      */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fxp_cardbus.c,v 1.48 2011/08/01 11:20:27 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fxp_cardbus.c,v 1.49 2011/09/05 04:36:50 msaitoh Exp $");
 
 #include "opt_inet.h"
 #include "rnd.h"
@@ -113,7 +113,7 @@
        struct cardbus_attach_args *ca = aux;
 
        if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_INTEL &&
-           PCI_PRODUCT(ca->ca_id) == PCI_PRODUCT_INTEL_82557)
+           PCI_PRODUCT(ca->ca_id) == PCI_PRODUCT_INTEL_8255X)
                return (1);
 
        return (0);
diff -r f582eaa5173c -r 2eef86a914b9 sys/dev/pci/if_fxp_pci.c
--- a/sys/dev/pci/if_fxp_pci.c  Mon Sep 05 04:32:52 2011 +0000
+++ b/sys/dev/pci/if_fxp_pci.c  Mon Sep 05 04:36:50 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fxp_pci.c,v 1.76 2011/09/02 03:16:18 msaitoh Exp $  */
+/*     $NetBSD: if_fxp_pci.c,v 1.77 2011/09/05 04:36:50 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.76 2011/09/02 03:16:18 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.77 2011/09/05 04:36:50 msaitoh Exp $");
 
 #include "rnd.h"
 
@@ -102,8 +102,8 @@
 } fxp_pci_products[] = {
        { PCI_PRODUCT_INTEL_82552,
          "Intel i82552 10/100 Network Connection" },
-       { PCI_PRODUCT_INTEL_82557,
-         "Intel i82557 Ethernet" },
+       { PCI_PRODUCT_INTEL_8255X,
+         "Intel i8255x Ethernet" },
        { PCI_PRODUCT_INTEL_82559ER,
          "Intel i82559ER Ethernet" },
        { PCI_PRODUCT_INTEL_IN_BUSINESS,
@@ -378,7 +378,7 @@
        sc->sc_rev = PCI_REVISION(pa->pa_class);
 
        switch (fpp->fpp_prodid) {
-       case PCI_PRODUCT_INTEL_82557:
+       case PCI_PRODUCT_INTEL_8255X:
        case PCI_PRODUCT_INTEL_IN_BUSINESS:
 
                if (sc->sc_rev >= FXP_REV_82558_A4) {



Home | Main Index | Thread Index | Old Index