1554c0a3aSHans de Goede /****************************************************************************** 2554c0a3aSHans de Goede * 3554c0a3aSHans de Goede * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 4554c0a3aSHans de Goede * 5554c0a3aSHans de Goede * This program is free software; you can redistribute it and/or modify it 6554c0a3aSHans de Goede * under the terms of version 2 of the GNU General Public License as 7554c0a3aSHans de Goede * published by the Free Software Foundation. 8554c0a3aSHans de Goede * 9554c0a3aSHans de Goede * This program is distributed in the hope that it will be useful, but WITHOUT 10554c0a3aSHans de Goede * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11554c0a3aSHans de Goede * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12554c0a3aSHans de Goede * more details. 13554c0a3aSHans de Goede * 14554c0a3aSHans de Goede ******************************************************************************/ 15554c0a3aSHans de Goede #ifndef __DRV_TYPES_SDIO_H__ 16554c0a3aSHans de Goede #define __DRV_TYPES_SDIO_H__ 17554c0a3aSHans de Goede 18554c0a3aSHans de Goede /* SDIO Header Files */ 19554c0a3aSHans de Goede #include <linux/mmc/sdio_func.h> 20554c0a3aSHans de Goede #include <linux/mmc/sdio_ids.h> 21554c0a3aSHans de Goede 22554c0a3aSHans de Goede #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN) 23554c0a3aSHans de Goede #include <linux/mmc/host.h> 24554c0a3aSHans de Goede #include <linux/mmc/card.h> 25554c0a3aSHans de Goede #endif 26554c0a3aSHans de Goede 27554c0a3aSHans de Goede typedef struct sdio_data 28554c0a3aSHans de Goede { 29554c0a3aSHans de Goede u8 func_number; 30554c0a3aSHans de Goede 31554c0a3aSHans de Goede u8 tx_block_mode; 32554c0a3aSHans de Goede u8 rx_block_mode; 33554c0a3aSHans de Goede u32 block_transfer_len; 34554c0a3aSHans de Goede 35554c0a3aSHans de Goede struct sdio_func *func; 36554c0a3aSHans de Goede void *sys_sdio_irq_thd; 37554c0a3aSHans de Goede } SDIO_DATA, *PSDIO_DATA; 38554c0a3aSHans de Goede 39554c0a3aSHans de Goede #endif 40