Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/virtio.h
Show First 20 Lines • Show All 208 Lines • ▼ Show 20 Lines | |||||
* PCI vendor/device IDs | * PCI vendor/device IDs | ||||
*/ | */ | ||||
#define VIRTIO_VENDOR 0x1AF4 | #define VIRTIO_VENDOR 0x1AF4 | ||||
#define VIRTIO_DEV_NET 0x1000 | #define VIRTIO_DEV_NET 0x1000 | ||||
#define VIRTIO_DEV_BLOCK 0x1001 | #define VIRTIO_DEV_BLOCK 0x1001 | ||||
#define VIRTIO_DEV_CONSOLE 0x1003 | #define VIRTIO_DEV_CONSOLE 0x1003 | ||||
#define VIRTIO_DEV_RANDOM 0x1005 | #define VIRTIO_DEV_RANDOM 0x1005 | ||||
#define VIRTIO_DEV_SCSI 0x1008 | #define VIRTIO_DEV_SCSI 0x1008 | ||||
#define VIRTIO_DEV_9P 0x1009 | |||||
/* | /* | ||||
* PCI config space constants. | * PCI config space constants. | ||||
* | * | ||||
* If MSI-X is enabled, the ISR register is generally not used, | * If MSI-X is enabled, the ISR register is generally not used, | ||||
* and the configuration vector and queue vector appear at offsets | * and the configuration vector and queue vector appear at offsets | ||||
* 20 and 22 with the remaining configuration registers at 24. | * 20 and 22 with the remaining configuration registers at 24. | ||||
* If MSI-X is not enabled, those two registers disappear and | * If MSI-X is not enabled, those two registers disappear and | ||||
▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines |