Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 02:42:52 +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: r212718 - stable/8/sys/dev/ata/chipsets
Message-ID:  <201009160242.o8G2gqcF058517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Sep 16 02:42:52 2010
New Revision: 212718
URL: http://svn.freebsd.org/changeset/base/212718

Log:
  MFC r212081:
  Increase device reset timeout from 10 to 15 seconds, same as in ahci(4).
  Some devices found need about 10-12 seconds to spinup.

Modified:
  stable/8/sys/dev/ata/chipsets/ata-ahci.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)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/ata/chipsets/ata-ahci.c
==============================================================================
--- stable/8/sys/dev/ata/chipsets/ata-ahci.c	Thu Sep 16 01:38:13 2010	(r212717)
+++ stable/8/sys/dev/ata/chipsets/ata-ahci.c	Thu Sep 16 02:42:52 2010	(r212718)
@@ -815,7 +815,7 @@ ata_ahci_hardreset(device_t dev, int por
     if (!ata_sata_phy_reset(dev, port, 0))
 	return (ENOENT);
     /* Wait for clearing busy status. */
-    if (ata_ahci_wait_ready(dev, 10000)) {
+    if (ata_ahci_wait_ready(dev, 15000)) {
 	device_printf(dev, "hardware reset timeout\n");
 	return (EBUSY);
     }



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