[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-tr] ThinkPad 760 problems - cause & workaround



Thanks to Dave Hinds, author of the Linux PCMCIA card services, the
"ASB error" problem appears to be caused by the Texas Instruments
PCI1130 CardBus controller.

A workaround is to edit the i82365.c file in the PCMCIA package and
comment out (or delete) the line in cb_set_opts which reads,

     t->bcr |= CB_BCR_WRITE_POST;

I have attached a patch which does this.
-- 
========================================================================
Ian Pilcher                                       pilcher@concentric.net
========================================================================
--- i82365.c-orig	Fri Jun 11 22:38:54 1999
+++ i82365.c	Fri Jun 11 22:41:24 1999
@@ -1094,7 +1094,7 @@
 static void cb_set_opts(u_short s, char *buf)
 {
     socket_info_t *t = &socket[s];
-    t->bcr |= CB_BCR_WRITE_POST;
+/*    t->bcr |= CB_BCR_WRITE_POST;	*/
     if (t->cache == 0) t->cache = 8;
     if (pci_latency >= 0) t->pci_lat = pci_latency;
     if (t->pci_lat == 0) t->pci_lat = 0xa8;