From owner-acpi-jp@jp.FreeBSD.org Fri Jul 11 02:40:35 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h6AHeZk03511;
	Fri, 11 Jul 2003 02:40:35 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from rootlabs.com (root.org [67.118.192.226])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with SMTP/inet id h6AHeYT03506
	for <acpi-jp@jp.freebsd.org>; Fri, 11 Jul 2003 02:40:35 +0900 (JST)
	(envelope-from nate@rootlabs.com)
Received: (qmail 5852 invoked by uid 1000); 10 Jul 2003 17:40:30 -0000
From: Nate Lawson <nate@root.org>
To: John Baldwin <jhb@freebsd.org>
cc: current@freebsd.org, acpi-jp@jp.FreeBSD.org
In-Reply-To: <XFMail.20030709174714.jhb@FreeBSD.org>
Message-ID: <20030710103743.G5826@root.org>
References: <XFMail.20030709174714.jhb@FreeBSD.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 10 Jul 2003 10:40:30 -0700
X-Sequence: acpi-jp 2406
Subject: [acpi-jp 2406] RE: PATCH - updated EC driver
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: nate@root.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030702

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

