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 Add Zen4 Ryzen "Phoenix" support.



details:   https://anonhg.NetBSD.org/src/rev/05202d6555be
branches:  trunk
changeset: 378230:05202d6555be
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Jul 28 00:11:15 2023 +0000

description:
Add Zen4 Ryzen "Phoenix" support.

diffstat:

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

diffs (26 lines):

diff -r 89b73ec4a3d1 -r 05202d6555be sys/arch/x86/pci/amdzentemp.c
--- a/sys/arch/x86/pci/amdzentemp.c     Thu Jul 27 21:59:55 2023 +0000
+++ b/sys/arch/x86/pci/amdzentemp.c     Fri Jul 28 00:11:15 2023 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: amdzentemp.c,v 1.18 2023/01/28 12:36:52 msaitoh Exp $ */
+/*      $NetBSD: amdzentemp.c,v 1.19 2023/07/28 00:11:15 msaitoh 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.18 2023/01/28 12:36:52 msaitoh Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdzentemp.c,v 1.19 2023/07/28 00:11:15 msaitoh Exp $ ");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -403,6 +403,7 @@ amdzentemp_probe_ccd_sensors19h(struct a
                maxreg = 8;
                break;
        case 0x60 ... 0x6f: /* Zen4 Ryzen "Raphael" */
+       case 0x70 ... 0x7f: /* Zen4 Ryzen "Phoenix" */
                sc->sc_ccd_offset = 0x308;
                maxreg = 8;
                break;



Home | Main Index | Thread Index | Old Index