Subject: port-hp300/11183: 35401A support for ct.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jate@uwasa.fi>
List: netbsd-bugs
Date: 10/10/2000 00:59:09
>Number:         11183
>Category:       port-hp300
>Synopsis:       35401A support for ct.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hp300-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 10 00:59:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jarkko Teppo
>Release:        1.5A
>Organization:
>Environment:
>Description:
This patch adds HP 35401A eight tape jukebox support for the ct-driver.
No support for directly accessing the individual tapes yet.
The 35401A has eight slots, a picker, a 9144 drive and a switch for
selective/continuous mode.

Patches with diff -u -N for ct.c and ctreg.h.
>How-To-Repeat:

>Fix:
--- /usr/src/sys/arch/hp300/dev/ct.c    Tue Oct 10 10:06:40 2000
+++ ct.c        Tue Oct 10 10:04:13 2000
@@ -180,6 +180,7 @@
        { CT7914PID,    1,      "7914P" },
        { CT9144ID,     0,      "9144"  },
        { CT9145ID,     0,      "9145"  },
+       { CT35401ID,    0,      "35401A"},
 };
 int    nctinfo = sizeof(ctinfo) / sizeof(ctinfo[0]);

@@ -288,6 +289,7 @@
                /* fall into... */
        case CT9144ID:
        case CT9145ID:
+       case CT35401ID:
                type = CT9144;
                canstream = 1;
                break;

--- /usr/src/sys/arch/hp300/dev/ctreg.h Tue Oct 10 10:06:40 2000
+++ ctreg.h     Tue Oct 10 10:04:51 2000
@@ -133,6 +133,7 @@
 #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)

>Release-Note:
>Audit-Trail:
>Unformatted: