diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-17 02:18:05 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-17 02:18:05 +0000 |
commit | 6c59170bca7b079bb699aa4fe6a5bf790e0dea6e (patch) | |
tree | 83a5fb38fba33a2f9e88f2df143b28d6ebc3b483 /misc/amanda25-server/files/patch-af | |
parent | Revert to rev. 1.4, which will restore some bugs in the previous version (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_0_0'.release/4.0.0
Notes
Notes:
svn path=/head/; revision=26796
svn path=/tags/RELEASE_4_0_0/; revision=26797; tag=release/4.0.0
Diffstat (limited to 'misc/amanda25-server/files/patch-af')
-rw-r--r-- | misc/amanda25-server/files/patch-af | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/misc/amanda25-server/files/patch-af b/misc/amanda25-server/files/patch-af deleted file mode 100644 index 272d5133ca48..000000000000 --- a/misc/amanda25-server/files/patch-af +++ /dev/null @@ -1,68 +0,0 @@ ---- changer-src/scsi-chio.c Tue Jul 7 21:04:04 1998 -+++ changer-src/scsi-chio.c Sat Sep 12 16:11:21 1998 -@@ -114,6 +114,38 @@ - } - - -+#if defined(__FreeBSD__) && defined(HAVE_CAMLIB_H) -+#warning "CHIO TAPE CHANGER FUNCTIONS UNIMPLEMENTED FOR FREEBSD CAM" -+#warning "Code will work fine if you aren't running a changer." -+int isempty(int fd, int slot) -+{ -+struct changer_element_status ces; -+int i,rc; -+int type=CHET_ST; -+ -+return 0; -+} -+ -+int find_empty(int fd) -+{ -+struct changer_element_status ces; -+int i,rc; -+int type=CHET_ST; -+ -+return 0; -+} -+ -+int drive_loaded(int fd, int drivenum) -+{ -+struct changer_element_status ces; -+int i,rc; -+int type=CHET_DT; -+ -+return 0; -+} -+ -+#else -+ - /* - * this routine checks a specified slot to see if it is empty - */ -@@ -141,6 +173,8 @@ - return !i; - } - -+ -+ - /* - * find the first empty slot - */ -@@ -169,6 +203,8 @@ - return i; - } - -+ -+ - /* - * returns one if there is a tape loaded in the drive - */ -@@ -195,7 +231,7 @@ - free(ces.ces_data); - return i; - } -- -+#endif - - /* - * unloads the drive, putting the tape in the specified slot |