/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */ #define LOG #define MINUSA 1 #define MINUSS 2 #define FIL_SYS 1 #define DEV_IN 2 #define VOL_IN 3 #define DEV_OUT 4 #define VOL_OUT 5 #define INPUT 0 #define OUTPUT 1 #define T_TYPE 0xfd187e20 /* like FsMAGIC */ #define EQ(X,Y,Z) !strncmp(X,Y,Z) #define NOT_EQ(X,Y,Z) strncmp(X,Y,Z) #define BLKSIZ 512 /* use physical blocks */ #define _2_DAYS 172800L #define MAX_BLKS 20 #define Ft800x10 15L #define Ft1600x4 22L #define Ft1600x10 28L #define Ft1600x16 30L #define Ft1600x32 32L #define Ft6250x10 90L #define Ft6250x16 95L #define Ft6250x32 115L #define Ft6250x50 120L #define BUFCNT 2 #define _128K 131072 /* * Special tape drive types. */ #define A_DRIVE 1 /* 3B15 Accellerated Tape Ctlr (32 blks/rec) */ #define C_DRIVE 2 /* 3B15 Compatibility Mode (10 blks/rec) */ #define K_DRIVE 3 /* 3B20 Kennedy tape drive (4 blks/rec max) */ #define T_DRIVE 4 /* 3B20 Tape File Controller (50 blks/rec) */ /* Synchronization flags */ #define P_NONE 0 /* Null message */ #define P_READ 1 /* Read allowed */ #define P_WRITE 2 /* Write allowed */ #define P_DONE 3 /* Done reading */ #define P_ABORT 4 /* Abort due to unrecoverable error */ #define P_TEST 5