aboutsummaryrefslogtreecommitdiff
path: root/include/standard-headers/linux/virtio_blk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/standard-headers/linux/virtio_blk.h')
-rw-r--r--include/standard-headers/linux/virtio_blk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/standard-headers/linux/virtio_blk.h b/include/standard-headers/linux/virtio_blk.h
index ab16ec5fd2..ae6e865fee 100644
--- a/include/standard-headers/linux/virtio_blk.h
+++ b/include/standard-headers/linux/virtio_blk.h
@@ -112,6 +112,12 @@ struct virtio_blk_config {
/* Get device ID command */
#define VIRTIO_BLK_T_GET_ID 8
+/* Discard command */
+#define VIRTIO_BLK_T_DISCARD 11
+
+/* Write zeroes command */
+#define VIRTIO_BLK_T_WRITE_ZEROES 13
+
#ifndef VIRTIO_BLK_NO_LEGACY
/* Barrier before this op. */
#define VIRTIO_BLK_T_BARRIER 0x80000000