svn commit: r217937 - stable/8/sys/dev/ata/chipsets
Alexander Motin
mav at FreeBSD.org
Thu Jan 27 13:38:52 UTC 2011
Author: mav
Date: Thu Jan 27 13:38:52 2011
New Revision: 217937
URL: http://svn.freebsd.org/changeset/base/217937
Log:
MFC r215451:
Record that there is no devices if SATA reset found none.
Modified:
stable/8/sys/dev/ata/chipsets/ata-via.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-via.c
==============================================================================
--- stable/8/sys/dev/ata/chipsets/ata-via.c Thu Jan 27 13:37:45 2011 (r217936)
+++ stable/8/sys/dev/ata/chipsets/ata-via.c Thu Jan 27 13:38:52 2011 (r217937)
@@ -463,6 +463,8 @@ ata_via_sata_reset(device_t dev)
devs = 1;
if (devs)
ata_generic_reset(dev);
+ else
+ ch->devices = 0;
}
static int
More information about the svn-src-all
mailing list