Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 21:21:30 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r195665 - head/sys/cam/ata
Message-ID:  <200907132121.n6DLLUbm036055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Jul 13 21:21:30 2009
New Revision: 195665
URL: http://svn.freebsd.org/changeset/base/195665

Log:
  Fix copy-paste bug, enabling SIM PMP support, when it was not really found.
  
  Approved by:	re (implicitly)

Modified:
  head/sys/cam/ata/ata_xpt.c

Modified: head/sys/cam/ata/ata_xpt.c
==============================================================================
--- head/sys/cam/ata/ata_xpt.c	Mon Jul 13 21:18:54 2009	(r195664)
+++ head/sys/cam/ata/ata_xpt.c	Mon Jul 13 21:21:30 2009	(r195665)
@@ -1204,7 +1204,7 @@ ata_scan_bus(struct cam_periph *periph, 
 				    scan_info->request_ccb->ccb_h.path, 1);
 				cts.ccb_h.func_code = XPT_SET_TRAN_SETTINGS;
 				cts.type = CTS_TYPE_CURRENT_SETTINGS;
-				cts.xport_specific.sata.pm_present = 1;
+				cts.xport_specific.sata.pm_present = 0;
 				cts.xport_specific.sata.valid = CTS_SATA_VALID_PM;
 				xpt_action((union ccb *)&cts);
 			}



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