1 /****************************************************************************** 2 * 3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 * more details. 13 * 14 * You should have received a copy of the GNU General Public License along with 15 * this program; if not, write to the Free Software Foundation, Inc., 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA 17 * 18 * 19 ******************************************************************************/ 20 #ifndef __SDIO_HAL_H__ 21 #define __SDIO_HAL_H__ 22 23 24 extern u8 sd_hal_bus_init(PADAPTER padapter); 25 extern u8 sd_hal_bus_deinit(PADAPTER padapter); 26 27 u8 sd_int_isr(PADAPTER padapter); 28 void sd_int_dpc(PADAPTER padapter); 29 u8 rtw_set_hal_ops(_adapter *padapter); 30 31 #ifdef CONFIG_RTL8188E 32 void rtl8188es_set_hal_ops(PADAPTER padapter); 33 #endif 34 35 #ifdef CONFIG_RTL8723B 36 void rtl8723bs_set_hal_ops(PADAPTER padapter); 37 #endif 38 39 #ifdef CONFIG_RTL8821A 40 void rtl8821as_set_hal_ops(PADAPTER padapter); 41 #endif 42 43 #ifdef CONFIG_RTL8192E 44 void rtl8192es_set_hal_ops(PADAPTER padapter); 45 #endif 46 47 #ifdef CONFIG_RTL8703B 48 void rtl8703bs_set_hal_ops(PADAPTER padapter); 49 #endif 50 51 #ifdef CONFIG_RTL8188F 52 void rtl8188fs_set_hal_ops(PADAPTER padapter); 53 #endif 54 55 #endif //__SDIO_HAL_H__ 56 57