diff --git a/sys/dev/isp/isp_target.h b/sys/dev/isp/isp_target.h index 5362987af071..c59e59ab6cf0 100644 --- a/sys/dev/isp/isp_target.h +++ b/sys/dev/isp/isp_target.h @@ -523,8 +523,8 @@ int isp_target_notify(struct ispsoftc *, void *, u_int16_t *); * Enable/Disable/Modify a logical unit. * (softc, cmd, bus, tgt, lun, cmd_cnt, inotify_cnt, opaque) */ -#define DFLT_CMND_CNT 32 -#define DFLT_INOT_CNT 4 +#define DFLT_CMND_CNT 0xfe /* unmonitored */ +#define DFLT_INOT_CNT 16 int isp_lun_cmd(struct ispsoftc *, int, int, int, int, int, int, u_int32_t); /* @@ -549,8 +549,10 @@ int isp_endcmd(struct ispsoftc *, void *, u_int32_t, u_int16_t); /* * Handle an asynchronous event + * + * Return nonzero if the interrupt that generated this event has been dismissed. */ -void isp_target_async(struct ispsoftc *, int, int); +int isp_target_async(struct ispsoftc *, int, int); #endif #endif /* _ISP_TARGET_H */