Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2007 14:27:24 GMT
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 123060 for review
Message-ID:  <200707071427.l67EROsX013599@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123060

Change 123060 by rpaulo@rpaulo_epsilon on 2007/07/07 14:27:09

	Increase the delays in asmc_init().
	Sometimes the SMS fails to init because it needs more time.	

Affected files ...

.. //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#23 edit

Differences ...

==== //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#23 (text+ko) ====

@@ -23,7 +23,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#22 $
+ * $P4: //depot/projects/soc2007/rpaulo-macbook/dev/asmc/asmc.c#23 $
  *
  */
 
@@ -460,21 +460,21 @@
 	 */
 	buf[0] = 20; /* msecs */
 	asmc_key_write(dev, ASMC_KEY_SMS_LOW_INT, buf, 1);
-	DELAY(150);
+	DELAY(200);
 
 	buf[0] = 20; /* msecs */
 	asmc_key_write(dev, ASMC_KEY_SMS_HIGH_INT, buf, 1);
-	DELAY(150);
+	DELAY(200);
 
 	buf[0] = 0x00;
 	buf[1] = 0x60;
 	asmc_key_write(dev, ASMC_KEY_SMS_LOW, buf, 2);
-	DELAY(150);
+	DELAY(200);
 
 	buf[0] = 0x01;
 	buf[1] = 0xc0;
 	asmc_key_write(dev, ASMC_KEY_SMS_HIGH, buf, 2);
-	DELAY(150);
+	DELAY(200);
 
 	/*
 	 * I'm not sure what this key does, but it seems to be



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707071427.l67EROsX013599>