virtio: Formally reserve bits 28-31 to be 'transport' features.
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / virtio_config.h
index 7eb4b34d13bb719e6e44f1225f721830dd5b7d56..5a30cfb7934b3fb02caefe7cdf988d3ec6df0953 100644 (file)
 /* 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
+ * 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
+
 /* Do we get callbacks when the ring is completely used, even if we've
  * suppressed them? */
 #define VIRTIO_F_NOTIFY_ON_EMPTY       24