summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vsreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/dev/vsreg.h')
-rw-r--r--sys/arch/mvme88k/dev/vsreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/dev/vsreg.h b/sys/arch/mvme88k/dev/vsreg.h
index 4880ea68fdb..81a7758a641 100644
--- a/sys/arch/mvme88k/dev/vsreg.h
+++ b/sys/arch/mvme88k/dev/vsreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsreg.h,v 1.9 2004/07/18 19:45:51 miod Exp $ */
+/* $OpenBSD: vsreg.h,v 1.10 2004/07/19 20:31:51 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -337,6 +337,8 @@
#define CNTR_ISSUE_ABORT 0x4e /* abort has been issued */
#define CNTR_DOWNLOAD_FIRMWARE 0x4f /* download firmware (COUGAR) */
+#define IOPB_UNIT_VALUE(target, lun) ((lun) << 3 | (target & 7))
+
/*
* Memory types
*/