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

Alexander Motin mav at FreeBSD.org
Fri Dec 22 20:44:22 UTC 2017


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");
 


More information about the svn-src-head mailing list