date and time created 87/02/15 16:03:36 by lepreau
[unix-history] / usr / src / usr.bin / mt / mt.c
index aae39a7..ed56855 100644 (file)
@@ -1,4 +1,19 @@
-static char *sccsid = "@(#)mt.c        4.8 (Berkeley) 83/05/08";
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1980 Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif not lint
+
+#ifndef lint
+static char sccsid[] = "@(#)mt.c       5.2 (Berkeley) %G%";
+#endif not lint
+
 /*
  * mt --
  *   magnetic tape manipulation program
 /*
  * mt --
  *   magnetic tape manipulation program
@@ -101,6 +116,10 @@ main(argc, argv)
 #include <sundev/arreg.h>
 #endif
 
 #include <sundev/arreg.h>
 #endif
 
+#ifdef tahoe
+#include <tahoevba/cyreg.h>
+#endif
+
 struct tape_desc {
        short   t_type;         /* type of magtape device */
        char    *t_name;        /* printing name */
 struct tape_desc {
        short   t_type;         /* type of magtape device */
        char    *t_name;        /* printing name */
@@ -117,6 +136,9 @@ struct tape_desc {
 #ifdef sun
        { MT_ISCPC,     "TapeMaster",   TMS_BITS,       0 },
        { MT_ISAR,      "Archive",      ARCH_CTRL_BITS, ARCH_BITS },
 #ifdef sun
        { MT_ISCPC,     "TapeMaster",   TMS_BITS,       0 },
        { MT_ISAR,      "Archive",      ARCH_CTRL_BITS, ARCH_BITS },
+#endif
+#ifdef tahoe
+       { MT_ISCY,      "cipher",       CYS_BITS,       CYCW_BITS },
 #endif
        { 0 }
 };
 #endif
        { 0 }
 };