Remove call that sets XS_STS_DONE before we call scsipi_done().

This makes isp work again following the change in r1.135 of scsipi_base.c.
Also tested by David Hopper.
This commit is contained in:
jdc 2006-05-07 17:31:48 +00:00
parent 6d0faff4f5
commit 94b7dad338

View File

@ -1,4 +1,4 @@
/* $NetBSD: isp_netbsd.c,v 1.67 2005/12/11 12:21:27 christos Exp $ */
/* $NetBSD: isp_netbsd.c,v 1.68 2006/05/07 17:31:48 jdc Exp $ */
/*
* This driver, which is contained in NetBSD in the files:
*
@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.67 2005/12/11 12:21:27 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.68 2006/05/07 17:31:48 jdc Exp $");
#include <dev/ic/isp_netbsd.h>
#include <sys/scsiio.h>
@ -640,7 +640,6 @@ isp_polled_cmd(struct ispsoftc *isp, XS_T *xs)
void
isp_done(XS_T *xs)
{
XS_CMD_S_DONE(xs);
if (XS_CMD_WDOG_P(xs) == 0) {
struct ispsoftc *isp = XS_ISP(xs);
callout_stop(&xs->xs_callout);