if ((s->resource_setup_done) && 
if ((s->resource_setup_new) && 
int pcmcia_adjust_resource_info(adjust_t *adj){	struct pcmcia_socket *s;	int ret = CS_UNSUPPORTED_FUNCTION;	unsigned long flags;	down_read(&pcmcia_socket_list_rwsem);	list_for_each_entry(s, &pcmcia_socket_list, socket_list) {		if (adj->Resource == RES_IRQ)			ret = adjust_irq(s, adj);		else if (s->resource_ops->adjust_resource) {			/* you can't use the old interface if the new			 * one was used before */			spin_lock_irqsave(&s->lock, flags);			if ((s->resource_setup_done) &&			    !(s->resource_setup_old)) {				spin_unlock_irqrestore(&s->lock, flags);				continue;			} else if (!(s->resource_setup_old))				s->resource_setup_old = 1;			spin_unlock_irqrestore(&s->lock, flags);			ret = s->resource_ops->adjust_resource(s, adj);			if (!ret) {				/* as there's no way we know this is the				 * last call to adjust_resource_info, we				 * always need to assume this is the latest				 * one... */				spin_lock_irqsave(&s->lock, flags);				s->resource_setup_done = 1;				spin_unlock_irqrestore(&s->lock, flags);			}		}	}	up_read(&pcmcia_socket_list_rwsem);	return (ret);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3c29976a6469b81a7858812dc2d4b8430d74004a/rsrc_mgr.c/clean/drivers/pcmcia/rsrc_mgr.c