From owner-freebsd-scsi Tue Apr 16 07:00:32 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA13393 for freebsd-scsi-outgoing; Tue, 16 Apr 1996 07:00:32 -0700 (PDT) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA13388 Tue, 16 Apr 1996 07:00:29 -0700 (PDT) Message-Id: <199604161400.HAA13388@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: "Daniel M. Eischen" cc: asami@cs.berkeley.edu, scsi@freebsd.org Subject: Re: Changing ID of 2940UW In-reply-to: Your message of "Tue, 16 Apr 1996 05:54:54 CDT." <9604161054.AA12799@iworks.InterWorks.org> Date: Tue, 16 Apr 1996 07:00:29 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >When I was looking through the Adaptec PCI device probe I noticed you >were only using anding the HBA device ID with 0x7 and stuffing it into >SCSICONF and SCSICONF + 1. Shouldn't it be anded with 0xf? Not quite. I sent Satoshi a different patch last night that uses host_id in SCSICONF + 1 instead of scsi_conf which was what I'd intended all along. Bit 7 in SCSICONF is part of the selection timer setting which is why you must and it with 0x7. SCSICONF+1 is only referenced if the device is wide, which is the only time ((host_id&0x7) != host_id) can be true. I'll commit it as soon as my SCB paging patches are ready. >Dan Eischen >deischen@iworks.InterWorks.org -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================