return; 
static void yenta_allocate_res(struct yenta_socket *socket, int nr, unsigned type, int addr_start, int addr_end){	struct pci_bus *bus;	struct resource *root, *res;	u32 start, end;	unsigned mask;	res = socket->dev->resource + PCI_BRIDGE_RESOURCES + nr;	/* Already allocated? */	if (res->parent)		return;	/* The granularity of the memory limit is 4kB, on IO it's 4 bytes */	mask = ~0xfff;	if (type & IORESOURCE_IO)		mask = ~3;	bus = socket->dev->subordinate;	res->name = bus->name;	res->flags = type;	start = config_readl(socket, addr_start) & mask;	end = config_readl(socket, addr_end) | ~mask;	if (start && end > start && !override_bios) {		res->start = start;		res->end = end;		root = pci_find_parent_resource(socket->dev, res);		if (root && (request_resource(root, res) == 0))			return;		printk(KERN_INFO "yenta %s: Preassigned resource %d busy or not available, reconfiguring...\n",				pci_name(socket->dev), nr);	}	if (type & IORESOURCE_IO) {		if ((yenta_search_res(socket, res, BRIDGE_IO_MAX)) ||		    (yenta_search_res(socket, res, BRIDGE_IO_ACC)) ||		    (yenta_search_res(socket, res, BRIDGE_IO_MIN))) {			config_writel(socket, addr_start, res->start);			config_writel(socket, addr_end, res->end);		}	} else {		if (type & IORESOURCE_PREFETCH) {			if ((yenta_search_res(socket, res, BRIDGE_MEM_MAX)) ||			    (yenta_search_res(socket, res, BRIDGE_MEM_ACC)) ||			    (yenta_search_res(socket, res, BRIDGE_MEM_MIN))) {				config_writel(socket, addr_start, res->start);				config_writel(socket, addr_end, res->end);			}			/* Approximating prefetchable by non-prefetchable */			res->flags = IORESOURCE_MEM;		}		if ((yenta_search_res(socket, res, BRIDGE_MEM_MAX)) ||		    (yenta_search_res(socket, res, BRIDGE_MEM_ACC)) ||		    (yenta_search_res(socket, res, BRIDGE_MEM_MIN))) {			config_writel(socket, addr_start, res->start);			config_writel(socket, addr_end, res->end);		}	}	printk(KERN_INFO "yenta %s: no resource of type %x available, trying to continue...\n",	       pci_name(socket->dev), type);	res->start = res->end = res->flags = 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f7d1d23c301e0ce82c801f3b5800be6341752a1f/yenta_socket.c/buggy/drivers/pcmcia/yenta_socket.c