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

staging: brcm80211: remove iovars IOV_DMA

Remove unused sdio related iovars IOV_DMA 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 404b3286
...@@ -54,7 +54,6 @@ uint sd_power = 1; /* Default to SD Slot powered ON */ ...@@ -54,7 +54,6 @@ uint sd_power = 1; /* Default to SD Slot powered ON */
uint sd_clock = 1; /* Default to SD Clock turned ON */ uint sd_clock = 1; /* Default to SD Clock turned ON */
uint sd_hiok = false; /* Don't use hi-speed mode by default */ uint sd_hiok = false; /* Don't use hi-speed mode by default */
uint sd_msglevel = 0x01; uint sd_msglevel = 0x01;
uint sd_use_dma = true;
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);
DHD_PM_RESUME_WAIT_INIT(sdioh_request_packet_wait); DHD_PM_RESUME_WAIT_INIT(sdioh_request_packet_wait);
...@@ -352,7 +351,6 @@ uint sdioh_query_iofnum(sdioh_info_t *sd) ...@@ -352,7 +351,6 @@ uint sdioh_query_iofnum(sdioh_info_t *sd)
enum { enum {
IOV_MSGLEVEL = 1, IOV_MSGLEVEL = 1,
IOV_BLOCKSIZE, IOV_BLOCKSIZE,
IOV_DMA,
IOV_USEINTS, IOV_USEINTS,
IOV_NUMINTS, IOV_NUMINTS,
IOV_NUMLOCALINTS, IOV_NUMLOCALINTS,
...@@ -371,7 +369,6 @@ const bcm_iovar_t sdioh_iovars[] = { ...@@ -371,7 +369,6 @@ const bcm_iovar_t sdioh_iovars[] = {
{"sd_msglevel", IOV_MSGLEVEL, 0, IOVT_UINT32, 0}, {"sd_msglevel", IOV_MSGLEVEL, 0, IOVT_UINT32, 0},
{"sd_blocksize", IOV_BLOCKSIZE, 0, IOVT_UINT32, 0},/* ((fn << 16) | {"sd_blocksize", IOV_BLOCKSIZE, 0, IOVT_UINT32, 0},/* ((fn << 16) |
size) */ size) */
{"sd_dma", IOV_DMA, 0, IOVT_BOOL, 0},
{"sd_ints", IOV_USEINTS, 0, IOVT_BOOL, 0}, {"sd_ints", IOV_USEINTS, 0, IOVT_BOOL, 0},
{"sd_numints", IOV_NUMINTS, 0, IOVT_UINT32, 0}, {"sd_numints", IOV_NUMINTS, 0, IOVT_UINT32, 0},
{"sd_numlocalints", IOV_NUMLOCALINTS, 0, IOVT_UINT32, 0}, {"sd_numlocalints", IOV_NUMLOCALINTS, 0, IOVT_UINT32, 0},
...@@ -505,15 +502,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name, ...@@ -505,15 +502,6 @@ sdioh_iovar_op(sdioh_info_t *si, const char *name,
memcpy(arg, &int_val, val_size); memcpy(arg, &int_val, val_size);
break; break;
case IOV_GVAL(IOV_DMA):
int_val = (s32) si->sd_use_dma;
memcpy(arg, &int_val, val_size);
break;
case IOV_SVAL(IOV_DMA):
si->sd_use_dma = (bool) int_val;
break;
case IOV_GVAL(IOV_USEINTS): case IOV_GVAL(IOV_USEINTS):
int_val = (s32) si->use_client_ints; int_val = (s32) si->use_client_ints;
memcpy(arg, &int_val, val_size); memcpy(arg, &int_val, val_size);
......
...@@ -85,7 +85,6 @@ struct sdioh_info { ...@@ -85,7 +85,6 @@ struct sdioh_info {
uint irq; /* Client irq */ uint irq; /* Client irq */
int intrcount; /* Client interrupts */ int intrcount; /* Client interrupts */
bool sd_use_dma; /* DMA on CMD53 */
bool sd_blockmode; /* sd_blockmode == false => 64 Byte Cmd 53s. */ bool sd_blockmode; /* sd_blockmode == false => 64 Byte Cmd 53s. */
/* Must be on for sd_multiblock to be effective */ /* Must be on for sd_multiblock to be effective */
bool use_client_ints; /* If this is false, make sure to restore */ bool use_client_ints; /* If this is false, make sure to restore */
......
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