PERFORCE change 123060 for review
Rui Paulo
rpaulo at FreeBSD.org
Sat Jul 7 14:27:25 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123060
Change 123060 by rpaulo at 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
More information about the p4-projects
mailing list