]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mmc/sdio_func.h
sdio: set the functions' block size
[linux-2.6-omap-h63xx.git] / include / linux / mmc / sdio_func.h
index af813fffc4acd560ac35c81ba5e481718f674e68..f05757984e8d630c24e9f6b880751472117acbe1 100644 (file)
@@ -43,7 +43,8 @@ struct sdio_func {
        unsigned short          vendor;         /* vendor id */
        unsigned short          device;         /* device id */
 
-       unsigned short          blksize;        /* maximum block size */
+       unsigned                max_blksize;    /* maximum block size */
+       unsigned                cur_blksize;    /* current block size */
 
        unsigned int            state;          /* function state */
 #define SDIO_STATE_PRESENT     (1<<0)          /* present in sysfs */
@@ -111,6 +112,8 @@ extern void sdio_release_host(struct sdio_func *func);
 extern int sdio_enable_func(struct sdio_func *func);
 extern int sdio_disable_func(struct sdio_func *func);
 
+extern int sdio_set_block_size(struct sdio_func *func, unsigned blksz);
+
 extern int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler);
 extern int sdio_release_irq(struct sdio_func *func);