diff options
Diffstat (limited to 'include/linux/virtio_blk.h')
| -rw-r--r-- | include/linux/virtio_blk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/virtio_blk.h b/include/linux/virtio_blk.h index e52029e98919..167720d695ed 100644 --- a/include/linux/virtio_blk.h +++ b/include/linux/virtio_blk.h | |||
| @@ -17,6 +17,8 @@ | |||
| 17 | #define VIRTIO_BLK_F_FLUSH 9 /* Cache flush command support */ | 17 | #define VIRTIO_BLK_F_FLUSH 9 /* Cache flush command support */ |
| 18 | #define VIRTIO_BLK_F_TOPOLOGY 10 /* Topology information is available */ | 18 | #define VIRTIO_BLK_F_TOPOLOGY 10 /* Topology information is available */ |
| 19 | 19 | ||
| 20 | #define VIRTIO_BLK_ID_BYTES 20 /* ID string length */ | ||
| 21 | |||
| 20 | struct virtio_blk_config { | 22 | struct virtio_blk_config { |
| 21 | /* The capacity (in 512-byte sectors). */ | 23 | /* The capacity (in 512-byte sectors). */ |
| 22 | __u64 capacity; | 24 | __u64 capacity; |
| @@ -67,6 +69,9 @@ struct virtio_blk_config { | |||
| 67 | /* Cache flush command */ | 69 | /* Cache flush command */ |
| 68 | #define VIRTIO_BLK_T_FLUSH 4 | 70 | #define VIRTIO_BLK_T_FLUSH 4 |
| 69 | 71 | ||
| 72 | /* Get device ID command */ | ||
| 73 | #define VIRTIO_BLK_T_GET_ID 8 | ||
| 74 | |||
| 70 | /* Barrier before this op. */ | 75 | /* Barrier before this op. */ |
| 71 | #define VIRTIO_BLK_T_BARRIER 0x80000000 | 76 | #define VIRTIO_BLK_T_BARRIER 0x80000000 |
| 72 | 77 | ||
