]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r315234: Improvements around attach, reset and detach.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Mar 2017 10:22:55 +0000 (10:22 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Mar 2017 10:22:55 +0000 (10:22 +0000)
commit1c40ac3ce8650754b026da4bd21ea9c77963c781
tree0652fb3c071717d69f62ae2de9acc17c42f33a83
parent57f5a302b54b739f128adf10a6d40aa99b6dec2f
MFC r315234: Improvements around attach, reset and detach.

This change fixes DMA resource leak on driver unload.  Also it removes
DMA resources allocation for hardcoded number of requests before fetching
the real number from firmware.  Also it prepares ground for more flexible
IRQs allocation according to firmware capabilities.

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