svn commit: r336225 - in head/sys/dev: ahci usb/controller

Mark Johnston markj at FreeBSD.org
Thu Jul 12 18:44:02 UTC 2018


Author: markj
Date: Thu Jul 12 18:44:00 2018
New Revision: 336225
URL: https://svnweb.freebsd.org/changeset/base/336225

Log:
  Add PCI IDs for AMD X370 AHCI and XHCI.
  
  Submitted by:	Greg V <greg at unrelenting.technology>
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D15398

Modified:
  head/sys/dev/ahci/ahci_pci.c
  head/sys/dev/usb/controller/xhci_pci.c

Modified: head/sys/dev/ahci/ahci_pci.c
==============================================================================
--- head/sys/dev/ahci/ahci_pci.c	Thu Jul 12 18:07:28 2018	(r336224)
+++ head/sys/dev/ahci/ahci_pci.c	Thu Jul 12 18:44:00 2018	(r336225)
@@ -69,7 +69,8 @@ static const struct {
 	/* Not sure SB8x0/SB9x0 needs this quirk. Be conservative though */
 	{0x43951002, 0x00, "AMD SB8x0/SB9x0",	AHCI_Q_ATI_PMP_BUG},
 	{0x43b61022, 0x00, "AMD X399",		0},
-	{0x43b71022, 0x00, "AMD 300 Series",	0},
+	{0x43b51022, 0x00, "AMD 300 Series",	0}, /* X370 */
+	{0x43b71022, 0x00, "AMD 300 Series",	0}, /* B350 */
 	{0x78001022, 0x00, "AMD Hudson-2",	0},
 	{0x78011022, 0x00, "AMD Hudson-2",	0},
 	{0x78021022, 0x00, "AMD Hudson-2",	0},

Modified: head/sys/dev/usb/controller/xhci_pci.c
==============================================================================
--- head/sys/dev/usb/controller/xhci_pci.c	Thu Jul 12 18:07:28 2018	(r336224)
+++ head/sys/dev/usb/controller/xhci_pci.c	Thu Jul 12 18:44:00 2018	(r336225)
@@ -101,7 +101,8 @@ xhci_pci_match(device_t self)
 		return ("AMD KERNCZ USB 3.0 controller");
 	case 0x43ba1022:
 		return ("AMD X399 USB 3.0 controller");
-	case 0x43bb1022:
+	case 0x43b91022: /* X370 */
+	case 0x43bb1022: /* B350 */
 		return ("AMD 300 Series USB 3.0 controller");
 	case 0x78141022:
 		return ("AMD FCH USB 3.0 controller");


More information about the svn-src-head mailing list