mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove CONFIG_IOL
This parameter is defined by default. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
f7d31c956e
commit
1155811fcf
13 changed files with 1 additions and 58 deletions
|
@ -31,13 +31,11 @@
|
|||
#include <rtw_ioctl_set.h>
|
||||
#include <rtw_ioctl_query.h>
|
||||
#include <mlme_osdep.h>
|
||||
|
||||
#include <rtw_mp_ioctl.h>
|
||||
|
||||
#include <usb_ops.h>
|
||||
#include <rtw_version.h>
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include <rtw_iol.h>
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
|
||||
#define iwe_stream_add_event(a, b, c, d, e) iwe_stream_add_event(b, c, d, e)
|
||||
|
@ -5816,9 +5814,6 @@ static void rf_reg_dump(struct adapter *padapter)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IOL
|
||||
#include <rtw_iol.h>
|
||||
#endif
|
||||
static int rtw_dbg_port(struct net_device *dev,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *wrqu, char *extra)
|
||||
|
@ -5912,7 +5907,6 @@ static int rtw_dbg_port(struct net_device *dev,
|
|||
case 0x78: /* IOL test */
|
||||
switch(minor_cmd)
|
||||
{
|
||||
#ifdef CONFIG_IOL
|
||||
case 0x04: /* LLT table initialization test */
|
||||
{
|
||||
u8 page_boundary = 0xf9;
|
||||
|
@ -6053,7 +6047,6 @@ static int rtw_dbg_port(struct net_device *dev,
|
|||
}
|
||||
}
|
||||
break;
|
||||
#endif /* CONFIG_IOL */
|
||||
}
|
||||
break;
|
||||
case 0x79:
|
||||
|
@ -8113,9 +8106,7 @@ static int rtw_mp_efuse_get(struct net_device *dev,
|
|||
u16 i=0, j=0, mapLen=0, addr=0, cnts=0;
|
||||
u16 max_available_size=0, raw_cursize=0, raw_maxsize=0;
|
||||
int err;
|
||||
#ifdef CONFIG_IOL
|
||||
u8 org_fw_iol = padapter->registrypriv.fw_iol;/* 0:Disable, 1:enable, 2:by usb speed */
|
||||
#endif
|
||||
|
||||
wrqu = (struct iw_point*)wdata;
|
||||
pwrctrlpriv = adapter_to_pwrctl(padapter);
|
||||
|
@ -8157,9 +8148,7 @@ static int rtw_mp_efuse_get(struct net_device *dev,
|
|||
tmp[i] = token;
|
||||
i++;
|
||||
}
|
||||
#ifdef CONFIG_IOL
|
||||
padapter->registrypriv.fw_iol = 0;/* 0:Disable, 1:enable, 2:by usb speed */
|
||||
#endif
|
||||
|
||||
if(strcmp(tmp[0], "status") == 0){
|
||||
sprintf(extra, "Load File efuse=%s,Load File MAC=%s",(pEEPROM->bloadfile_fail_flag? "FAIL" : "OK"),(pEEPROM->bloadmac_fail_flag? "FAIL" : "OK"));
|
||||
|
@ -8629,9 +8618,7 @@ exit:
|
|||
|
||||
rtw_pm_set_ips(padapter, ips_mode);
|
||||
rtw_pm_set_lps(padapter, lps_mode);
|
||||
#ifdef CONFIG_IOL
|
||||
padapter->registrypriv.fw_iol = org_fw_iol;/* 0:Disable, 1:enable, 2:by usb speed */
|
||||
#endif
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
|
@ -220,11 +220,9 @@ static uint rtw_max_roaming_times=2;
|
|||
module_param(rtw_max_roaming_times, uint, 0644);
|
||||
MODULE_PARM_DESC(rtw_max_roaming_times,"The max roaming times to try");
|
||||
|
||||
#ifdef CONFIG_IOL
|
||||
static int rtw_fw_iol=1;/* 0:Disable, 1:enable, 2:by usb speed */
|
||||
module_param(rtw_fw_iol, int, 0644);
|
||||
MODULE_PARM_DESC(rtw_fw_iol,"FW IOL");
|
||||
#endif /* CONFIG_IOL */
|
||||
|
||||
#ifdef CONFIG_FILE_FWIMG
|
||||
static char *rtw_fw_file_path= "";
|
||||
|
@ -369,9 +367,7 @@ static uint loadparam( struct adapter *padapter, _nic_hdl pnetdev)
|
|||
registry_par->max_roaming_times = (u8)rtw_max_roaming_times + 2;
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
|
||||
#ifdef CONFIG_IOL
|
||||
registry_par->fw_iol = rtw_fw_iol;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_80211D
|
||||
registry_par->enable80211d = (u8)rtw_80211d;
|
||||
|
|
|
@ -748,14 +748,12 @@ static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message)
|
|||
DBG_871X("==> %s (%s:%d)\n",__FUNCTION__, current->comm, current->pid);
|
||||
|
||||
|
||||
#ifdef CONFIG_IOL
|
||||
if(!padapter->bup){
|
||||
u8 bMacPwrCtrlOn = false;
|
||||
rtw_hal_get_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn);
|
||||
if(bMacPwrCtrlOn)
|
||||
rtw_hal_power_off(padapter);
|
||||
}
|
||||
#endif
|
||||
|
||||
if((!padapter->bup) || (padapter->bDriverStopped)||(padapter->bSurpriseRemoved))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue