Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 19:15:23 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        skynyrd@opus.cts.cwu.edu (Chris Timmons)
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: -stable CAM and ch.4
Message-ID:  <199809050115.TAA11959@panzer.plutotech.com>
In-Reply-To: <Pine.BSF.3.96.980904164043.10522B-100000@opus.cts.cwu.edu> from Chris Timmons at "Sep 4, 98 04:45:52 pm"

index | next in thread | previous in thread | raw e-mail

Chris Timmons wrote...
> 
> It looks like -stable doesn't get the newly invigorated ch(4) man page. 
> On a related note, any suggestions for detecting CAM in userland at
> compile-time?  I'd like to be able to support CAM and CAMnot in an
> application which uses the CAM-reworked struct changer_element_status.

	The way I do it, from makefiles at least, is:

.if exists(/usr/include/camlib.h)
CFLAGS+=-DCAM
.endif

	Or something like that.  Basically, just test for camlib.h.  It
won't be on a non-CAM system.

> % zcat 3.0CAM-19980716-SNAP.diffs.gz | grep 'ch\.4'
> *** src/share/man/man4/ch.4.orig
> --- src/share/man/man4/ch.4
> 
> 
> % zcat 2.2CAM-19980716-SNAP.diffs.gz | grep 'ch\.4'

	I'm sure that's just an oversight.  We'll try to get it into the
next -stable snapshot.  (I'm not sure if it's too late yet..)

Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message


help

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