Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 23:07:41 +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: r189094 - head/sys/dev/ata
Message-ID:  <200902262307.n1QN7fZY040847@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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