From owner-freebsd-questions Wed Nov 4 06:21:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00322 for freebsd-questions-outgoing; Wed, 4 Nov 1998 06:21:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA00317; Wed, 4 Nov 1998 06:21:20 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id NAA18582; Wed, 4 Nov 1998 13:19:22 +0100 From: Luigi Rizzo Message-Id: <199811041219.NAA18582@labinfo.iet.unipi.it> Subject: Re: waiting in device driver To: Etienne.Debruin@KryptoKom.DE (Etienne de Bruin) Date: Wed, 4 Nov 1998 13:19:22 +0100 (MET) Cc: freebsd-hackers@FreeBSD.ORG, questions@FreeBSD.ORG In-Reply-To: <199811041416.PAA04355@borg.kryptokom.de> from "Etienne de Bruin" at Nov 4, 98 03:16:05 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > which is the best way to wait for the DMA routines of a card to complete? > should one go in a while loop and test a flag (which gets set by the > interrupt handler once completed) or should i go for the tsleep option? do you need to ask ??? luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message