git: d01a9cceefbc - stable/14 - Add some AMD device IDs.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Sep 2024 16:50:21 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=d01a9cceefbc072aef212c640d8558768853545e
commit d01a9cceefbc072aef212c640d8558768853545e
Author: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
AuthorDate: 2024-06-07 15:00:09 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-09-25 13:17:26 +0000
Add some AMD device IDs.
(cherry picked from commit 4cc4b5e2b5f85f136169069559108ed7fff351f9)
---
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 3d4a7d7c7400..7451cc387011 100644
--- a/sys/dev/ahci/ahci_pci.c
+++ b/sys/dev/ahci/ahci_pci.c
@@ -73,6 +73,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 64243e9d6227..336602b6bbf4 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -194,6 +194,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 abb6148c3369..4b4bd70f800f 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -179,6 +179,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 */