]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add in isp_lock/isp_unlock inlines. Add in an islocked/intsok flag
authorMatt Jacob <mjacob@FreeBSD.org>
Tue, 4 Jul 2000 01:04:35 +0000 (01:04 +0000)
committerMatt Jacob <mjacob@FreeBSD.org>
Tue, 4 Jul 2000 01:04:35 +0000 (01:04 +0000)
commitdf9d46b6d9e77db555ba7246673787cd8e1d0e51
treeae4caa7cbe94bf6d490fff9102387ec316d2a7fd
parent1d460ef8d5108d88e351279344f24e24850a213d
Add in isp_lock/isp_unlock inlines. Add in an islocked/intsok flag
to isp_osinfo substructure (all in prep for SMP). Define MBOX_WAIT_COMPLETE
and MBOX_NOTIFY_COMPLETE macros so that we can now (temp) use tsleep
to wait for mailbox completion. Requires us to guess whether we're
servicing an interrupt or not- will use intr_nesting_level.

Add local strncat function.
sys/dev/isp/isp_freebsd.h