diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-04-21 02:05:54 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-04-21 02:05:54 +0000 |
commit | c8f13071dda2b7dcdaf9eb6e6c4e92689bf0fd5f (patch) | |
tree | df224c22b50a0187b2680ffeb24214a0cf3dd0f1 /sys/dev/isp/isp_target.h | |
parent | 9cec119bc04b8877ff53307fa3d7f002098bfa92 (diff) | |
download | FreeBSD-src-c8f13071dda2b7dcdaf9eb6e6c4e92689bf0fd5f.zip FreeBSD-src-c8f13071dda2b7dcdaf9eb6e6c4e92689bf0fd5f.tar.gz |
Some minor tweaklets.
Diffstat (limited to 'sys/dev/isp/isp_target.h')
-rw-r--r-- | sys/dev/isp/isp_target.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/isp/isp_target.h b/sys/dev/isp/isp_target.h index 1c7cb20..874814e 100644 --- a/sys/dev/isp/isp_target.h +++ b/sys/dev/isp/isp_target.h @@ -186,6 +186,8 @@ typedef struct { * Value for the na_event field */ #define NA_RST_CLRD 0x80 /* Clear an async event notification */ +#define NA_OK 0x01 /* Notify Acknowledge Succeeded */ +#define NA_INVALID 0x06 /* Invalid Notify Acknowledge */ #define NA2_RSVDLEN 21 typedef struct { @@ -623,7 +625,7 @@ int isp_target_notify __P((struct ispsoftc *, void *, u_int16_t *)); */ #define DFLT_CMD_CNT (RESULT_QUEUE_LEN >> 1) #define DFLT_INOTIFY (4) -int isp_lun_cmd __P((struct ispsoftc *isp, int, int, int, int, u_int32_t)); +int isp_lun_cmd __P((struct ispsoftc *, int, int, int, int, u_int32_t)); /* * General request queue 'put' routine for target mode entries. @@ -635,14 +637,14 @@ int isp_target_put_entry __P((struct ispsoftc *isp, void *)); * used for replenishing f/w resource counts. */ int -isp_target_put_atio __P((struct ispsoftc *isp, int, int, int, int, int)); +isp_target_put_atio __P((struct ispsoftc *, int, int, int, int, int)); /* * General routine to send a final CTIO for a command- used mostly for * local responses. */ int -isp_endcmd __P((struct ispsoftc *isp, void *, u_int32_t, u_int32_t)); +isp_endcmd __P((struct ispsoftc *, void *, u_int32_t, u_int32_t)); #define ECMD_SVALID 0x100 /* |