Add 35401A drive (not picker) support; from Jarkko Teppo in PR

port-hp300/11183.
This commit is contained in:
kleink 2001-05-27 09:09:05 +00:00
parent 7520514a5e
commit 021d12d997
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ct.c,v 1.25 2000/05/19 18:54:31 thorpej Exp $ */
/* $NetBSD: ct.c,v 1.26 2001/05/27 09:09:05 kleink Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -181,6 +181,7 @@ struct ctinfo {
{ CT7914PID, 1, "7914P" },
{ CT9144ID, 0, "9144" },
{ CT9145ID, 0, "9145" },
{ CT35401ID, 0, "35401A"},
};
int nctinfo = sizeof(ctinfo) / sizeof(ctinfo[0]);
@ -289,6 +290,7 @@ ctident(parent, sc, ha)
/* fall into... */
case CT9144ID:
case CT9145ID:
case CT35401ID:
type = CT9144;
canstream = 1;
break;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ctreg.h,v 1.6 1996/02/09 18:00:35 scottr Exp $ */
/* $NetBSD: ctreg.h,v 1.7 2001/05/27 09:09:05 kleink Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@ -133,6 +133,7 @@ struct ct_describe {
#define CT7912PID 0x209
#define CT7914PID 0x20B
#define CT88140 1
#define CT35401ID 0x270
/* convert bytes to 1k tape block and back */
#define CTBTOK(x) ((x) >> 10)