writeb(hcr, local->attr_mem + local->cor_offset + 2); 
writeb(hcr, hw_priv->attr_mem + hw_priv->cor_offset + 2); 
static void prism2_plx_genesis_reset(local_info_t *local, int hcr){	unsigned char corsave;	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(10);		outb(hcr, local->cor_offset + 2);		mdelay(10);		outb(corsave & ~COR_SRESET, local->cor_offset);		mdelay(10);	} else {		/* PLX9052 */		corsave = readb(local->attr_mem + local->cor_offset);		writeb(corsave | COR_SRESET,		       local->attr_mem + local->cor_offset);		mdelay(10);		writeb(hcr, local->attr_mem + local->cor_offset + 2);		mdelay(10);		writeb(corsave & ~COR_SRESET,		       local->attr_mem + local->cor_offset);		mdelay(10);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/67e0e473fb54e7657f6604236e42ef07fd7a2768/hostap_plx.c/buggy/drivers/net/wireless/hostap/hostap_plx.c