Date: Sat, 23 Dec 2017 12:26:57 -0800 From: Conrad Meyer <cem@freebsd.org> To: Alexander Motin <mav@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r327094 - in head/sys/dev: ahci usb/controller Message-ID: <CAG6CVpVh4FQPDkKcA-vgLwpfKRgdorfXEEgHRz8TRzWSm%2B8F4Q@mail.gmail.com> In-Reply-To: <201712222044.vBMKiLPd033739@repo.freebsd.org> References: <201712222044.vBMKiLPd033739@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I see similar devices on my AMD TR + X399 system that should be added as well. I don't have time to reboot/test a patch right now, but here are the device ids: pci1 ahci0 pnpinfo vendor=0x1022 device=0x43b6 subvendor=0x1b21 subdevice=0x1062 class=0x010601 at slot=0 function=1 dbsf=pci0:1:0:1 handle=\_SB_.PCI0.D0A0.P101 xhci0 pnpinfo vendor=0x1022 device=0x43ba subvendor=0x1b21 subdevice=0x1142 class=0x0c0330 at slot=0 function=0 dbsf=pci0:1:0:0 handle=\_SB_.PCI0.D0A0.PTXH (0x43b61022 for ahci0, 0x43ba1022 for xhci0.) If no one else commits them, I'll get to it eventually. Best, Conrad On Fri, Dec 22, 2017 at 12:44 PM, Alexander Motin <mav@freebsd.org> wrote: > 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?CAG6CVpVh4FQPDkKcA-vgLwpfKRgdorfXEEgHRz8TRzWSm%2B8F4Q>