aboutsummaryrefslogtreecommitdiff
path: root/lib/libcam
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Reduce gratuitous diffs to -CURRENT.Ruslan Ermilov2001-12-172-4/+4
| | | | Notes: svn path=/stable/4/; revision=88037
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-172-8/+11
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81834
* (MFC of 1.9- I didn't get an MFC notice for some reason)Matt Jacob2001-07-241-1/+5
| | | | | | | | | | Make sure you don't have a file descriptor leak for the 'real' underlying CAM device. This needs to be checked not only in the open routine, but the device->fd has to be initialized as well. Notes: svn path=/stable/4/; revision=80303
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-222-10/+10
| | | | Notes: svn path=/stable/4/; revision=80145
* MFC: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-221-1/+0
| | | | Notes: svn path=/stable/4/; revision=80140
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75949
* MFC: rev 1.8 (remove `r' devices)David E. O'Brien2001-03-021-5/+2
| | | | Notes: svn path=/stable/4/; revision=73335
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-1/+1
| | | | Notes: svn path=/stable/4/; revision=70483
* MFC: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-142-2/+2
| | | | Notes: svn path=/stable/4/; revision=70016
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-081-3/+6
| | | | Notes: svn path=/stable/4/; revision=69764
* MFC: Enhanced mode page editing functionality.Kelly Yancey2000-08-142-3/+4
| | | | Notes: svn path=/stable/4/; revision=64632
* MFC, Implement a new camcontrol function, 'camcontrol format'.Kenneth D. Merry2000-07-011-1/+1
| | | | | | | | | | | | | | | Merged files/revisions: camcontrol.c: rev 1.23 camcontrol.8: rev 1.21 libcam/Makefile: rev 1.7 scsi_da.c: rev 1.49 scsi_da.h: rev 1.5 Tested for RELENG_4 by: markm, nectar, will Notes: svn path=/stable/4/; revision=62368
* MFC: Fix groff confusion in PS output.Alexander Langer2000-06-201-3/+1
| | | | Notes: svn path=/stable/4/; revision=61860
* MFC: introduce .Lb macro to libraries manpages, some mdoc cleanupAlexey Zelkin2000-04-222-0/+4
| | | | Notes: svn path=/stable/4/; revision=59519
* Specify the system directory for which we put in our include pathMatt Jacob2000-01-211-1/+2
| | | | | | | | as a separate line so we can override it on the command line if we need to. Notes: svn path=/head/; revision=56377
* get pd_type from inquiry data itselfMatt Jacob2000-01-161-1/+1
| | | | Notes: svn path=/head/; revision=56122
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-4/+3
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* Fix a file descriptor leak in cam_open_btl(). The xpt device was opened,Kenneth D. Merry1999-09-121-1/+5
| | | | | | | | | but never closed. Submitted by: amobbs@allstor-sw.co.uk Notes: svn path=/head/; revision=51213
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
| | | | Notes: svn path=/head/; revision=50476
* Take out a reference to ccb(4). I never got around to writing it.Kenneth D. Merry1999-08-171-3/+2
| | | | | | | Reported by: "Alexey M. Zelkin" <phantom@cris.net> Notes: svn path=/head/; revision=49984
* Various man page cleanup:Mike Pritchard1999-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> Notes: svn path=/head/; revision=49828
* Add a MAINTAINER line to modules that I maintain.Kenneth D. Merry1999-06-181-0/+1
| | | | | | | Suggested by: brian, markm Notes: svn path=/head/; revision=47993
* cam_get_device() was returning 0 on failure, and 1 on success, whileMike Pritchard1999-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 Notes: svn path=/head/; revision=47933
* Fixed missing header in synopsis (<camlib.h> includes half the universeBruce Evans1999-03-052-2/+4
| | | | | | | but not <stdio.h>). Notes: svn path=/head/; revision=44489
* Use snprintf to make sure we don't overflow a buffer.Kenneth D. Merry1998-11-151-4/+5
| | | | Notes: svn path=/head/; revision=41190
* Fix an error message. (it was using an uninitialized variable)Kenneth D. Merry1998-11-151-2/+2
| | | | | | | Reported by: dan@math.berkeley.edu (Dan Strick) Notes: svn path=/head/; revision=41189
* Add man pages for many of the functions in the CAM library. This coversKenneth D. Merry1998-10-143-32/+982
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=40337
* Add a "dummy light" (actually two dummy lights) to catch people who don'tKenneth D. Merry1998-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 Notes: svn path=/head/; revision=40271
* Remove scsi_da.c from the list of things compiled into the CAM library.Kenneth D. Merry1998-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 Notes: svn path=/head/; revision=39465
* Fix some Alpha portability problems, and add some belt-and-suspendersKenneth D. Merry1998-09-161-9/+44
| | | | | | | | | | checking in some functions. Submitted by: dfr Modified by: ken Notes: svn path=/head/; revision=39381
* I hate late night commits. These should be nuked from the atticy byJustin T. Gibbs1998-09-154-0/+0
| | | | | | | the CVS meister. Notes: svn path=/head/; revision=39210
* CAM userland utility library, a replacement for libscsi.Justin T. Gibbs1998-09-158-0/+1774
Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org> Notes: svn path=/head/; revision=39209