Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 1998 15:16:24 +0100 (CET)
From:      Etienne de Bruin <Etienne.Debruin@KryptoKom.DE>
To:        freebsd-hackers@FreeBSD.ORG (Hackers FreeBSD), questions@FreeBSD.ORG (FreeBSD Mailing List)
Subject:   waiting in device driver
Message-ID:  <199811041416.PAA04355@borg.kryptokom.de>

next in thread | raw e-mail | index | archive | help
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?

eT
-- 
Etienne de Bruin, KryptoKom(R), Germany, http://www.kryptokom.de/
eT@kryptokom.de or edebruin@iname.com +49 241 963 2635(w)
"i'll pluck the thorns out from your feet, you and me" - rem, be mine.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811041416.PAA04355>