Commit f13c6f2f authored by Franky Lin's avatar Franky Lin Committed by Greg Kroah-Hartman

staging: brcm80211: remove iovars IOV_HISPEED

Remove unused sdio related iovars IOV_HISPEED for fullmac driver
Signed-off-by: default avatarFranky Lin <frankyl@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Reviewed-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 602a8ab7
...@@ -365,8 +365,5 @@ void bcmsdh_unregister_oob_intr(void) ...@@ -365,8 +365,5 @@ void bcmsdh_unregister_oob_intr(void)
extern uint sd_msglevel; /* Debug message level */ extern uint sd_msglevel; /* Debug message level */
module_param(sd_msglevel, uint, 0); module_param(sd_msglevel, uint, 0);
extern uint sd_hiok; /* Ok to use hi-speed mode */
module_param(sd_hiok, uint, 0);
extern uint sd_f2_blocksize; extern uint sd_f2_blocksize;
module_param(sd_f2_blocksize, int, 0); module_param(sd_f2_blocksize, int, 0);
...@@ -47,7 +47,6 @@ extern PBCMSDH_SDMMC_INSTANCE gInstance; ...@@ -47,7 +47,6 @@ extern PBCMSDH_SDMMC_INSTANCE gInstance;
uint sd_f2_blocksize = 512; /* Default blocksize */ uint sd_f2_blocksize = 512; /* Default blocksize */
uint sd_hiok = false; /* Don't use hi-speed mode by default */
uint sd_msglevel = 0x01; uint sd_msglevel = 0x01;
DHD_PM_RESUME_WAIT_INIT(sdioh_request_byte_wait); DHD_PM_RESUME_WAIT_INIT(sdioh_request_byte_wait);
DHD_PM_RESUME_WAIT_INIT(sdioh_request_word_wait); DHD_PM_RESUME_WAIT_INIT(sdioh_request_word_wait);
...@@ -349,7 +348,6 @@ enum { ...@@ -349,7 +348,6 @@ enum {
IOV_USEINTS, IOV_USEINTS,
IOV_NUMINTS, IOV_NUMINTS,
IOV_DEVREG, IOV_DEVREG,
IOV_HISPEED,
IOV_HCIREGS, IOV_HCIREGS,
IOV_RXCHAIN IOV_RXCHAIN
}; };
...@@ -362,8 +360,6 @@ const bcm_iovar_t sdioh_iovars[] = { ...@@ -362,8 +360,6 @@ const bcm_iovar_t sdioh_iovars[] = {
{"sd_numints", IOV_NUMINTS, 0, IOVT_UINT32, 0}, {"sd_numints", IOV_NUMINTS, 0, IOVT_UINT32, 0},
{"sd_devreg", IOV_DEVREG, 0, IOVT_BUFFER, sizeof(sdreg_t)} {"sd_devreg", IOV_DEVREG, 0, IOVT_BUFFER, sizeof(sdreg_t)}
, ,
{"sd_highspeed", IOV_HISPEED, 0, IOVT_UINT32, 0}
,
{"sd_rxchain", IOV_RXCHAIN, 0, IOVT_BOOL, 0} {"sd_rxchain", IOV_RXCHAIN, 0, IOVT_BOOL, 0}
, ,
{NULL, 0, 0, 0, 0} {NULL, 0, 0, 0, 0}
...@@ -494,15 +490,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name, ...@@ -494,15 +490,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name,
break; break;
case IOV_GVAL(IOV_HISPEED):
int_val = (u32) sd_hiok;
memcpy(arg, &int_val, val_size);
break;
case IOV_SVAL(IOV_HISPEED):
sd_hiok = int_val;
break;
case IOV_GVAL(IOV_NUMINTS): case IOV_GVAL(IOV_NUMINTS):
int_val = (s32) si->intrcount; int_val = (s32) si->intrcount;
memcpy(arg, &int_val, val_size); memcpy(arg, &int_val, val_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment