1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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.
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
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
19 ******************************************************************************/
24 #include <osdep_service.h>
25 #include <drv_types.h>
26 #include <osdep_intf.h>
28 #ifdef CONFIG_RTL8192C
29 u32 rtl8192ce_init_desc_ring(_adapter * padapter);
30 u32 rtl8192ce_free_desc_ring(_adapter * padapter);
31 void rtl8192ce_reset_desc_ring(_adapter * padapter);
32 #ifdef CONFIG_64BIT_DMA
33 u8 PlatformEnable92CEDMA64(PADAPTER Adapter);
35 int rtl8192ce_interrupt(PADAPTER Adapter);
36 void rtl8192ce_xmit_tasklet(void *priv);
37 void rtl8192ce_recv_tasklet(void *priv);
38 void rtl8192ce_prepare_bcn_tasklet(void *priv);
39 void rtl8192ce_set_intf_ops(struct _io_ops *pops);
40 #define pci_set_intf_ops rtl8192ce_set_intf_ops
43 #ifdef CONFIG_RTL8192D
44 u32 rtl8192de_init_desc_ring(_adapter * padapter);
45 u32 rtl8192de_free_desc_ring(_adapter * padapter);
46 void rtl8192de_reset_desc_ring(_adapter * padapter);
47 #ifdef CONFIG_64BIT_DMA
48 u8 PlatformEnable92DEDMA64(PADAPTER Adapter);
50 int rtl8192de_interrupt(PADAPTER Adapter);
51 void rtl8192de_xmit_tasklet(void *priv);
52 void rtl8192de_recv_tasklet(void *priv);
53 void rtl8192de_prepare_bcn_tasklet(void *priv);
54 void rtl8192de_set_intf_ops(struct _io_ops *pops);
55 #define pci_set_intf_ops rtl8192de_set_intf_ops
56 u32 MpReadPCIDwordDBI8192D(IN PADAPTER Adapter, IN u16 Offset, IN u8 Direct);
57 void MpWritePCIDwordDBI8192D(IN PADAPTER Adapter, IN u16 Offset, IN u32 Value, IN u8 Direct);