From owner-freebsd-scsi Fri Oct 16 07:53:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07642 for freebsd-scsi-outgoing; Fri, 16 Oct 1998 07:53:27 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07637 for ; Fri, 16 Oct 1998 07:53:22 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id IAA25084; Fri, 16 Oct 1998 08:52:59 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810161452.IAA25084@panzer.plutotech.com> Subject: Re: Official way to detect CAM? In-Reply-To: <199810161248.FAA05529@math.berkeley.edu> from Dan Strick at "Oct 16, 98 05:48:00 am" To: dan@math.berkeley.edu (Dan Strick) Date: Fri, 16 Oct 1998 08:52:59 -0600 (MDT) Cc: freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dan Strick wrote... > Is there a way to detect CAM using only definitions in a C-language > header file that is present (under ther same name) in both release > 2.X and 3.X systems? I don't like elaborate pre-installation > configuration scripts. I really really hate them. Nope, there really isn't another way. You could use the FreeBSD release variable/macro, but you can have a 2.x machine running CAM. There really wasn't an obvious place to put such a define. > Also, is there any documentation for cam beyond the camcontrol man > page? The camcontrol man page lists "cam(3), pass(4), cam(9), xpt(9)" > but there are no such man pages (on 3.0-19981003-BETA). There are a number of new man pages that have been added in the past few days. (and you'll notice that the camcontrol man page mentions that most of the cross-references don't exist) The documentation isn't anywhere near completion, but it's better than it was. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message