https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236922
--- Comment #7 from Tommy P <[email protected]> --- After reviewing the Linux code for the virtio, I'm more confident that my hunch is correct regarding the FreeBSD virtio driver. if (pci_dev->device < 0x1040) { /* Transitional devices: use the PCI subsystem device id as * virtio device id, same as legacy driver always did. */ vp_dev->vdev.id.device = pci_dev->subsystem_device; } else { /* Modern devices: simply use PCI device id, but start from 0x1040. */ vp_dev->vdev.id.device = pci_dev->device - 0x1040; } from: https://github.com/torvalds/linux/blob/v5.0/drivers/virtio/virtio_pci_modern.c -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
