summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-02 10:03:43 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-02 10:03:43 +0000
commiteb414764dbd883c3c688a1bcfb185c429bf6ea0b (patch)
treed44a0978e0a058fc27abb26017b2d9f4f90b0239
parentfdd1c9f4af676f11e841e248e23cb05fdc1e9061 (diff)
the 5754 and 5787 share the same ASIC ID, make the crazy strings list both
so its obvious to people working on the code
-rw-r--r--sys/dev/pci/if_bge.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index bda9cc186cb..6c62138fca0 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.210 2007/05/02 09:13:21 dlg Exp $ */
+/* $OpenBSD: if_bge.c,v 1.211 2007/05/02 10:03:42 dlg Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -355,9 +355,10 @@ static const struct bge_revision {
{ BGE_CHIPID_BCM5755_A0, "BCM5755 A0" },
{ BGE_CHIPID_BCM5755_A1, "BCM5755 A1" },
{ BGE_CHIPID_BCM5755_A2, "BCM5755 A2" },
- { BGE_CHIPID_BCM5787_A0, "BCM5787 A0" },
- { BGE_CHIPID_BCM5787_A1, "BCM5787 A1" },
- { BGE_CHIPID_BCM5787_A2, "BCM5787 A2" },
+ /* the 5754 and 5787 share the same ASIC ID */
+ { BGE_CHIPID_BCM5787_A0, "BCM5754/5787 A0" },
+ { BGE_CHIPID_BCM5787_A1, "BCM5754/5787 A1" },
+ { BGE_CHIPID_BCM5787_A2, "BCM5754/5787 A2" },
{ BGE_CHIPID_BCM5906_A1, "BCM5906 A1" },
{ 0, NULL }
@@ -381,7 +382,7 @@ static const struct bge_revision bge_majorrevs[] = {
{ BGE_ASICREV_BCM5714, "unknown BCM5714" },
{ BGE_ASICREV_BCM5755, "unknown BCM5755" },
/* 5754 and 5787 share the same ASIC ID */
- { BGE_ASICREV_BCM5787, "unknown BCM5787" },
+ { BGE_ASICREV_BCM5787, "unknown BCM5754/5787" },
{ BGE_ASICREV_BCM5906, "unknown BCM5906" },
{ 0, NULL }