xref: /kvmtool/include/kvm/virtio-pci-dev.h (revision 82d2f21ed7aed9aca8db7e89dadad4a890afb70c)
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
15*82d2f21eSSasha Levin #define PCI_DEVICE_ID_VIRTIO_BLN		0x1005
161c7850f9SSasha Levin #define PCI_DEVICE_ID_VIRTIO_P9			0x1009
17b025083dSJohn Floren #define PCI_DEVICE_ID_VESA			0x2000
1831638bcaSCyrill Gorcunov 
19b8f43678SSasha Levin #define PCI_VENDOR_ID_REDHAT_QUMRANET		0x1af4
20b8f43678SSasha Levin #define PCI_SUBSYSTEM_VENDOR_ID_REDHAT_QUMRANET	0x1af4
21b8f43678SSasha Levin 
22b025083dSJohn Floren #define PCI_SUBSYSTEM_ID_VESA			0x0004
23b025083dSJohn Floren 
2431638bcaSCyrill Gorcunov #endif /* VIRTIO_PCI_DEV_H_ */
25