From acf06d2e27e643799f6a69c0e3b38a8ff27ec780 Mon Sep 17 00:00:00 2001 From: briggs Date: Sat, 9 Jun 2001 18:08:20 +0000 Subject: [PATCH] If the adapter is returning a selection timeout, then we should be returning XS_SELTIMEOUT, not XS_TIMEOUT. Pointed out by Andrew Doran. --- sys/dev/ic/adv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c index f0d31dbb7af2..b0a8fba8577a 100644 --- a/sys/dev/ic/adv.c +++ b/sys/dev/ic/adv.c @@ -1,4 +1,4 @@ -/* $NetBSD: adv.c,v 1.25 2001/06/09 17:18:21 briggs Exp $ */ +/* $NetBSD: adv.c,v 1.26 2001/06/09 18:08:20 briggs Exp $ */ /* * Generic driver for the Advanced Systems Inc. Narrow SCSI controllers @@ -964,7 +964,7 @@ adv_narrow_isr_callback(sc, qdonep) break; case ASC_QHSTA_M_SEL_TIMEOUT: - xs->error = XS_TIMEOUT; + xs->error = XS_SELTIMEOUT; break; default: