]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix bhyve PCIe capability emulation
authorChuck Tuffli <chuck@FreeBSD.org>
Fri, 15 Mar 2019 02:11:28 +0000 (02:11 +0000)
committerChuck Tuffli <chuck@FreeBSD.org>
Fri, 15 Mar 2019 02:11:28 +0000 (02:11 +0000)
commit2ba640758dce566468c96f767a84a40a01fe60ae
treec53b31badb0c02821e5b5a4a296a8b878efae926
parent7bb1073842e8a1943d8b48cb1e4e07215b4c5be1
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