diff options
| author | Macpaul Lin <[email protected]> | 2026-03-05 18:23:24 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-03-16 10:39:26 -0600 |
| commit | 041364141b7daef8318a4b8495cac8570002773f (patch) | |
| tree | fcb961a78ca9b2ea99095aeb1ead465b7e1a093b /include | |
| parent | c4fcf9b806aefd6ab18edca59994c5a106d5e9ff (diff) | |
scsi: Adjust SCSI inquiry command data length
Per the SCSI SPC-4 specification, the standard inquiry data length
should not be less than 36 bytes. The current implementation uses 512
bytes, which causes detection failures on some UFS devices (e.g.,
Longsys) that do not expect a transfer length exceeding the standard
inquiry size.
Align the default standard inquiry length with the Linux kernel's
implementation (see drivers/scsi/scsi_scan.c), which uses 36 bytes as
the default. Devices requiring vendor-specific inquiry lengths should
be handled through quirk settings in the future.
Signed-off-by: ht.lin <[email protected]>
Signed-off-by: Macpaul Lin <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
