Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 20:18:59 +0200
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ncrcontrol
Message-ID:  <19970624201859.14377@mi.uni-koeln.de>
In-Reply-To: <9706241834.AA03444@cabri.obs-besancon.fr>; from Jean-Marc Zucconi on Tue, Jun 24, 1997 at 07:34:36PM %2B0100
References:  <9706241834.AA03444@cabri.obs-besancon.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 24, Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr> wrote:
> This is with a kernel from june, 20 and a freshly rebuilt ncrcontrol:
> 
> bash# ncrcontrol -u 1 -t 2 -s tags=0
> bash# ncrcontrol -u 1 -i
> T:L  Vendor   Device           Rev  Speed   Max Wide Tags
> 2:0  MICROP   4110-09TBCU0322J HT01  10.0  10.0   8    4
> 
> It silently ignores the tags=0 parameter :-(

Ummm, that's bad ... 

Seems I broke this when I modified the driver 
to respect the "NOTAGS" quirk in scsiconf.c ... :(

If your drive does not work reliably with tags
enabled, then we should add it to scsiconf.c !

The patch for your drive would be:

Index: scsiconf.c
===================================================================
RCS file: /usr/cvs/src/sys/scsi/scsiconf.c,v
retrieving revision 1.89
diff -C2 -r1.89 scsiconf.c
*** scsiconf.c	1997/06/11 22:29:01	1.89
--- scsiconf.c	1997/06/24 18:16:23
***************
*** 451,454 ****
--- 457,464 ----
  	{
  		T_DIRECT, T_DIRECT, T_FIXED, "HP", "C372*", "*",
+ 		"sd", SC_ONE_LU, SD_Q_NO_TAGS
+ 	},
+ 	{
+ 		T_DIRECT, T_DIRECT, T_FIXED, "MICROP", "4110*", "*",
  		"sd", SC_ONE_LU, SD_Q_NO_TAGS
  	},

If you want to enable/disable the use of tags
at run-time, then you'll wait for me to fix the
driver ...

Sorry for the inconvenience!

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970624201859.14377>