summaryrefslogtreecommitdiffstats
path: root/usr.bin/mt
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-10-03 10:58:54 +0000
committerdfr <dfr@FreeBSD.org>1998-10-03 10:58:54 +0000
commit94e3fb4cb436fbc40586a644a3cf6c2f37630264 (patch)
treec4286811be626125cad8f78f4ff963f5838586ef /usr.bin/mt
parent94703cd86c33fbbf12d464bfab0485f176129245 (diff)
downloadFreeBSD-src-94e3fb4cb436fbc40586a644a3cf6c2f37630264.zip
FreeBSD-src-94e3fb4cb436fbc40586a644a3cf6c2f37630264.tar.gz
Don't bother trying to support Wangtek tapes on the alpha.
Diffstat (limited to 'usr.bin/mt')
-rw-r--r--usr.bin/mt/mt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index c2a6eeb..230ab1c 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id: mt.c,v 1.13 1997/08/21 05:49:29 joerg Exp $";
+ "$Id: mt.c,v 1.15 1998/09/15 10:28:20 gibbs Exp $";
#endif /* not lint */
/*
@@ -245,7 +245,7 @@ main(argc, argv)
#include <tahoe/vba/cyreg.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && defined(__i386__)
#include <machine/wtio.h>
#endif
@@ -279,8 +279,10 @@ struct tape_desc {
* magtape driver.
*/
{ MT_ISAR, "SCSI tape drive", 0, 0 },
+#if defined (__i386__)
{ MT_ISVIPER1, "Archive Viper", WTDS_BITS, WTER_BITS },
{ MT_ISMFOUR, "Wangtek", WTDS_BITS, WTER_BITS },
+#endif
#endif /* defined (__FreeBSD__) */
{ 0 }
};
OpenPOWER on IntegriCloud