svn commit: r195665 - head/sys/cam/ata

Alexander Motin mav at FreeBSD.org
Mon Jul 13 21:21:30 UTC 2009


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);
 			}


More information about the svn-src-head mailing list