From owner-svn-src-head@FreeBSD.ORG Thu Apr 14 08:17:45 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1C48106566C; Thu, 14 Apr 2011 08:17:45 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 90A6E8FC08; Thu, 14 Apr 2011 08:17:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p3E8Hj65025717; Thu, 14 Apr 2011 08:17:45 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p3E8HjGx025715; Thu, 14 Apr 2011 08:17:45 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201104140817.p3E8HjGx025715@svn.freebsd.org> From: Alexander Motin Date: Thu, 14 Apr 2011 08:17:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r220616 - head/sys/cam/ata X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 08:17:45 -0000 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"); }