Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 16:15:50 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        Wilko Bulte <wkb@freebie.demon.nl>, freebsd-scsi@FreeBSD.ORG
Subject:   Re: suggestion for camcontrol
Message-ID:  <20000908161550.A21933@panzer.kdm.org>
In-Reply-To: <Pine.LNX.4.21.0009081450380.15724-100000@zeppo.feral.com>; from mjacob@feral.com on Fri, Sep 08, 2000 at 02:54:09PM -0700
References:  <20000908134520.A20744@panzer.kdm.org> <Pine.LNX.4.21.0009081450380.15724-100000@zeppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

> 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




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