pub const DEVICE_ID_BASE: u16 = 0x1040;
Expand description
Base value for PCI device IDs for Virtio devices
Actual device ID of a Virtio device (as reported via PCI configuration space) will be this base value plus the device type ID as defined in section 5 of the Virtio spec.
For example, the PCI device ID of a Virtio network device (device type 1) would be
DEVICE_ID_BASE + 1 = 0x1041
.