Re: Cardbus + Tulip + Kernel 2.3.99-6

From: Jan Kasprzak (kas@informatics.muni.cz)
Date: Tue May 16 2000 - 06:29:12 EST


Linus Torvalds wrote:
: > May 11 12:38:37 frodo kernel: cs: socket 0 timed out during reset
:
: This tends to be either a voltage mis-sense, or a card type mis-sense.
:
: > 00:0a.0 CardBus bridge: Texas Instruments PCI1250 (rev 02)
: > 00:0a.1 CardBus bridge: Texas Instruments PCI1250 (rev 02)
:
: Texas Instrument tends to be the one that gets the voltage wrong the
: easiest when the card is inserted at bootup. The driver tries to notice
: this automatically, but..

        Could you please try the following patch? It has fixed
the voltage problems for me (Compaq Armada M700, TI1450 bridge).
I think we should force the power sensing at the bridge initialization
time. My cardbus bridge reports 5V for any card inserted before the driver
is initialized.

-Yenya

--- linux/drivers/pcmcia/yenta.c.orig Sun May 14 21:40:08 2000
+++ linux/drivers/pcmcia/yenta.c Tue May 16 13:25:30 2000
@@ -570,9 +570,10 @@
          * Nothing inserted, nothing to sense..
          * ..or sense status already available.
          */
+#if 0
         if (status & (CB_CDETECT1 | CB_CDETECT2 | CB_5VCARD | CB_3VCARD | CB_XVCARD | CB_YVCARD))
                 return;
-
+#endif
         /*
          * Ho humm. It reports a card, but it doesn't report
          * any voltages. Need to redo the VS test..

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
/// Vite jak Microsoft vyrabi nezavirovana CD? ... ... ... Pouziva UNIX! \\\
//     http://support.microsoft.com/support/kb/articles/Q80/5/20.ASP      \\

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:10 EST