summaryrefslogtreecommitdiffstats
path: root/lib/libcam
Commit message (Collapse)AuthorAgeFilesLines
* Specify the system directory for which we put in our include pathmjacob2000-01-211-1/+2
| | | | | as a separate line so we can override it on the command line if we need to.
* get pd_type from inquiry data itselfmjacob2000-01-161-1/+1
|
* Replace beforeinstall target with new variables used by .mk system.rgrimes2000-01-141-4/+3
| | | | Reviewed by: marcel, and make world
* Fix a file descriptor leak in cam_open_btl(). The xpt device was opened,ken1999-09-121-1/+5
| | | | | | but never closed. Submitted by: amobbs@allstor-sw.co.uk
* $Id$ -> $FreeBSD$peter1999-08-285-5/+5
|
* Take out a reference to ccb(4). I never got around to writing it.ken1999-08-171-3/+2
| | | | Reported by: "Alexey M. Zelkin" <phantom@cris.net>
* Various man page cleanup:mpp1999-08-151-3/+3
| | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net>
* Add a MAINTAINER line to modules that I maintain.ken1999-06-181-0/+1
| | | | Suggested by: brian, markm
* cam_get_device() was returning 0 on failure, and 1 on success, whilempp1999-06-151-10/+10
| | | | | | | | camcontrol(8) and the documentation in camlib.c and cam(3) all expect -1 on failure and 0 on success. Updated camlib.c to return the values specified by the documentation. PR: 12023
* Fixed missing header in synopsis (<camlib.h> includes half the universebde1999-03-052-2/+4
| | | | but not <stdio.h>).
* Use snprintf to make sure we don't overflow a buffer.ken1998-11-151-4/+5
|
* Fix an error message. (it was using an uninitialized variable)ken1998-11-151-2/+2
| | | | Reported by: dan@math.berkeley.edu (Dan Strick)
* Add man pages for many of the functions in the CAM library. This coversken1998-10-143-33/+983
| | | | | | | | | | | most of the open/close routines, and the buffer/cdb parsing routines derived from the old scsi(3) library. The cam_cdbparse(3) man page borrows from the old scsi(3) man page, so the copyright and history section reflect that. The many scsi_* functions and other functions that are pulled in from the kernel aren't documented yet, but will be eventually.
* Add a "dummy light" (actually two dummy lights) to catch people who don'tken1998-10-121-4/+27
| | | | | | | | | have the passthrough device configured in their kernel. This will hopefully reduce the number of people complaining that they can't get {camcontrol, xmcd, tosha, cdrecord, etc.} to work. Reviewed by: gibbs
* Remove scsi_da.c from the list of things compiled into the CAM library.ken1998-09-181-1/+1
| | | | | | | | | | | | | | The functions that were being compiled into the library have been moved to scsi_all.c. One warning: Any programs using scsi_start_stop() or scsi_read_write() that included scsi_da.h but not scsi_all.h will need to be changed to include scsi_all.h. This doesn't affect camcontrol, and I don't think it affects any ports, but you never know. PR: kern/7969 Reviewed by: gibbs
* Fix some Alpha portability problems, and add some belt-and-suspendersken1998-09-161-9/+44
| | | | | | | checking in some functions. Submitted by: dfr Modified by: ken
* I hate late night commits. These should be nuked from the atticy bygibbs1998-09-154-0/+0
| | | | the CVS meister.
* CAM userland utility library, a replacement for libscsi.gibbs1998-09-158-0/+1774
Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org>
OpenPOWER on IntegriCloud