PERFORCE change 163319 for review

Alexander Motin mav at FreeBSD.org
Mon Jun 1 21:31:40 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=163319

Change 163319 by mav at mav_mavbook on 2009/06/01 21:30:55

	Minor log tuning.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#10 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#10 (text+ko) ====

@@ -167,12 +167,12 @@
 	caps = ATA_INL(ctlr->r_mem, AHCI_CAP);
 	speed = (caps & AHCI_CAP_ISS) >> AHCI_CAP_ISS_SHIFT;
 	device_printf(dev,
-		    "AHCI v%x.%02x %sGbps controller with %d ports, PM %s\n",
+		    "AHCI v%x.%02x controller with %d %sGbps ports, PM %s\n",
 		    ((version >> 20) & 0xf0) + ((version >> 16) & 0x0f),
 		    ((version >> 4) & 0xf0) + (version & 0x0f),
+		    (caps & AHCI_CAP_NPMASK) + 1,
 		    ((speed == 1) ? "1.5":((speed == 2) ? "3":
 		    ((speed == 3) ? "6":"?"))),
-		    (caps & AHCI_CAP_NPMASK) + 1,
 		    (caps & AHCI_CAP_SPM) ?
 		    "supported" : "not supported");
 	if (bootverbose) {


More information about the p4-projects mailing list