FW: TI1510 probelm - can you help direct me?

Pavel Roskin proski at gnu.org
Wed May 5 21:59:12 BST 2004


On Wed, 5 May 2004, Pavel Roskin wrote:

> All you need to do is to find out what i82365 does right but
> yenta_socket does wrong.

I compared the register dumps and found that the PCI config space between
0x28 and 0x3b should be cleaned.  This fixes the problem with USB.  The
patch is against 2.6.6-rc3, but you should be able to apply it manually to
the 2.4 kernel.

===================================
--- linux.orig/drivers/pcmcia/ti113x.h
+++ linux/drivers/pcmcia/ti113x.h
@@ -607,6 +607,11 @@
 	else
 		ti12xx_irqroute_func1(socket);

+	config_writel(socket, PCI_CB_IO_BASE_0, 0);
+	config_writel(socket, PCI_CB_IO_LIMIT_0, 0);
+	config_writel(socket, PCI_CB_IO_BASE_1, 0);
+	config_writel(socket, PCI_CB_IO_LIMIT_1, 0);
+
 	return ti_override(socket);
 }

===================================

I don't see where i82365 (pcmcia-cs) cleans those registers, but it does
clean them somewhere, and that fixes the USB problem.

-- 
Regards,
Pavel Roskin



More information about the linux-pcmcia mailing list