HomeFreeBSD

MFC r314299, r314300: Fix residual length reporting in target mode.

Description

MFC r314299, r314300: Fix residual length reporting in target mode.

This allows to properly handle cases when target wants to receive or send
more data then initiator wants to send or receive. Previously in such
cases isp(4) returned CAM_DATA_RUN_ERR, while now it returns resid > 0.

Details

Provenance
mavAuthored on
Parents
rS314756: MFC r314299, r314300: Fix residual length reporting in target mode.
Branches
Unknown
Tags
Unknown