I was misinformed. I cannot get away from specifying tags for FC. Some devices

are happy w/o them- some are unhappy (IBM drives).
This commit is contained in:
mjacob 1999-10-28 02:48:42 +00:00
parent 869bd7a8e7
commit 70c0d5902b

View File

@ -1934,11 +1934,17 @@ ispscsicmd(xs)
XS_RESID(xs) = 0;
/*
* Fibre Channel always requires some kind of tag, but
* the firmware seems to be happy if we don't use a tag.
* Fibre Channel always requires some kind of tag.
* The Qlogic drivers seem be happy not to use a tag,
* but this breaks for some devices (IBM drives).
*/
if (XS_CANTAG(xs)) {
t2reqp->req_flags = XS_KINDOF_TAG(xs);
} else {
if (XS_CDBP(xs)[0] == 0x3) /* REQUEST SENSE */
t2reqp->req_flags = REQFLAG_HTAG;
else
t2reqp->req_flags = REQFLAG_OTAG;
}
} else {
sdparam *sdp = (sdparam *)isp->isp_param;