xref: /kvmtool/include/kvm/virtio-pci-dev.h (revision b025083d4b2db30bd2fedd263a1470c9a02d9272)
131638bcaSCyrill Gorcunov #ifndef VIRTIO_PCI_DEV_H_
231638bcaSCyrill Gorcunov #define VIRTIO_PCI_DEV_H_
331638bcaSCyrill Gorcunov 
40a7ab0c6SSasha Levin #include <linux/virtio_ids.h>
50a7ab0c6SSasha Levin 
631638bcaSCyrill Gorcunov /*
731638bcaSCyrill Gorcunov  * Virtio PCI device constants and resources
831638bcaSCyrill Gorcunov  * they do use (such as irqs and pins).
931638bcaSCyrill Gorcunov  */
1031638bcaSCyrill Gorcunov 
1131638bcaSCyrill Gorcunov #define PCI_DEVICE_ID_VIRTIO_NET		0x1000
1231638bcaSCyrill Gorcunov #define PCI_DEVICE_ID_VIRTIO_BLK		0x1001
1331638bcaSCyrill Gorcunov #define PCI_DEVICE_ID_VIRTIO_CONSOLE		0x1003
1431638bcaSCyrill Gorcunov #define PCI_DEVICE_ID_VIRTIO_RNG		0x1004
151c7850f9SSasha Levin #define PCI_DEVICE_ID_VIRTIO_P9			0x1009
16*b025083dSJohn Floren #define PCI_DEVICE_ID_VESA			0x2000
1731638bcaSCyrill Gorcunov 
18b8f43678SSasha Levin #define PCI_VENDOR_ID_REDHAT_QUMRANET		0x1af4
19b8f43678SSasha Levin #define PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET	0x1af4
20b8f43678SSasha Levin 
21*b025083dSJohn Floren #define PCI_SUBSYSTEM_ID_VESA			0x0004
22*b025083dSJohn Floren 
2331638bcaSCyrill Gorcunov #endif /* VIRTIO_PCI_DEV_H_ */
24