SCCS-vsn: sys/vax/uba/ts.c 4.13
-/* ts.c 4.12 81/05/03 */
+/* ts.c 4.13 81/05/05 */
#include "ts.h"
#include "te.h"
#include "ts.h"
#include "te.h"
* Default is that last command was NOT a write command;
* if we do a write command we will notice this in tsintr().
*/
* Default is that last command was NOT a write command;
* if we do a write command we will notice this in tsintr().
*/
if (sc->sc_openf < 0 || (addr->tssr&TS_OFL)) {
/*
* Have had a hard error on a non-raw tape
if (sc->sc_openf < 0 || (addr->tssr&TS_OFL)) {
/*
* Have had a hard error on a non-raw tape
struct mtget mtget;
/* we depend of the values and order of the MT codes here */
static tsops[] =
struct mtget mtget;
/* we depend of the values and order of the MT codes here */
static tsops[] =
- {TS_WEOF,TS_SFORW,TS_SREV,TS_SFORWF,TS_SREVF,TS_REW,TS_OFFL,TS_SENSE};
+ {TS_WEOF,TS_SFORWF,TS_SREVF,TS_SFORW,TS_SREV,TS_REW,TS_OFFL,TS_SENSE};
switch (cmd) {
case MTIOCTOP: /* tape operation */
switch (cmd) {
case MTIOCTOP: /* tape operation */
fcount = 1;
break;
case MTFSF: case MTBSF:
fcount = 1;
break;
case MTFSF: case MTBSF:
- callcount = mtop.mt_count;
- fcount = INF;
- break;
case MTFSR: case MTBSR:
callcount = 1;
fcount = mtop.mt_count;
case MTFSR: case MTBSR:
callcount = 1;
fcount = mtop.mt_count;