]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r315307: Refactor interrupt handling.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Mar 2017 15:43:07 +0000 (15:43 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Mar 2017 15:43:07 +0000 (15:43 +0000)
commitc17c1ebc7016d698bc3bbb7b9f437094b0da6347
treef4cd486d062fa26c612ba0c58dff38af6e714421
parenta945b84912fcc3bd7d06046d820cba7996fb5294
MFC r315307: Refactor interrupt handling.

Instead of single isp_intr() function doing all possible magic, introduce
four different functions to handle mailbox operation completions, async
events, response and ATIO queues.  The goal is to isolate different code
paths to make code more readable, and to make easier support for multiple
interrupt vectors.  Even oldest hardware in many cases can identify what
code path it should run on interrupt.  Contemporary hardware can assign
them to different interrupt vectors.

git-svn-id: svn://svn.freebsd.org/base/stable/10@316146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/isp/isp.c
sys/dev/isp/isp_freebsd.c
sys/dev/isp/isp_pci.c
sys/dev/isp/isp_sbus.c
sys/dev/isp/ispvar.h