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:
parent
f02d3e0eeb
commit
aace7c9e2f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user