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 ?
> 
> Cheers,
> David S.
> 
> 
> ________________________________
> 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-driv...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to "freebsd-drivers-unsubscr...@freebsd.org"
> 
> 

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to