 /* * for EnE bridges only: clear testbit TLTEnable. this makes the * RME Hammerfall DSP sound card working. */ if (socket->dev->vendor == PCI_VENDOR_ID_ENE) { u8 test_c9 = config_readb(socket, ENE_TEST_C9); test_c9 &= ~ENE_TEST_C9_TLTENABLE; config_writeb(socket, ENE_TEST_C9, test_c9); } 
static int ti12xx_override(struct yenta_socket *socket){	u32 val, val_orig;	/* make sure that memory burst is active */	val_orig = val = config_readl(socket, TI113X_SYSTEM_CONTROL);	if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) {		printk(KERN_INFO "Yenta: Disabling CLKRUN feature\n");		val |= TI113X_SCR_KEEPCLK;	}	if (!(val & TI122X_SCR_MRBURSTUP)) {		printk(KERN_INFO "Yenta: Enabling burst memory read transactions\n");		val |= TI122X_SCR_MRBURSTUP;	}	if (val_orig != val)		config_writel(socket, TI113X_SYSTEM_CONTROL, val);	/*	 * for EnE bridges only: clear testbit TLTEnable. this makes the	 * RME Hammerfall DSP sound card working.	 */	if (socket->dev->vendor == PCI_VENDOR_ID_ENE) {		u8 test_c9 = config_readb(socket, ENE_TEST_C9);		test_c9 &= ~ENE_TEST_C9_TLTENABLE;		config_writeb(socket, ENE_TEST_C9, test_c9);	}	/*	 * Yenta expects controllers to use CSCINT to route	 * CSC interrupts to PCI rather than INTVAL.	 */	val = config_readb(socket, TI1250_DIAGNOSTIC);	printk(KERN_INFO "Yenta: Using %s to route CSC interrupts to PCI\n",		(val & TI1250_DIAG_PCI_CSC) ? "CSCINT" : "INTVAL");	printk(KERN_INFO "Yenta: Routing CardBus interrupts to %s\n",		(val & TI1250_DIAG_PCI_IREQ) ? "PCI" : "ISA");	/* do irqrouting, depending on function */	if (PCI_FUNC(socket->dev->devfn) == 0)		ti12xx_irqroute_func0(socket);	else		ti12xx_irqroute_func1(socket);	/* install power hook */	socket->socket.power_hook = ti12xx_power_hook;	return ti_override(socket);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8c3520d4eb3b1bbf2e45fbae8dcfb8db06d5e775/ti113x.h/clean/drivers/pcmcia/ti113x.h