Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/pci match zen3 "cezanne" (ryzen 5000-series APU.)



details:   https://anonhg.NetBSD.org/src/rev/a9eb631d7156
branches:  trunk
changeset: 372419:a9eb631d7156
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Nov 24 21:03:38 2022 +0000

description:
match zen3 "cezanne" (ryzen 5000-series APU.)

diffstat:

 sys/arch/x86/pci/amdzentemp.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f6f3b0f6dd24 -r a9eb631d7156 sys/arch/x86/pci/amdzentemp.c
--- a/sys/arch/x86/pci/amdzentemp.c     Thu Nov 24 02:58:28 2022 +0000
+++ b/sys/arch/x86/pci/amdzentemp.c     Thu Nov 24 21:03:38 2022 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: amdzentemp.c,v 1.15 2022/10/01 15:50:05 msaitoh Exp $ */
+/*      $NetBSD: amdzentemp.c,v 1.16 2022/11/24 21:03:38 mrg Exp $ */
 /*      $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $   */
 
 /*
@@ -53,7 +53,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.15 2022/10/01 15:50:05 msaitoh Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.16 2022/11/24 21:03:38 mrg Exp $ ");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -398,6 +398,7 @@
        switch (model) {
        case 0x00 ... 0x0f: /* Zen3 EPYC "Milan" */
        case 0x20 ... 0x2f: /* Zen3 Ryzen "Vermeer" */
+       case 0x50 ... 0x5f: /* Zen3 Ryzen "Cezanne" */
                maxreg = 8;
                break;
        case 0x60 ... 0x6f: /* Zen4 Ryzen "Raphael" */



Home | Main Index | Thread Index | Old Index