From owner-svn-src-all@FreeBSD.ORG Thu Feb 26 23:07:41 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4519B1065672; Thu, 26 Feb 2009 23:07:41 +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 3331D8FC12; Thu, 26 Feb 2009 23:07:41 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1QN7fAd040848; Thu, 26 Feb 2009 23:07:41 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1QN7fZY040847; Thu, 26 Feb 2009 23:07:41 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <200902262307.n1QN7fZY040847@svn.freebsd.org> From: Alexander Motin Date: Thu, 26 Feb 2009 23:07:41 +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: r189094 - head/sys/dev/ata X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 23:07:41 -0000 Author: mav Date: Thu Feb 26 23:07:40 2009 New Revision: 189094 URL: http://svn.freebsd.org/changeset/base/189094 Log: Unhide IDENTIFY command timeouts when verbose messages enabled. I think it should be suitable for debugging. Modified: head/sys/dev/ata/ata-all.c Modified: head/sys/dev/ata/ata-all.c ============================================================================== --- head/sys/dev/ata/ata-all.c Thu Feb 26 22:26:07 2009 (r189093) +++ head/sys/dev/ata/ata-all.c Thu Feb 26 23:07:40 2009 (r189094) @@ -627,7 +627,9 @@ ata_getparam(struct ata_device *atadev, request->timeout = 1; request->retries = 0; request->u.ata.command = command; - request->flags = (ATA_R_READ|ATA_R_AT_HEAD|ATA_R_THREAD|ATA_R_QUIET); + request->flags = (ATA_R_READ|ATA_R_AT_HEAD|ATA_R_THREAD); + if (!bootverbose) + request->flags |= ATA_R_QUIET; request->data = (void *)&atadev->param; request->bytecount = sizeof(struct ata_params); request->donecount = 0;