Subject: NOSYNC/NOWIDE/NOTAG & ansii rev
To: None <tech-kern@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 07/24/2000 15:30:32
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 ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--