summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispmbox.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-08-01 06:55:08 +0000
committermjacob <mjacob@FreeBSD.org>2000-08-01 06:55:08 +0000
commitc0c236347275bc375496f4ea6a611f880e004760 (patch)
treed0d5612d046469913bb21df90d7b7206ba2e18b3 /sys/dev/isp/ispmbox.h
parent8836b07cf61f646cb73dffc7a84b7f862268e3a1 (diff)
downloadFreeBSD-src-c0c236347275bc375496f4ea6a611f880e004760.zip
FreeBSD-src-c0c236347275bc375496f4ea6a611f880e004760.tar.gz
Add in macros && masks so that mailbox command errors can be
selectively printed/supressed in isp_mboxcmd.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r--sys/dev/isp/ispmbox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index 86f5bda..dc03a09 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -160,6 +160,9 @@ typedef struct {
#define MBOX_LOOP_ID_USED 0x4008
#define MBOX_ALL_IDS_USED 0x4009
#define MBOX_NOT_LOGGED_IN 0x400A
+#define MBLOGALL 0x000f
+#define MBLOGNONE 0x0000
+#define MBLOGMASK(x) ((x) & 0xf)
/*
* Asynchronous event status codes
OpenPOWER on IntegriCloud