From owner-freebsd-current@FreeBSD.ORG Thu Jul 10 10:40:32 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27D1F37B404 for ; Thu, 10 Jul 2003 10:40:32 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 67A0B43FA3 for ; Thu, 10 Jul 2003 10:40:29 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 5852 invoked by uid 1000); 10 Jul 2003 17:40:30 -0000 Date: Thu, 10 Jul 2003 10:40:30 -0700 (PDT) From: Nate Lawson To: John Baldwin In-Reply-To: Message-ID: <20030710103743.G5826@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: acpi-jp@jp.freebsd.org cc: current@freebsd.org Subject: RE: PATCH - updated EC driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 17:40:32 -0000 On Wed, 9 Jul 2003, John Baldwin wrote: > Yes, this gets rid of the message at boot times. I do get some of these messages > while the system is running, but I used to receive those erros before. The only > difference is that now the error code is AE_NO_HARDWARE_RESPONSE rather than > AE_ERROR. Ok, I have committed the patch and the default behavior is to wait up to 50 ms instead of 10 ms (which was the previous default). For waits longer than 1 ms, msleep is used instead of DELAY. I'm hoping 50 ms is enough to even get rid of your occasional timeouts. I changed the error code to be more descriptive than AE_ERROR so that is intentional. Let me know if there are any problems. -Nate