Date: Thu, 27 Jan 2011 13:40:03 +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: r217938 - stable/8/sys/dev/ata/chipsets Message-ID: <201101271340.p0RDe3rR018133@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Jan 27 13:40:03 2011 New Revision: 217938 URL: http://svn.freebsd.org/changeset/base/217938 Log: MFC r215936: Do hard reset before soft reset for SATA channels. Soft reset reported to be not enough to restore device readiness in some situations. Modified: stable/8/sys/dev/ata/chipsets/ata-serverworks.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) Modified: stable/8/sys/dev/ata/chipsets/ata-serverworks.c ============================================================================== --- stable/8/sys/dev/ata/chipsets/ata-serverworks.c Thu Jan 27 13:38:52 2011 (r217937) +++ stable/8/sys/dev/ata/chipsets/ata-serverworks.c Thu Jan 27 13:40:03 2011 (r217938) @@ -413,7 +413,7 @@ ata_serverworks_sata_reset(device_t dev) { struct ata_channel *ch = device_get_softc(dev); - if (ata_sata_phy_reset(dev, -1, 1)) + if (ata_sata_phy_reset(dev, -1, 0)) ata_generic_reset(dev); else ch->devices = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101271340.p0RDe3rR018133>