]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix bhyve PCIe capability emulation
authorchuck <chuck@FreeBSD.org>
Fri, 15 Mar 2019 02:11:28 +0000 (02:11 +0000)
committerchuck <chuck@FreeBSD.org>
Fri, 15 Mar 2019 02:11:28 +0000 (02:11 +0000)
commit51935ceeadc96ab03134447d232f722853060edd
treec53b31badb0c02821e5b5a4a296a8b878efae926
parentebaa423d28fb70db22f8a538b2b7b8b406c1a9f9
Fix bhyve PCIe capability emulation

PCIe devices starting with version 1.1 must set the Role-Based Error
Reporting bit.

And while we're in the neighborhood, generalize the code assigning the
device type.

Reviewed by: imp, araujo, rgrimes
Approved by: imp (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19580
usr.sbin/bhyve/pci_emul.c