Subject: Re: NOSYNC/NOWIDE/NOTAG & ansii rev
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 07/24/2000 08:55:37
On Mon, 24 Jul 2000, Manuel Bouyer wrote:

> Hi,
> In scsiconf.c we actually do the following:
>         if ((inqbuf.version & SID_ANSII) >= 2) {
> 		if ((inqbuf.flags & SID_CmdQue) == 0)
> 			sc_link->quirks |= SDEV_NOTAG;
> 		if ((inqbuf.flags & SID_Sync) == 0)
> 			sc_link->quirks |= SDEV_NOSYNC;
> 		if ((inqbuf.flags & SID_WBus16) == 0)
> 			sc_link->quirks |= SDEV_NOWIDE;
> 	}
> 
> This save some negotiation in the driver if we already know a feature
> isn't supported. Shoudl't we always set SDEV_NOWIDE | SDEV_NOTAG for
> SID_ANSII < 2 ?

No. SYNC was was supported for SID_ANSII == 0.