]> err.no Git - linux-2.6/blobdiff - drivers/mmc/wbsd.h
[PATCH] USB: isp116x-hcd: support only per-port power switching
[linux-2.6] / drivers / mmc / wbsd.h
index 8af43549f5d5b95b34bbe8b17b1fad18199be236..9005b5241b3cce44c132f13be7e9b5270cfc691c 100644 (file)
 #define WBSD_CLK_16M           0x02
 #define WBSD_CLK_24M           0x03
 
+#define WBSD_DATA_WIDTH                0x01
+
 #define WBSD_DAT3_H            0x08
 #define WBSD_FIFO_RESET                0x04
 #define WBSD_SOFT_RESET                0x02
@@ -164,6 +166,7 @@ struct wbsd_host
        int                     firsterr;       /* See fifo functions */
        
        u8                      clk;            /* Current clock speed */
+       unsigned char           bus_width;      /* Current bus width */
        
        int                     config;         /* Config port */
        u8                      unlock_code;    /* Code to unlock config */