summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/st.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-01-12 15:13:47 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-01-12 15:13:47 +0000
commite661b0e07a7f4c778ac8e9b5eb341a7ad9795c2b (patch)
tree6158c02b8e503faa614ccff77b3cca01e9b912e4 /sys/arch/hp300/dev/st.c
parentd470dc6647ff9a7e3f6d00b205d12ab7428cc092 (diff)
Mostly sync to NetBSD-current of 011196. Compiles, links, boots to single
user. KNOWN NOT WORKING: * DIO-II devices * Dynamic executables NOT EVEN TRIED: * New config support
Diffstat (limited to 'sys/arch/hp300/dev/st.c')
-rw-r--r--sys/arch/hp300/dev/st.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/st.c b/sys/arch/hp300/dev/st.c
index f73e4c886dc..2a9f5d19ec2 100644
--- a/sys/arch/hp300/dev/st.c
+++ b/sys/arch/hp300/dev/st.c
@@ -1,4 +1,5 @@
-/* $NetBSD: st.c,v 1.14.4.1 1996/06/10 06:45:33 thorpej Exp $ */
+/* $OpenBSD: st.c,v 1.5 1997/01/12 15:13:05 downsj Exp $ */
+/* $NetBSD: st.c,v 1.18 1996/10/14 07:14:21 thorpej Exp $ */
/*
* Copyright (c) 1990 University of Utah.
@@ -257,6 +258,9 @@ stattach(hd)
sc->sc_dq.dq_driver = &stdriver;
sc->sc_blkno = 0;
sc->sc_flags = STF_ALIVE;
+
+ /* XXX Set device class. */
+ hd->hp_dev.dv_class = DV_TAPE;
}
int