From 0a11bf11d64665c7698ad7db2094b501747e3d95 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 18 Jun 2021 06:53:42 +0000 Subject: [PATCH] recognise BCM5762 B0 from Brad --- sys/dev/pci/if_bge.c | 3 ++- sys/dev/pci/if_bgereg.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 928cadc74a0..aef01b31f6b 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.395 2021/06/12 09:26:47 kettenis Exp $ */ +/* $OpenBSD: if_bge.c,v 1.396 2021/06/18 06:53:42 jsg Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -392,6 +392,7 @@ static const struct bge_revision { { BGE_CHIPID_BCM5761_A0, "BCM5761 A0" }, { BGE_CHIPID_BCM5761_A1, "BCM5761 A1" }, { BGE_CHIPID_BCM5762_A0, "BCM5762 A0" }, + { BGE_CHIPID_BCM5762_B0, "BCM5762 B0" }, { BGE_CHIPID_BCM5784_A0, "BCM5784 A0" }, { BGE_CHIPID_BCM5784_A1, "BCM5784 A1" }, /* the 5754 and 5787 share the same ASIC ID */ diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h index a50f259febc..bf040bea0c0 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.132 2021/04/19 17:03:49 kettenis Exp $ */ +/* $OpenBSD: if_bgereg.h,v 1.133 2021/06/18 06:53:42 jsg Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -308,6 +308,7 @@ #define BGE_CHIPID_BCM5719_A1 0x05719001 #define BGE_CHIPID_BCM5720_A0 0x05720000 #define BGE_CHIPID_BCM5762_A0 0x05762000 +#define BGE_CHIPID_BCM5762_B0 0x05762100 #define BGE_CHIPID_BCM57765_A0 0x57785000 #define BGE_CHIPID_BCM57765_B0 0x57785100 #define BGE_CHIPID_BCM57766_A0 0x57766000 -- 2.20.1