Re: Choosing between DELAY(useconds) and pause()
if (cold)
DELAY()
else
pause()
On Sep 22, 2011, at 11:55 AM, David Somayajulu wrote:
> It appears that the pause() function cannot be used in driver =
functions which 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 delays which are say greater than 10hz - may be =
even 1 hz ?
>=20
> Cheers,
> David S.
>=20
>=20
> ________________________________
> This message and any attached documents contain information from =
QLogic Corporation 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 notify the sender immediately by reply =
e-mail and then delete this message.
> _______________________________________________
> freebsd-drivers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to =
"freebsd-drivers-unsubscribe@freebsd.org"
>=20
>=20
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 3 之 8 篇):