Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2011 10:55:23 -0700
From:      David Somayajulu <david.somayajulu@qlogic.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org>, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   Choosing between DELAY(useconds) and pause()
Message-ID:  <75E1A2A7D185F841A975979B0906BBA67BCCAB7609@AVEXMB1.qlogic.org>

next in thread | raw e-mail | index | archive | help
It appears that the pause() function cannot be used in driver functions whi=
ch are invoked early in the boot process. Is there is a kernel api which a =
device driver can use to determine whether to use pause() or DELAY(), for d=
elays which are say greater than 10hz - may be even 1 hz ?

Cheers,
David S.


________________________________
This message and any attached documents contain information from QLogic Cor=
poration or its wholly-owned subsidiaries that may be confidential. If you =
are not the intended recipient, you may not read, copy, distribute, or use =
this information. If you have received this transmission in error, please n=
otify the sender immediately by reply e-mail and then delete this message.



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