summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vsvar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-05-22 21:02:39 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-05-22 21:02:39 +0000
commit73959ddd227803a14d64c8a8924bbda13559d79f (patch)
treeace8960c1a84e9d5c7878c6f37c27739cdd1d69e /sys/arch/mvme88k/dev/vsvar.h
parent0613423b6a97860feb2fb812e3fd3ccb10d1b5d3 (diff)
Reset the board during probe. As a result, we can now honor the SCSI
controller ID jumpers, instead of reprogramming the board to 7 every time.
Diffstat (limited to 'sys/arch/mvme88k/dev/vsvar.h')
-rw-r--r--sys/arch/mvme88k/dev/vsvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/dev/vsvar.h b/sys/arch/mvme88k/dev/vsvar.h
index 6e8bde1ad05..e83d20f11cc 100644
--- a/sys/arch/mvme88k/dev/vsvar.h
+++ b/sys/arch/mvme88k/dev/vsvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsvar.h,v 1.12 2004/05/22 21:00:44 miod Exp $ */
+/* $OpenBSD: vsvar.h,v 1.13 2004/05/22 21:02:38 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -98,6 +98,7 @@ struct vs_softc {
struct evcnt sc_intrcnt_e, sc_intrcnt_n;
int sc_ipl;
int sc_evec, sc_nvec;
+ int sc_pid, sc_sid;
struct scsi_link sc_link;
};
@@ -114,6 +115,7 @@ struct vs_softc {
#define cib_write(w,o,v) vs_write(w, sh_CIB + (o), (v))
#define crb_read(w,o) vs_read(w, sh_CRB + (o))
#define crb_write(w,o,v) vs_write(w, sh_CRB + (o), (v))
+#define csb_read(w,o) vs_read(w, sh_CSS + (o))
#define mce_read(w,o) vs_read(w, sh_MCE + (o))
#define mce_write(w,o,v) vs_write(w, sh_MCE + (o), (v))
#define mce_iopb_read(w,o) vs_read(w, sh_MCE_IOPB + (o))