Properly log few more ATA commands used by the kernel.
This commit is contained in:
parent
70b7af2b21
commit
276b083449
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220616
@ -72,6 +72,8 @@ char *
|
||||
ata_op_string(struct ata_cmd *cmd)
|
||||
{
|
||||
|
||||
if (cmd->control & 0x04)
|
||||
return ("SOFT_RESET");
|
||||
switch (cmd->command) {
|
||||
case 0x00: return ("NOP");
|
||||
case 0x03: return ("CFA_REQUEST_EXTENDED_ERROR");
|
||||
@ -149,6 +151,8 @@ ata_op_string(struct ata_cmd *cmd)
|
||||
case 0x06: return ("SETFEATURES ENABLE PUIS");
|
||||
case 0x86: return ("SETFEATURES DISABLE PUIS");
|
||||
case 0x07: return ("SETFEATURES SPIN-UP");
|
||||
case 0x10: return ("SETFEATURES ENABLE SATA FEATURE");
|
||||
case 0x90: return ("SETFEATURES DISABLE SATA FEATURE");
|
||||
case 0xaa: return ("SETFEATURES ENABLE RCACHE");
|
||||
case 0x55: return ("SETFEATURES DISABLE RCACHE");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user