Revision: 714
http://svn.sourceforge.net/hackndev/?rev=714&view=rev
Author: marex_z71
Date: 2006-12-26 10:56:46 -0800 (Tue, 26 Dec 2006)
Log Message:
-----------
l4p: Fix PCMCIA (CF) card identification on LD (SyChip 6061 is now
correctly identified by cardctl)
Modified Paths:
--------------
linux4palm/linux/trunk/drivers/pcmcia/pxa2xx_base.c
Modified: linux4palm/linux/trunk/drivers/pcmcia/pxa2xx_base.c
===================================================================
--- linux4palm/linux/trunk/drivers/pcmcia/pxa2xx_base.c 2006-12-24 21:17:48 UTC (rev 713)
+++ linux4palm/linux/trunk/drivers/pcmcia/pxa2xx_base.c 2006-12-26 18:56:46 UTC (rev 714)
@@ -197,7 +197,8 @@
MECR |= MECR_CIT;
/* Set MECR:NOS (Number Of Sockets) */
- if (nr > 1)
+ if (nr > 0) /* Dunno if this is ok,
+ but it fixes card detection */
MECR |= MECR_NOS;
else
MECR &= ~MECR_NOS;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|