Page MenuHomeFreeBSD

D19580.diff
No OneTemporary

D19580.diff

Index: head/usr.sbin/bhyve/pci_emul.c
===================================================================
--- head/usr.sbin/bhyve/pci_emul.c
+++ head/usr.sbin/bhyve/pci_emul.c
@@ -953,10 +953,7 @@
bzero(&pciecap, sizeof(pciecap));
pciecap.capid = PCIY_EXPRESS;
- pciecap.pcie_capabilities = PCIECAP_VERSION | type;
- /* Devices starting with version 1.1 must set the RBER bit */
- if (PCIECAP_VERSION >= 1)
- pciecap.dev_capabilities = PCIEM_CAP_ROLE_ERR_RPT;
+ pciecap.pcie_capabilities = PCIECAP_VERSION | PCIEM_TYPE_ROOT_PORT;
pciecap.link_capabilities = 0x411; /* gen1, x1 */
pciecap.link_status = 0x11; /* gen1, x1 */

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 6, 2:04 PM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29328184
Default Alt Text
D19580.diff (637 B)

Event Timeline