Recognize bge(4) BCM5776 revs of chips..

unknown BCM57766 (0x57766000)
unknown BCM57766 (0x57766001)


Index: if_bge.c
===================================================================
RCS file: /home/cvs/src/sys/dev/pci/if_bge.c,v
retrieving revision 1.393
diff -u -p -u -p -r1.393 if_bge.c
--- if_bge.c    12 Dec 2020 11:48:52 -0000      1.393
+++ if_bge.c    24 Feb 2021 05:12:56 -0000
@@ -403,6 +403,8 @@ static const struct bge_revision {
        { BGE_CHIPID_BCM5906_A2, "BCM5906 A2" },
        { BGE_CHIPID_BCM57765_A0, "BCM57765 A0" },
        { BGE_CHIPID_BCM57765_B0, "BCM57765 B0" },
+       { BGE_CHIPID_BCM57766_A0, "BCM57766 A0" },
+       { BGE_CHIPID_BCM57766_A1, "BCM57766 A1" },
        { BGE_CHIPID_BCM57780_A0, "BCM57780 A0" },
        { BGE_CHIPID_BCM57780_A1, "BCM57780 A1" },
 
Index: if_bgereg.h
===================================================================
RCS file: /home/cvs/src/sys/dev/pci/if_bgereg.h,v
retrieving revision 1.131
diff -u -p -u -p -r1.131 if_bgereg.h
--- if_bgereg.h 18 Jun 2020 17:13:32 -0000      1.131
+++ if_bgereg.h 24 Feb 2021 05:13:38 -0000
@@ -310,6 +310,8 @@
 #define        BGE_CHIPID_BCM5762_A0           0x05762000
 #define        BGE_CHIPID_BCM57765_A0          0x57785000
 #define        BGE_CHIPID_BCM57765_B0          0x57785100
+#define        BGE_CHIPID_BCM57766_A0          0x57766000
+#define        BGE_CHIPID_BCM57766_A1          0x57766001
 
 /* shorthand one */
 #define        BGE_ASICREV(x)                  ((x) >> 12)

Reply via email to