reg.Value = local->link->io.BasePort1 & 0x00ff; res = pcmcia_access_configuration_register(local->link->handle, &reg); 
reg.Value = hw_priv->link->io.BasePort1 & 0x00ff; res = pcmcia_access_configuration_register(hw_priv->link->handle, &reg); 
static void sandisk_set_iobase(local_info_t *local){	int res;	conf_reg_t reg;	reg.Function = 0;	reg.Action = CS_WRITE;	reg.Offset = 0x10; /* 0x3f0 IO base 1 */	reg.Value = local->link->io.BasePort1 & 0x00ff;	res = pcmcia_access_configuration_register(local->link->handle, &reg);	if (res != CS_SUCCESS) {		printk(KERN_DEBUG "Prism3 SanDisk - failed to set I/O base 0 -"		       " res=%d\n", res);	}	udelay(10);	reg.Function = 0;	reg.Action = CS_WRITE;	reg.Offset = 0x12; /* 0x3f2 IO base 2 */	reg.Value = (local->link->io.BasePort1 & 0xff00) >> 8;	res = pcmcia_access_configuration_register(local->link->handle, &reg);	if (res != CS_SUCCESS) {		printk(KERN_DEBUG "Prism3 SanDisk - failed to set I/O base 1 -"		       " res=%d\n", res);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/67e0e473fb54e7657f6604236e42ef07fd7a2768/hostap_cs.c/clean/drivers/net/wireless/hostap/hostap_cs.c