From owner-cvs-all Tue Apr 9 20:27:15 2002 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 4008837B400; Tue, 9 Apr 2002 20:27:11 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.2/8.11.6) with ESMTP id g3A3R9oi027943; Wed, 10 Apr 2002 04:27:10 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.2/8.12.2) with ESMTP id g3A3R7OF022218; Wed, 10 Apr 2002 04:27:08 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200204100327.g3A3R7OF022218@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/digi digi.c In-Reply-To: Message from Brian Somers of "Tue, 09 Apr 2002 20:13:28 PDT." <200204100313.g3A3DSt33125@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Apr 2002 04:27:07 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > brian 2002/04/09 20:13:28 PDT > > Modified files: > sys/dev/digi digi.c > Log: > Add a digi_delay() function and use it instead of tsleep() when polling > the card for command completion. > > digi_delay() uses either tsleep() or DELAY() depending on the value of > ``cold''. > > Pointed in the right direction by: jhb > > Revision Changes Path > 1.25 +14 -5 src/sys/dev/digi/digi.c After this change, it's possible to either build digi and whatever digi_* drivers you need into the kernel, or to kldload them at boot time. -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message