HomeFreeBSD

MFC r314302: Return better error code in case of too long CDB.

Description

MFC r314302: Return better error code in case of too long CDB.

Its more important for SPI HBAs, as they don't support CDBs above 12 bytes.
The new error code makes CAM to fall back to alternative commands.

Details

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