config_writel(socket, PCI_BASE_ADDRESS_0, dev->resource[0].start); 
config_writel(socket, PCI_BASE_ADDRESS_0, region.start); 
static void yenta_config_init(struct yenta_socket *socket){	u16 bridge;	struct pci_dev *dev = socket->dev;	pci_set_power_state(socket->dev, 0);	config_writel(socket, CB_LEGACY_MODE_BASE, 0);	config_writel(socket, PCI_BASE_ADDRESS_0, dev->resource[0].start);	config_writew(socket, PCI_COMMAND,			PCI_COMMAND_IO |			PCI_COMMAND_MEMORY |			PCI_COMMAND_MASTER |			PCI_COMMAND_WAIT);	/* MAGIC NUMBERS! Fixme */	config_writeb(socket, PCI_CACHE_LINE_SIZE, L1_CACHE_BYTES / 4);	config_writeb(socket, PCI_LATENCY_TIMER, 168);	config_writel(socket, PCI_PRIMARY_BUS,		(176 << 24) |			   /* sec. latency timer */		(dev->subordinate->subordinate << 16) | /* subordinate bus */		(dev->subordinate->secondary << 8) |  /* secondary bus */		dev->subordinate->primary);		   /* primary bus */	/*	 * Set up the bridging state:	 *  - enable write posting.	 *  - memory window 0 prefetchable, window 1 non-prefetchable	 *  - PCI interrupts enabled if a PCI interrupt exists..	 */	bridge = config_readw(socket, CB_BRIDGE_CONTROL);	bridge &= ~(CB_BRIDGE_CRST | CB_BRIDGE_PREFETCH1 | CB_BRIDGE_ISAEN | CB_BRIDGE_VGAEN);	bridge |= CB_BRIDGE_PREFETCH0 | CB_BRIDGE_POSTEN;	config_writew(socket, CB_BRIDGE_CONTROL, bridge);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8e5d17ebe41eb98a538ef13aad36da5136701aab/yenta_socket.c/buggy/drivers/pcmcia/yenta_socket.c