Subject: ncr53c9x on thorpej-scsipi (Re: CVS commit: syssrc)
To: None <bouyer@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 04/28/2001 07:46:11
In <20010426170940.6449FB00B@cvs.netbsd.org>
bouyer@netbsd.org wrote:
> Module Name: syssrc
> Committed By: bouyer
> Date: Thu Apr 26 17:09:39 UTC 2001
>
> Modified Files:
> syssrc/sys/dev/ic: ncr53c9x.c
>
> Log Message:
> Disable tagged queuing for now, it causes commands timeouts.
How about the attached patch?
I'm not sure when request sense commands are issued from mid-layer,
but all request sense stuff should be removed from each HBA driver?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp
Index: ncr53c9x.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ic/ncr53c9x.c,v
retrieving revision 1.75
diff -u -r1.75 ncr53c9x.c
--- ncr53c9x.c 2001/04/25 17:53:33 1.75
+++ ncr53c9x.c 2001/04/27 22:43:50
@@ -865,6 +865,9 @@
}
ecb->stat = 0;
+ if (flags & XS_CTL_REQSENSE)
+ ecb->flags |= ECB_SENSE;
+
s = splbio();
TAILQ_INSERT_TAIL(&sc->ready_list, ecb, chain);