summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-09-30 00:10:44 +0000
committerimp <imp@FreeBSD.org>1998-09-30 00:10:44 +0000
commit3839e92a79b1d4197c630927704b34f6d4532493 (patch)
treead5d5c2b6241dbd9d0b6b24982ebe65a5181d42c /sys/dev/aha
parent79fbc60c6a6e25dedfe124d2459c0148c69a3cee (diff)
downloadFreeBSD-src-3839e92a79b1d4197c630927704b34f6d4532493.zip
FreeBSD-src-3839e92a79b1d4197c630927704b34f6d4532493.tar.gz
Perform a hard reset on cards when the command fails. This should help
those people that have cards that become wedged when a bogus command is issued that are too wedged to have a soft reset help.
Diffstat (limited to 'sys/dev/aha')
-rw-r--r--sys/dev/aha/aha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aha/aha.c b/sys/dev/aha/aha.c
index 21b12f4..3fc63d9 100644
--- a/sys/dev/aha/aha.c
+++ b/sys/dev/aha/aha.c
@@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aha.c,v 1.3 1998/09/17 00:08:29 gibbs Exp $
+ * $Id: aha.c,v 1.4 1998/09/29 06:50:21 imp Exp $
*/
#include <sys/param.h>
@@ -1588,7 +1588,7 @@ aha_cmd(struct aha_softc *aha, aha_op_t opcode, u_int8_t *params,
CMD_REG_BUSY|DIAG_FAIL|DIAG_ACTIVE)) != 0
|| (status & (HA_READY|INIT_REQUIRED))
!= (HA_READY|INIT_REQUIRED)) {
- ahareset(aha, /*hard_reset*/FALSE);
+ ahareset(aha, /*hard_reset*/TRUE);
}
return (EINVAL);
}
OpenPOWER on IntegriCloud