Date: Tue, 19 Apr 2011 16:26:55 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r220842 - stable/8/sys/cam/ata Message-ID: <201104191626.p3JGQtT0013719@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Apr 19 16:26:55 2011 New Revision: 220842 URL: http://svn.freebsd.org/changeset/base/220842 Log: MFC r220616: Properly log few more ATA commands used by the kernel. Modified: stable/8/sys/cam/ata/ata_all.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/cam/ata/ata_all.c ============================================================================== --- stable/8/sys/cam/ata/ata_all.c Tue Apr 19 16:23:07 2011 (r220841) +++ stable/8/sys/cam/ata/ata_all.c Tue Apr 19 16:26:55 2011 (r220842) @@ -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?201104191626.p3JGQtT0013719>