Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 08:17:45 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220616 - head/sys/cam/ata
Message-ID:  <201104140817.p3E8HjGx025715@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Apr 14 08:17:45 2011
New Revision: 220616
URL: http://svn.freebsd.org/changeset/base/220616

Log:
  Properly log few more ATA commands used by the kernel.

Modified:
  head/sys/cam/ata/ata_all.c

Modified: head/sys/cam/ata/ata_all.c
==============================================================================
--- head/sys/cam/ata/ata_all.c	Thu Apr 14 07:49:45 2011	(r220615)
+++ head/sys/cam/ata/ata_all.c	Thu Apr 14 08:17:45 2011	(r220616)
@@ -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");
 	        }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104140817.p3E8HjGx025715>