From 6fb4ad01fdbe76c178447d2d881d8e9aeb570487 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 31 Jan 2008 03:43:01 +0000 Subject: recognize the BCM5755 C0 ASIC revision. tested by Rodolfo Gouveia and marco@ ok kettenis@ marco@ dlg@ --- sys/dev/pci/if_bge.c | 3 ++- sys/dev/pci/if_bgereg.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sys') 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 -- cgit v1.2.3