mdelay(local->sandisk_connectplus ? 5 : 2);
mdelay(hw_priv->sandisk_connectplus ? 5 : 2);
static void prism2_pccard_cor_sreset(local_info_t *local){	int res;	conf_reg_t reg;	if (!prism2_pccard_card_present(local))	       return;	reg.Function = 0;	reg.Action = CS_READ;	reg.Offset = CISREG_COR;	reg.Value = 0;	res = pcmcia_access_configuration_register(local->link->handle, &reg);	if (res != CS_SUCCESS) {		printk(KERN_DEBUG "prism2_pccard_cor_sreset failed 1 (%d)\n",		       res);		return;	}	printk(KERN_DEBUG "prism2_pccard_cor_sreset: original COR %02x\n",	       reg.Value);	reg.Action = CS_WRITE;	reg.Value |= COR_SOFT_RESET;	res = pcmcia_access_configuration_register(local->link->handle, &reg);	if (res != CS_SUCCESS) {		printk(KERN_DEBUG "prism2_pccard_cor_sreset failed 2 (%d)\n",		       res);		return;	}	mdelay(local->sandisk_connectplus ? 5 : 2);	reg.Value &= ~COR_SOFT_RESET;	if (local->sandisk_connectplus)		reg.Value |= COR_IREQ_ENA;	res = pcmcia_access_configuration_register(local->link->handle, &reg);	if (res != CS_SUCCESS) {		printk(KERN_DEBUG "prism2_pccard_cor_sreset failed 3 (%d)\n",		       res);		return;	}	mdelay(local->sandisk_connectplus ? 5 : 2);	if (local->sandisk_connectplus)		sandisk_set_iobase(local);}