1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

The SERVICING_INTERRUPT isn't quite safe yet.

This commit is contained in:
Matt Jacob 2000-07-18 07:04:07 +00:00
parent f48ce1882f
commit 910fb4f6ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63387

View File

@ -178,7 +178,11 @@ isp_unlock(struct ispsoftc *isp)
#define ISP_LOCK isp_lock
#define ISP_UNLOCK isp_unlock
#define SERVICING_INTERRUPT(isp) 1
/* not ready yet... */
#if 0
#define SERVICING_INTERRUPT(isp) (intr_nesting_level != 0)
#endif
#define MBOX_WAIT_COMPLETE(isp) \
if (isp->isp_osinfo.intsok == 0 || SERVICING_INTERRUPT(isp)) { \