From owner-freebsd-scsi Tue Feb 11 09:35:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA06458 for freebsd-scsi-outgoing; Tue, 11 Feb 1997 09:35:52 -0800 (PST) Received: from Sisyphos.MI.Uni-Koeln.DE (Sisyphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA06451 for ; Tue, 11 Feb 1997 09:35:47 -0800 (PST) Received: from x14.mi.uni-koeln.de (annexr2-44.slip.Uni-Koeln.DE) by Sisyphos.MI.Uni-Koeln.DE with SMTP id AA14925 (5.67b/IDA-1.5 for ); Tue, 11 Feb 1997 18:35:41 +0100 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.8.5/8.6.9) id SAA21977; Tue, 11 Feb 1997 18:35:38 +0100 (CET) Message-Id: <19970211183534.ZZ52644@x14.mi.uni-koeln.de> Date: Tue, 11 Feb 1997 18:35:34 +0100 From: se@freebsd.org (Stefan Esser) To: craig@progroup.com (Craig Shaver) Cc: scsi@freebsd.org Subject: Re: 2940 and ncr target problems re: HELP!! ST32155W - Not detected during probing!! References: <199702072134.NAA29174@vader.cs.berkeley.edu> <199702101012.TAA06339@madoka.hal.t.u-tokyo.ac.jp> <32FF4A6C.2781E494@progroup.com> X-Mailer: Mutt 0.60-PL0 Mime-Version: 1.0 In-Reply-To: <32FF4A6C.2781E494@progroup.com>; from Craig Shaver on Feb 10, 1997 08:18:52 -0800 Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Feb 10, craig@progroup.com (Craig Shaver) wrote: > I believe this may point out a significant problem with the driver for > the > 2940W and most likely the ncr also. I have tried to use a wide drive on > the ncr825 and 875 at a target id greater than 7. It would not work. I > am not sure of the exact reason, but after seeing the problems Ajith > had, > I believe there is a bug in the drivers. > > I went through the ncr.c source for the 2.1.6 driver and saw in every > instance, that the target id was being masked with the literal '7' which > is '111'b. This only allows a total of 8 targets on the board. The > wide > controllers physically allow up to 16 targets. That would be a mask of > '1111'b, or 15, or 017, or 0x0f. Of course target 7 is usually reserved > for > the target id of the controller hba itself. This has been fixed in the NCR driver in -current and -stable for some time, but the changes had not made it into 2.1.6. Regards, STefan