aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/virtio_blk.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/virtio_blk.h b/include/linux/virtio_blk.h
index 1e19470d2da2..fd294c56d571 100644
--- a/include/linux/virtio_blk.h
+++ b/include/linux/virtio_blk.h
@@ -14,11 +14,8 @@
14#define VIRTIO_BLK_F_RO 5 /* Disk is read-only */ 14#define VIRTIO_BLK_F_RO 5 /* Disk is read-only */
15#define VIRTIO_BLK_F_BLK_SIZE 6 /* Block size of disk is available*/ 15#define VIRTIO_BLK_F_BLK_SIZE 6 /* Block size of disk is available*/
16#define VIRTIO_BLK_F_SCSI 7 /* Supports scsi command passthru */ 16#define VIRTIO_BLK_F_SCSI 7 /* Supports scsi command passthru */
17#define VIRTIO_BLK_F_IDENTIFY 8 /* ATA IDENTIFY supported */
18#define VIRTIO_BLK_F_FLUSH 9 /* Cache flush command support */ 17#define VIRTIO_BLK_F_FLUSH 9 /* Cache flush command support */
19 18
20#define VIRTIO_BLK_ID_BYTES (sizeof(__u16[256])) /* IDENTIFY DATA */
21
22struct virtio_blk_config { 19struct virtio_blk_config {
23 /* The capacity (in 512-byte sectors). */ 20 /* The capacity (in 512-byte sectors). */
24 __u64 capacity; 21 __u64 capacity;
@@ -34,7 +31,6 @@ struct virtio_blk_config {
34 } geometry; 31 } geometry;
35 /* block size of device (if VIRTIO_BLK_F_BLK_SIZE) */ 32 /* block size of device (if VIRTIO_BLK_F_BLK_SIZE) */
36 __u32 blk_size; 33 __u32 blk_size;
37 __u8 identify[VIRTIO_BLK_ID_BYTES];
38} __attribute__((packed)); 34} __attribute__((packed));
39 35
40/* 36/*