Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev Add 35401A drive (not picker) support; fr...
details: https://anonhg.NetBSD.org/src/rev/21520db817e6
branches: trunk
changeset: 510354:21520db817e6
user: kleink <kleink%NetBSD.org@localhost>
date: Sun May 27 09:09:05 2001 +0000
description:
Add 35401A drive (not picker) support; from Jarkko Teppo in PR
port-hp300/11183.
diffstat:
sys/arch/hp300/dev/ct.c | 4 +++-
sys/arch/hp300/dev/ctreg.h | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r 90f7249f1207 -r 21520db817e6 sys/arch/hp300/dev/ct.c
--- a/sys/arch/hp300/dev/ct.c Sun May 27 06:30:27 2001 +0000
+++ b/sys/arch/hp300/dev/ct.c Sun May 27 09:09:05 2001 +0000
@@ -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 @@
{ CT7914PID, 1, "7914P" },
{ CT9144ID, 0, "9144" },
{ CT9145ID, 0, "9145" },
+ { CT35401ID, 0, "35401A"},
};
int nctinfo = sizeof(ctinfo) / sizeof(ctinfo[0]);
@@ -289,6 +290,7 @@
/* fall into... */
case CT9144ID:
case CT9145ID:
+ case CT35401ID:
type = CT9144;
canstream = 1;
break;
diff -r 90f7249f1207 -r 21520db817e6 sys/arch/hp300/dev/ctreg.h
--- a/sys/arch/hp300/dev/ctreg.h Sun May 27 06:30:27 2001 +0000
+++ b/sys/arch/hp300/dev/ctreg.h Sun May 27 09:09:05 2001 +0000
@@ -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 @@
#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)
Home |
Main Index |
Thread Index |
Old Index