Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2017 20:44:21 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327094 - in head/sys/dev: ahci usb/controller
Message-ID:  <201712222044.vBMKiLPd033739@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Dec 22 20:44:21 2017
New Revision: 327094
URL: https://svnweb.freebsd.org/changeset/base/327094

Log:
  Add AHCI/XHCI device IDs found on AMD Ryzen+B350 system.
  
  MFC after:	2 weeks

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	Fri Dec 22 19:10:19 2017	(r327093)
+++ head/sys/dev/ahci/ahci_pci.c	Fri Dec 22 20:44:21 2017	(r327094)
@@ -68,6 +68,7 @@ static const struct {
 	    AHCI_Q_ATI_PMP_BUG | AHCI_Q_1MSI},
 	/* Not sure SB8x0/SB9x0 needs this quirk. Be conservative though */
 	{0x43951002, 0x00, "AMD SB8x0/SB9x0",	AHCI_Q_ATI_PMP_BUG},
+	{0x43b71022, 0x00, "AMD 300 Series",	0},
 	{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	Fri Dec 22 19:10:19 2017	(r327093)
+++ head/sys/dev/usb/controller/xhci_pci.c	Fri Dec 22 20:44:21 2017	(r327094)
@@ -97,6 +97,10 @@ xhci_pci_match(device_t self)
 	uint32_t device_id = pci_get_devid(self);
 
 	switch (device_id) {
+	case 0x145c1022:
+		return ("AMD KERNCZ USB 3.0 controller");
+	case 0x43bb1022:
+		return ("AMD 300 Series USB 3.0 controller");
 	case 0x78141022:
 		return ("AMD FCH USB 3.0 controller");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712222044.vBMKiLPd033739>