We only need to terminate our recovery thread once.

This commit is contained in:
Justin T. Gibbs 2003-12-19 18:10:59 +00:00
parent 50bcce79ff
commit 913fd65e92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123675

View File

@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#146 $
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#147 $
*/
#ifdef __linux__
@ -4046,9 +4046,6 @@ ahc_shutdown(void *arg)
ahc = (struct ahc_softc *)arg;
/* Kill off our recovery thread. */
ahc_terminate_recovery_thread(ahc);
/* This will reset most registers to 0, but not all */
ahc_reset(ahc, /*reinit*/FALSE);
ahc_outb(ahc, SCSISEQ, 0);