1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

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.
This commit is contained in:
Matt Jacob 2002-06-16 04:54:46 +00:00
parent 0322f8f8f7
commit 9dba6a4ecb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98283

View File

@ -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 */