diff options
author | mjacob <mjacob@FreeBSD.org> | 2002-06-16 04:54:46 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2002-06-16 04:54:46 +0000 |
commit | aace7c9e2f2343fb1a04ae8d7e0c0847d1b5ba3d (patch) | |
tree | 3ad1bf323950b5c2baa32676a39ecad1e4134908 /sys/dev/isp/isp_target.h | |
parent | f02d3e0eeb3c06faf48a1da6f7be3fcc4cd19004 (diff) | |
download | FreeBSD-src-aace7c9e2f2343fb1a04ae8d7e0c0847d1b5ba3d.zip FreeBSD-src-aace7c9e2f2343fb1a04ae8d7e0c0847d1b5ba3d.tar.gz |
Set default command count to 0xfe. This tells the f/w essentially
to *not* do flow control based upon resource counts for the firmware.
Increase default immediate notify count to 16.
Change isp_target_async to a function returning an integer.
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 5362987..c59e59a 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 */ |