Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 13:38: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: r217937 - stable/8/sys/dev/ata/chipsets
Message-ID:  <201101271338.p0RDcqrP018054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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