]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/virtio_blk.h
matroxfb: support G200eV chip
[linux-2.6-omap-h63xx.git] / include / linux / virtio_blk.h
index 6a66c7f30bcb52c0fa4f73a466f55d996818dd31..c1aef85243bf468522364425b6e06c022d9c8071 100644 (file)
@@ -13,6 +13,7 @@
 #define VIRTIO_BLK_F_SEG_MAX   2       /* Indicates maximum # of segments */
 #define VIRTIO_BLK_F_GEOMETRY  4       /* Legacy geometry available  */
 #define VIRTIO_BLK_F_RO                5       /* Disk is read-only */
+#define VIRTIO_BLK_F_BLK_SIZE  6       /* Block size of disk is available*/
 
 struct virtio_blk_config
 {
@@ -28,6 +29,8 @@ struct virtio_blk_config
                __u8 heads;
                __u8 sectors;
        } geometry;
+       /* block size of device (if VIRTIO_BLK_F_BLK_SIZE) */
+       __u32 blk_size;
 } __attribute__((packed));
 
 /* These two define direction. */