mav bdd2f4e1c1 Fix number of problems found while testing on SAT devices.
- Remove incomplete and dangerous ata_res decoding from ata_do_cmd().
Instead switch all functions that need the result to use get_ata_status(),
doing the same, but more careful, also reducing code duplication.
 - Made get_ata_status() to also decode fixed format sense.  In many cases
it is still not enough to make it useful, since it can only report results
of 28-bit command, but it is slightly better then nothing.
 - Organize error reporting in ata_do_cmd(), so that if caller specified
AP_FLAG_CHK_COND, it is responsible for command errors (non-ioctl ones).
 - Make HPA/AMA errors not fatal for `identify` subcommand.
 - Fix reprobe() not being called on HPA/AMA when in quiet mode.
 - Remove not very useful messages from `format` and `sanitize` commands
with -y flag.  Once they started, they often can't be stopped any way.

MFC after:	5 days
Sponsored by:	iXsystems, Inc.
2019-09-09 17:36:29 +00:00
..
2019-08-13 20:06:55 +00:00
2019-02-04 21:28:25 +00:00
2019-05-23 20:12:24 +00:00
2019-08-13 20:06:55 +00:00
2019-03-08 10:03:16 +00:00
2019-08-05 00:08:25 +00:00
2019-08-08 20:56:52 +00:00
2017-10-31 00:07:04 +00:00
2019-08-27 15:34:37 +00:00
2019-01-05 16:05:39 +00:00
2019-08-13 20:06:55 +00:00
2019-06-25 04:50:09 +00:00