From owner-p4-projects@FreeBSD.ORG Sat Jul 7 14:27:25 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3118816A469; Sat, 7 Jul 2007 14:27:25 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0911E16A400 for ; Sat, 7 Jul 2007 14:27:25 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id EC7CB13C44B for ; Sat, 7 Jul 2007 14:27:24 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l67ERONq013602 for ; Sat, 7 Jul 2007 14:27:24 GMT (envelope-from rpaulo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l67EROsX013599 for perforce@freebsd.org; Sat, 7 Jul 2007 14:27:24 GMT (envelope-from rpaulo@FreeBSD.org) Date: Sat, 7 Jul 2007 14:27:24 GMT Message-Id: <200707071427.l67EROsX013599@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rpaulo@FreeBSD.org using -f From: Rui Paulo To: Perforce Change Reviews Cc: Subject: PERFORCE change 123060 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 14:27:25 -0000 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