summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-01-31 03:43:01 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-01-31 03:43:01 +0000
commit6fb4ad01fdbe76c178447d2d881d8e9aeb570487 (patch)
tree856d73e64a3590b2898f37d375c50e379c6f5261
parente74ab73e28352b8630bda6db6be57a91ebfc83a4 (diff)
recognize the BCM5755 C0 ASIC revision.
tested by Rodolfo Gouveia and marco@ ok kettenis@ marco@ dlg@
-rw-r--r--sys/dev/pci/if_bge.c3
-rw-r--r--sys/dev/pci/if_bgereg.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 3646d9d6dbc..fb9ac1ebe1d 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.216 2007/11/17 13:55:27 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.217 2008/01/31 03:43:00 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -355,6 +355,7 @@ 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_BCM5755_C0, "BCM5755 C0" },
/* the 5754 and 5787 share the same ASIC ID */
{ BGE_CHIPID_BCM5787_A0, "BCM5754/5787 A0" },
{ BGE_CHIPID_BCM5787_A1, "BCM5754/5787 A1" },
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h
index 0392f39d6ef..95f733782c2 100644
--- a/sys/dev/pci/if_bgereg.h
+++ b/sys/dev/pci/if_bgereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bgereg.h,v 1.75 2007/11/17 13:55:27 brad Exp $ */
+/* $OpenBSD: if_bgereg.h,v 1.76 2008/01/31 03:43:00 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -280,6 +280,7 @@
#define BGE_CHIPID_BCM5755_A0 0xa0000000
#define BGE_CHIPID_BCM5755_A1 0xa0010000
#define BGE_CHIPID_BCM5755_A2 0xa0020000
+#define BGE_CHIPID_BCM5755_C0 0xa2000000
#define BGE_CHIPID_BCM5787_A0 0xb0000000
#define BGE_CHIPID_BCM5787_A1 0xb0010000
#define BGE_CHIPID_BCM5787_A2 0xb0020000