]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove concept of mbox_sleep_ok.
authormav <mav@FreeBSD.org>
Tue, 24 Nov 2020 15:32:25 +0000 (15:32 +0000)
committermav <mav@FreeBSD.org>
Tue, 24 Nov 2020 15:32:25 +0000 (15:32 +0000)
commit5901b1e4a1145389ebf031c2524454f9c4790798
tree8e41c2af47a8f3b550eae31a530d4ca4d667fd94
parentf43b8c8b2bbf71f7139e3af401b28a6442f1923c
Remove concept of mbox_sleep_ok.

It was broken by design and unused for years due to conflicts between
different threads, fighting for the same set of mailbox registers, not
designed for multiple requests at a time.  So either request has to be
synchronous and spin under the lock, or it should be sent asynchronously
through the queues as Mailbox Command IOCB or some other way.

This removes any OS specifics from the wait code, so it can be inlined.
sys/dev/isp/isp.c
sys/dev/isp/isp_freebsd.c
sys/dev/isp/isp_freebsd.h
sys/dev/isp/ispvar.h