diff options
author | Ladi Prosek | 2016-04-11 11:26:58 +0200 |
---|---|---|
committer | Michael Brown | 2016-04-15 18:41:26 +0200 |
commit | 8a055a2a707f8cb92e7b62512391e03b4e25cae2 (patch) | |
tree | 368a64a84a3fdd8a3519d650f638df0bc6e4543e /src/include/ipxe/errfile.h | |
parent | [virtio] Add virtio 1.0 constants and data structures (diff) | |
download | ipxe-8a055a2a707f8cb92e7b62512391e03b4e25cae2.tar.gz ipxe-8a055a2a707f8cb92e7b62512391e03b4e25cae2.tar.xz ipxe-8a055a2a707f8cb92e7b62512391e03b4e25cae2.zip |
[virtio] Add virtio 1.0 PCI support
This commit adds support for driving virtio 1.0 PCI devices. In
addition to various helpers, a number of vpm_ functions are introduced
to be used instead of their legacy vp_ counterparts when accessing
virtio 1.0 (aka modern) devices.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/errfile.h')
-rw-r--r-- | src/include/ipxe/errfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index 338ebddc..4681567b 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -188,6 +188,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define ERRFILE_eoib ( ERRFILE_DRIVER | 0x007c0000 ) #define ERRFILE_golan ( ERRFILE_DRIVER | 0x007d0000 ) #define ERRFILE_flexboot_nodnic ( ERRFILE_DRIVER | 0x007e0000 ) +#define ERRFILE_virtio_pci ( ERRFILE_DRIVER | 0x007f0000 ) #define ERRFILE_aoe ( ERRFILE_NET | 0x00000000 ) #define ERRFILE_arp ( ERRFILE_NET | 0x00010000 ) |