Page MenuHomeFreeBSD

Add bits related to SANITIZE, SED, and form-factor to (struct ata_params)
ClosedPublic

Authored by rpokala on May 29 2019, 5:47 AM.

Details

Summary

Based on ATA-ACS-4, recognize several bit fields related to the ATA
SANITIZE feature-set, Self-Encrypting Drives, and form-factor
identification.

The 'usedmovsd' field is not used in-tree. ATA-1 (1994) defined the word
for backwards-compatibility with a Vendor-Unique use, but it was marked as
Reserved starting with ATA-2 (1996). It stayed that way until ATA-8 (2008)
defined it as implemented in this change.

Test Plan

make tinderbox

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rpokala created this revision.May 29 2019, 5:47 AM
mav accepted this revision.May 29 2019, 1:27 PM

I am not a big fan of renaming the field, but OK, hope it won't be a problem.

This revision is now accepted and ready to land.May 29 2019, 1:27 PM
This revision was automatically updated to reflect the committed changes.