Do hard reset before soft reset for SATA channels. Soft reset reported to be

not enough to restore device readiness in some situations.

Tested by: 	Roger Hammerstein <cheeky.m@live.com> on ServerWorks HT1000.
This commit is contained in:
Alexander Motin 2010-11-27 07:03:31 +00:00
parent f0fe67b43c
commit 8a1d183fb7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215936

View File

@ -405,7 +405,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;