HomeFreeBSD

MFC r350457: Make `camcontrol modepage` to use 10 byte commands.

Description

MFC r350457: Make camcontrol modepage to use 10 byte commands.

While old devices may not support 10 byte MODE SENSE/MODE SELECT commands,
new ones may not be able to report all mode pages with 6 byte commands.

This patch makes camcontrol by default start with 10 byte commands and
fall back to 6 byte on ILLEGAL REQUEST error, or 6 byte can be forced.

Details

Committed
mavAug 28 2019, 8:22 PM
Parents
rS351580: MFC r350424: Use present now scsi_mode_sense_subpage().
Branches
Unknown
Tags
Unknown