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 Phoenix support.



details:   https://anonhg.NetBSD.org/src/rev/936085f862f1
branches:  trunk
changeset: 378234:936085f862f1
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Jul 28 02:28:33 2023 +0000

description:
Add Zen4 Phoenix support.

diffstat:

 sys/arch/x86/pci/amdsmn.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r c8603ecae665 -r 936085f862f1 sys/arch/x86/pci/amdsmn.c
--- a/sys/arch/x86/pci/amdsmn.c Fri Jul 28 02:27:24 2023 +0000
+++ b/sys/arch/x86/pci/amdsmn.c Fri Jul 28 02:28:33 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amdsmn.c,v 1.16 2023/01/28 12:36:52 msaitoh Exp $      */
+/*     $NetBSD: amdsmn.c,v 1.17 2023/07/28 02:28:33 msaitoh Exp $      */
 
 /*-
  * Copyright (c) 2017, 2019 Conrad Meyer <cem%FreeBSD.org@localhost>
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdsmn.c,v 1.16 2023/01/28 12:36:52 msaitoh Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdsmn.c,v 1.17 2023/07/28 02:28:33 msaitoh Exp $ ");
 
 /*
  * Driver for the AMD Family 15h (model 60+) and 17h CPU
@@ -112,6 +112,11 @@ static const struct pciid {
                .amdsmn_addr_reg = F17H_SMN_ADDR_REG,
                .amdsmn_data_reg = F17H_SMN_DATA_REG,
        },
+       {
+               .amdsmn_deviceid = PCI_PRODUCT_AMD_F19_7X_RC,
+               .amdsmn_addr_reg = F17H_SMN_ADDR_REG,
+               .amdsmn_data_reg = F17H_SMN_DATA_REG,
+       },
 };
 
 static int amdsmn_match(device_t, cfdata_t, void *);



Home | Main Index | Thread Index | Old Index