From 995f10982005f3549e7f40ad95e12bd69088584c Mon Sep 17 00:00:00 2001 From: ken Date: Wed, 14 Oct 1998 06:20:36 +0000 Subject: Add man pages for many of the functions in the CAM library. This covers 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. --- lib/libcam/Makefile | 58 +++++++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 33 deletions(-) (limited to 'lib/libcam/Makefile') diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile index 0bccbdc..5b395e4 100644 --- a/lib/libcam/Makefile +++ b/lib/libcam/Makefile @@ -2,39 +2,31 @@ LIB= cam SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_sa.c cam.c -# MAN3= cam.3 - -# XXX KDM Need to write the man pages. -# MLINKS+= cam.3 cam_open_device.3 \ -# cam.3 cam_close_device.3 \ -# cam.3 cam_getccb.3 \ -# cam.3 cam_freeccb.3 \ -# cam.3 cam_send_ccb.3 \ -# cam.3 cam_device_dup.3 \ -# cam.3 cam_device_copy.3 \ -# cam.3 scsi_read_write.3 \ -# cam.3 scsi_start_stop.3 \ -# cam.3 scsi_sense_desc.3 \ -# cam.3 scsi_op_desc.3 \ -# cam.3 scsi_cdb_string.3 \ -# cam.3 scsi_print_inquriy.3 \ -# cam.3 scsi_calc_syncsrate.3 \ # XXX -# cam.3 scsi_test_unit_ready.3 \ -# cam.3 scsi_inquiry.3 \ -# cam.3 scsi_read_capacity.3 \ -# cam.3 scsi_prevent.3 \ -# cam.3 scsi_synchronize_cache.3 \ -# cam.3 scsi_sense_string.3 \ -# cam.3 scsi_sense_print.3 \ -# cam.3 scsi_inqurity_match.3 \ # XXX -# cam.3 scsi_extract_sense.3 \ -# cam.3 scsi_ulto2b.3 \ -# cam.3 scsi_ulto3b.3 \ -# cam.3 scsi_ulto4b.3 \ -# cam.3 scsi_2btoul.3 \ -# cam.3 scsi_3btoul.3 \ -# cam.3 scsi_3btol.3 \ -# cam.3 scsi_4btoul.3 +MAN3= cam.3 cam_cdbparse.3 + + +MLINKS+=cam.3 cam_open_device.3 \ + cam.3 cam_open_spec_device.3 \ + cam.3 cam_open_btl.3 \ + cam.3 cam_open_pass.3 \ + cam.3 cam_close_device.3 \ + cam.3 cam_close_spec_device.3 \ + cam.3 cam_getccb.3 \ + cam.3 cam_send_ccb.3 \ + cam.3 cam_freeccb.3 \ + cam.3 cam_path_string.3 \ + cam.3 cam_device_dup.3 \ + cam.3 cam_device_copy.3 \ + cam.3 cam_get_device.3 \ + cam_cdbparse.3 csio_build.3 \ + cam_cdbparse.3 csio_build_visit.3 \ + cam_cdbparse.3 csio_decode.3 \ + cam_cdbparse.3 csio_decode_visit.3 \ + cam_cdbparse.3 buff_decode.3 \ + cam_cdbparse.3 buff_decode_visit.3 \ + cam_cdbparse.3 csio_encode.3 \ + cam_cdbparse.3 csio_encode_visit.3 \ + cam_cdbparse.3 buff_encode_visit.3 beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/camlib.h \ -- cgit v1.1