Module Name: src
Committed By: msaitoh
Date: Wed Oct 26 13:35:25 UTC 2022
Modified Files:
src/sys/dev/pci: amdccp_pci.c
Log Message:
Add AMD F17/1x and F17/9x CCP(PSP) support to amdccp(4).
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/amdccp_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/amdccp_pci.c
diff -u src/sys/dev/pci/amdccp_pci.c:1.2 src/sys/dev/pci/amdccp_pci.c:1.3
--- src/sys/dev/pci/amdccp_pci.c:1.2 Thu Jun 25 16:40:40 2020
+++ src/sys/dev/pci/amdccp_pci.c Wed Oct 26 13:35:25 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: amdccp_pci.c,v 1.2 2020/06/25 16:40:40 thorpej Exp $ */
+/* $NetBSD: amdccp_pci.c,v 1.3 2022/10/26 13:35:25 msaitoh Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdccp_pci.c,v 1.2 2020/06/25 16:40:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdccp_pci.c,v 1.3 2022/10/26 13:35:25 msaitoh Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -65,8 +65,14 @@ static const struct amdccp_pci_product {
.product = PCI_PRODUCT_AMD_F17_CCP_2,
},
{ .vendor = PCI_VENDOR_AMD,
+ .product = PCI_PRODUCT_AMD_F17_1X_PSP,
+ },
+ { .vendor = PCI_VENDOR_AMD,
.product = PCI_PRODUCT_AMD_F17_7X_CCP,
},
+ { .vendor = PCI_VENDOR_AMD,
+ .product = PCI_PRODUCT_AMD_F17_9X_CCP,
+ },
};
static const struct amdccp_pci_product *