-#if 1//defined(CONFIG_WIFI_CONTROL_FUNC)
+#if defined(CONFIG_WIFI_CONTROL_FUNC)
static struct wifi_platform_data rk29sdk_wifi_control = {
.set_power = rk29sdk_wifi_power,
.set_reset = rk29sdk_wifi_reset,
You will add the feature of write-protect for sdio-card if you say Yes.
Please note that this feature requires hardware support.
+ config RK29_SDIO_IRQ_FROM_GPIO
+ bool "sdio-irq from gpio"
+ default n
+ depends on SDMMC1_RK29
+ help
+ You will generate sdio interrupt from gpio if you say Yes.
+ Please note that this feature requires hardware support.
+
+
+
# config USE_SDMMC1_FOR_WIFI_DEVELOP_BOARD
# depends on SDMMC1_RK29
# bool "Switch the driver SDMMC1 for the debug of wifi_develop_board."
{
host->errorstep = 0xf2;
- if(12==host->cmd->opcode)
+ if(0) //(12==host->cmd->opcode)
{
printk(KERN_ERR "%d... cmd=%d(arg=0x%x),blksz=%d,blocks=%d,errorStep=0x%x,\n host->state=%x, statusReg=0x%x [%s]\n",\
__LINE__,host->mrq->cmd->opcode, host->mrq->cmd->arg, host->mrq->cmd->data->blksz, host->mrq->cmd->data->blocks,\