Fix copy-paste bug, enabling SIM PMP support, when it was not really found.

Approved by:	re (implicitly)
This commit is contained in:
Alexander Motin 2009-07-13 21:21:30 +00:00
parent de985f6174
commit 3ccda2f312
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195665

View File

@ -1204,7 +1204,7 @@ ata_scan_bus(struct cam_periph *periph, union ccb *request_ccb)
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);
}