svn commit: r212081 - head/sys/dev/ata/chipsets

Alexander Motin mav at FreeBSD.org
Wed Sep 1 06:43:41 UTC 2010


Author: mav
Date: Wed Sep  1 06:43:41 2010
New Revision: 212081
URL: http://svn.freebsd.org/changeset/base/212081

Log:
  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:
  head/sys/dev/ata/chipsets/ata-ahci.c

Modified: head/sys/dev/ata/chipsets/ata-ahci.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-ahci.c	Wed Sep  1 05:39:56 2010	(r212080)
+++ head/sys/dev/ata/chipsets/ata-ahci.c	Wed Sep  1 06:43:41 2010	(r212081)
@@ -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);
     }


More information about the svn-src-head mailing list