From owner-freebsd-scsi Sun Sep 17 13: 3:50 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 8D9E637B423 for ; Sun, 17 Sep 2000 13:03:48 -0700 (PDT) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA04738; Sun, 17 Sep 2000 13:03:40 -0700 Date: Sun, 17 Sep 2000 13:03:40 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: "Kenneth D. Merry" Cc: Wilko Bulte , freebsd-scsi@FreeBSD.ORG Subject: Re: suggestion for camcontrol In-Reply-To: <20000908161550.A21933@panzer.kdm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 8 Sep 2000, Kenneth D. Merry wrote: > On Fri, Sep 08, 2000 at 14:54:09 -0700, Matthew Jacob wrote: > > > > The points about cleanliness are worthy- except the deal here is that the > > interfaces have to be clean. The program 'camcontrol devlist' does not. > > Interfaces don't "have" to be clean, and neither does code that accesses > those interfaces. > > Cleanliness is a choice made by the developer, and in this case I'm chosing > the clean path rather than the quick-n-dirty path. > > The information in question is available through 'camcontrol negotiate -v', > (once I commit the patch) so I don't think there's an urgent need for this, > anyway. We've got time to do this the right way instead of throwing > something in there that will likely stay there a long time. I wasn't paying attention - was this integrated? > > > You should be able to do XPT_PATH_INQ for paths 0 through 0xff to get at the > > list of SIMs. > > Actually, you can't do that at the moment. To do a path inquiry, you need > a device to do a path inquiry on. (i.e. path inquiries can only be done > via the pass driver at the moment, they aren't supported through the xpt > driver.) > > Ken > -- > Kenneth Merry > ken@kdm.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message