corsave = readb(local->attr_mem + local->cor_offset); 
corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset); 
static void prism2_plx_cor_sreset(local_info_t *local){	unsigned char corsave;	printk(KERN_DEBUG "%s: Doing reset via direct COR access.\n",	       dev_info);	/* Set sreset bit of COR and clear it after hold time */	if (local->attr_mem == NULL) {		/* TMD7160 - COR at card's first I/O addr */		corsave = inb(local->cor_offset);		outb(corsave | COR_SRESET, local->cor_offset);		mdelay(2);		outb(corsave & ~COR_SRESET, local->cor_offset);		mdelay(2);	} else {		/* PLX9052 */		corsave = readb(local->attr_mem + local->cor_offset);		writeb(corsave | COR_SRESET,		       local->attr_mem + local->cor_offset);		mdelay(2);		writeb(corsave & ~COR_SRESET,		       local->attr_mem + local->cor_offset);		mdelay(2);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/67e0e473fb54e7657f6604236e42ef07fd7a2768/hostap_plx.c/buggy/drivers/net/wireless/hostap/hostap_plx.c