rtl8188eu: Remove CONFIG_IOL

This parameter is defined by default.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-01 10:36:23 -06:00
parent f7d31c956e
commit 1155811fcf
13 changed files with 1 additions and 58 deletions

View file

@ -500,14 +500,12 @@ bool rtw_hal_sreset_inprogress(struct adapter *padapter)
}
#endif /* DBG_CONFIG_ERROR_DETECT */
#ifdef CONFIG_IOL
int rtw_hal_iol_cmd(struct adapter *adapter, struct xmit_frame *xmit_frame, u32 max_wating_ms, u32 bndy_cnt)
{
if(adapter->HalFunc.IOL_exec_cmds_sync)
return adapter->HalFunc.IOL_exec_cmds_sync(adapter, xmit_frame, max_wating_ms,bndy_cnt);
return _FAIL;
}
#endif
#ifdef CONFIG_XMIT_THREAD_MODE
s32 rtw_hal_xmit_thread_handler(struct adapter *padapter)

View file

@ -26,7 +26,6 @@
#include <rtw_iol.h>
#if defined(CONFIG_IOL)
#include <usb_ops.h>
static void iol_mode_enable(struct adapter *padapter, u8 enable)
@ -515,9 +514,6 @@ void rtw_IOL_cmd_tx_pkt_buf_dump(struct adapter *Adapter,int data_len)
printk("###### %s ######\n",__FUNCTION__);
}
#endif /* defined(CONFIG_IOL) */
static void
_FWDownloadEnable(
IN struct adapter * padapter,
@ -1427,7 +1423,6 @@ ReadEFuseByIC(
u8 logical_map[512];
#endif
#ifdef CONFIG_IOL
if(!bPseudoTest )/* rtw_IOL_applied(Adapter)) */
{
int ret = _FAIL;
@ -1447,7 +1442,6 @@ ReadEFuseByIC(
goto exit;
}
}
#endif
Hal_EfuseReadEFuse88E(Adapter, _offset, _size_byte, pbuf, bPseudoTest);
exit:
@ -2797,12 +2791,9 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
pHalFunc->xmit_thread_handler = &hal_xmit_handler;
#endif
#ifdef CONFIG_IOL
pHalFunc->IOL_exec_cmds_sync = &rtl8188e_IOL_exec_cmds_sync;
#endif
pHalFunc->hal_notch_filter = &hal_notch_filter_8188e;
}
u8 GetEEPROMSize8188E(struct adapter *padapter)

View file

@ -22,14 +22,9 @@
#include <drv_conf.h>
#include <osdep_service.h>
#include <drv_types.h>
#ifdef CONFIG_IOL
#include <rtw_iol.h>
#endif
#include <rtl8188e_hal.h>
/*---------------------------Define Local Constant---------------------------*/
/* Channel switch:The size of command tables for switch channel*/
#define MAX_PRECMD_CNT 16

View file

@ -26,11 +26,7 @@
#include <rtl8188e_hal.h>
#include <rtl8188e_led.h>
#ifdef CONFIG_IOL
#include <rtw_iol.h>
#endif
#include <usb_ops.h>
#include <usb_hal.h>
#include <usb_osintf.h>
@ -1461,13 +1457,11 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_RF);
#endif
HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_EFUSE_PATCH);
#if defined(CONFIG_IOL)
status = rtl8188e_iol_efuse_patch(Adapter);
if(status == _FAIL){
DBG_871X("%s rtl8188e_iol_efuse_patch failed \n",__FUNCTION__);
goto exit;
}
#endif
_InitTxBufferBoundary(Adapter, txpktbuf_bndy);