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:
Matt Jacob 1999-10-28 02:48:42 +00:00
parent 0d6985e2c1
commit 2668d67e9c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52579

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;