git: 4cc4b5e2b5f8 - main - Add some AMD device IDs.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Fri, 07 Jun 2024 17:02:55 UTC
The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=4cc4b5e2b5f85f136169069559108ed7fff351f9

commit 4cc4b5e2b5f85f136169069559108ed7fff351f9
Author:     Dmitry Luhtionov <dmitryluhtionov@gmail.com>
AuthorDate: 2024-06-07 15:00:09 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2024-06-07 17:02:03 +0000

    Add some AMD device IDs.
---
 sys/dev/ahci/ahci_pci.c           | 3 +++
 sys/dev/sound/pci/hda/hdac.c      | 1 +
 sys/dev/sound/pci/hda/hdac.h      | 1 +
 sys/dev/usb/controller/xhci_pci.c | 3 +++
 4 files changed, 8 insertions(+)

diff --git a/sys/dev/ahci/ahci_pci.c b/sys/dev/ahci/ahci_pci.c
index 69587da2226a..59bcca0b3d47 100644
--- a/sys/dev/ahci/ahci_pci.c
+++ b/sys/dev/ahci/ahci_pci.c
@@ -72,6 +72,9 @@ static const struct {
 	{0x43b61022, 0x00, "AMD X399",		0},
 	{0x43b51022, 0x00, "AMD 300 Series",	0}, /* X370 */
 	{0x43b71022, 0x00, "AMD 300 Series",	0}, /* B350 */
+	{0x43c81022, 0x00, "AMD 400 Series",	0}, /* B450 */
+	{0x43eb1022, 0x00, "AMD 500 Series",	0},
+	{0x43f61022, 0x00, "AMD 600 Series",	0}, /* X670 */
 	{0x78001022, 0x00, "AMD Hudson-2",	0},
 	{0x78011022, 0x00, "AMD Hudson-2",	0},
 	{0x78021022, 0x00, "AMD Hudson-2",	0},
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index f3dff2052b51..e45c121eb10b 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -193,6 +193,7 @@ static const struct {
 	{ HDA_ATI_RV940,     "ATI RV940",	0, 0 },
 	{ HDA_ATI_RV970,     "ATI RV970",	0, 0 },
 	{ HDA_ATI_R1000,     "ATI R1000",	0, 0 },
+	{ HDA_ATI_OLAND,     "ATI Oland",	0, 0 },
 	{ HDA_ATI_KABINI,    "ATI Kabini",	0, 0 },
 	{ HDA_ATI_TRINITY,   "ATI Trinity",	0, 0 },
 	{ HDA_AMD_X370,      "AMD X370",	0, 0 },
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index 191c835595ef..b40bfc7f6da3 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -178,6 +178,7 @@
 #define HDA_ATI_RV930		HDA_MODEL_CONSTRUCT(ATI, 0xaa90)
 #define HDA_ATI_RV910		HDA_MODEL_CONSTRUCT(ATI, 0xaa98)
 #define HDA_ATI_R1000		HDA_MODEL_CONSTRUCT(ATI, 0xaaa0)
+#define HDA_ATI_OLAND		HDA_MODEL_CONSTRUCT(ATI, 0xaab0)
 #define HDA_ATI_KABINI		HDA_MODEL_CONSTRUCT(ATI, 0x9840)
 #define HDA_ATI_TRINITY		HDA_MODEL_CONSTRUCT(ATI, 0x9902)
 #define HDA_ATI_ALL		HDA_MODEL_CONSTRUCT(ATI, 0xffff)
diff --git a/sys/dev/usb/controller/xhci_pci.c b/sys/dev/usb/controller/xhci_pci.c
index 359f14bb1e3c..3afb9fa8c6ef 100644
--- a/sys/dev/usb/controller/xhci_pci.c
+++ b/sys/dev/usb/controller/xhci_pci.c
@@ -100,6 +100,9 @@ xhci_pci_match(device_t self)
 		return ("AMD Starship USB 3.0 controller");
 	case 0x149c1022:
 		return ("AMD Matisse USB 3.0 controller");
+	case 0x15e01022:
+	case 0x15e11022:
+		return ("AMD Raven USB 3.1 controller");
 	case 0x43ba1022:
 		return ("AMD X399 USB 3.0 controller");
 	case 0x43b91022: /* X370 */