diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2016-01-20 11:35:52 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2016-01-20 11:37:32 -0800 |
commit | 680995ac4be045826d2050f9105c70a10db4a66f (patch) | |
tree | 5b6d65ad6fb86c6d3210bd869ceb5c2456d05d11 /linux-headers/include/linux/virtio_config.h | |
parent | 728afcddcb0526a0f6560c4032da82805f054d58 (diff) | |
download | riscv-gnu-toolchain-680995ac4be045826d2050f9105c70a10db4a66f.zip riscv-gnu-toolchain-680995ac4be045826d2050f9105c70a10db4a66f.tar.gz riscv-gnu-toolchain-680995ac4be045826d2050f9105c70a10db4a66f.tar.bz2 |
Bump linux-headers
These are cached from riscv-linux and have gotten out of date. The
breaking change was in asm/ptrace.h, but riscv-linux also got bumped so
this is a big commit.
This syncs from e1c1614e7bd2e053e88d0cb875e1a22b27df6e39 in riscv-linux.
Diffstat (limited to 'linux-headers/include/linux/virtio_config.h')
-rw-r--r-- | linux-headers/include/linux/virtio_config.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/linux-headers/include/linux/virtio_config.h b/linux-headers/include/linux/virtio_config.h index 75dc20b..a11101e0 100644 --- a/linux-headers/include/linux/virtio_config.h +++ b/linux-headers/include/linux/virtio_config.h @@ -38,20 +38,27 @@ #define VIRTIO_CONFIG_S_DRIVER 2 /* Driver has used its parts of the config, and is happy */ #define VIRTIO_CONFIG_S_DRIVER_OK 4 +/* Driver has finished configuring features */ +#define VIRTIO_CONFIG_S_FEATURES_OK 8 /* We've given up on this device. */ #define VIRTIO_CONFIG_S_FAILED 0x80 -/* Some virtio feature bits (currently bits 28 through 31) are reserved for the +/* Some virtio feature bits (currently bits 28 through 32) are reserved for the * transport being used (eg. virtio_ring), the rest are per-device feature * bits. */ #define VIRTIO_TRANSPORT_F_START 28 -#define VIRTIO_TRANSPORT_F_END 32 +#define VIRTIO_TRANSPORT_F_END 33 +#ifndef VIRTIO_CONFIG_NO_LEGACY /* Do we get callbacks when the ring is completely used, even if we've * suppressed them? */ #define VIRTIO_F_NOTIFY_ON_EMPTY 24 /* Can the device handle any descriptor layout? */ #define VIRTIO_F_ANY_LAYOUT 27 +#endif /* VIRTIO_CONFIG_NO_LEGACY */ + +/* v1.0 compliant. */ +#define VIRTIO_F_VERSION_1 32 #endif /* _LINUX_VIRTIO_CONFIG_H */ |