Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging
authorrpokala <rpokala@FreeBSD.org>
Thu, 4 Feb 2016 19:53:54 +0000 (19:53 +0000)
committerrpokala <rpokala@FreeBSD.org>
Thu, 4 Feb 2016 19:53:54 +0000 (19:53 +0000)
commit90ae570ac2c2e37f4c958f0dc31bd40995034958
tree1e970b8893e475fd4ae96d28d168356821e8aacc
parentad65b26786a9160789d37051277ea5c34c98113b
Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging

Add #defines for ATA_WRITE_UNCORRECTABLE48 and its features. Update the
decoding in ATACAM to recognize the new values. Also improve command
decoding for a few other commands (SMART, NOP, SET_FEATURES). Bring the
decoding in ata(4) up to parity with ATACAM.

Reviewed by: mav, imp
MFC after: 1 month
Sponsored by: Panasas, Inc.
Differential Revision: https://reviews.freebsd.org/D5181
sys/cam/ata/ata_all.c
sys/dev/ata/ata-all.c
sys/sys/ata.h