diff --git a/src/include/ipxe/virtio-pci.h b/src/include/ipxe/virtio-pci.h index c7452c82f..f3c9b17ca 100644 --- a/src/include/ipxe/virtio-pci.h +++ b/src/include/ipxe/virtio-pci.h @@ -107,11 +107,11 @@ struct virtio_pci_region { /* How to interpret the base field */ #define VIRTIO_PCI_REGION_TYPE_MASK 0x00000003 /* The base field is a memory address */ -#define VIRTIO_PCI_REGION_MEMORY 0x00000000 +#define VIRTIO_PCI_REGION_MEMORY 0x00000001 /* The base field is a port address */ -#define VIRTIO_PCI_REGION_PORT 0x00000001 +#define VIRTIO_PCI_REGION_PORT 0x00000002 /* The base field is an offset within the PCI bar */ -#define VIRTIO_PCI_REGION_PCI_CONFIG 0x00000002 +#define VIRTIO_PCI_REGION_PCI_CONFIG 0x00000003 unsigned flags; };