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

Alexander Motin mav at FreeBSD.org
Wed Nov 25 14:24:14 UTC 2009


Author: mav
Date: Wed Nov 25 14:24:14 2009
New Revision: 199799
URL: http://svn.freebsd.org/changeset/base/199799

Log:
  Fix small copu-paste bug.

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

Modified: head/sys/cam/ata/ata_xpt.c
==============================================================================
--- head/sys/cam/ata/ata_xpt.c	Wed Nov 25 13:31:17 2009	(r199798)
+++ head/sys/cam/ata/ata_xpt.c	Wed Nov 25 14:24:14 2009	(r199799)
@@ -347,7 +347,7 @@ probestart(struct cam_periph *periph, un
 			if (cts.xport_specific.ata.valid & CTS_ATA_VALID_MODE)
 				mode = cts.xport_specific.ata.mode;
 		} else {
-			if (cts.xport_specific.ata.valid & CTS_SATA_VALID_MODE)
+			if (cts.xport_specific.sata.valid & CTS_SATA_VALID_MODE)
 				mode = cts.xport_specific.sata.mode;
 		}
 negotiate:


More information about the svn-src-head mailing list