Subject: Re: CVS commit: syssrc [thorpej_scsipi]
To: Matthew Jacob <mjacob@feral.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 04/03/2001 11:11:21
On Mon, Apr 02, 2001 at 02:29:59PM -0700, Matthew Jacob wrote:
>
> Yes, and yes....
>
> QLogic starts at 1, and goes up (I've been working some issues with tags in
> target mode, and interestingly enough, QLogic doesn't use 0 as a tag value
> (which is legal, I believe)).
In siop I use xs->xs_tag_id+1; because I keep tag 0 for untagged commands
(as for aic7xxx, I use the tag value as index in a array).
I could use the max tag number instead, but this make things more complicated:
the max tag number is different for tagged and non-tagged devices (in the later
case it's 0 :)
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--