PERFORCE change 165142 for review

Alexander Motin mav at FreeBSD.org
Thu Jun 25 09:57:48 UTC 2009


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

Change 165142 by mav at mav_mavbook on 2009/06/25 09:56:48

	Report enabled NCQ.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#11 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#11 (text+ko) ====

@@ -662,9 +662,10 @@
 	        dp->secsize, dp->heads,
                 dp->secs_per_track, dp->cylinders);
 	xpt_announce_periph(periph, announce_buf);
-printf("%04x %04x %04x sata: %04x, queue: %d\n",
-    cgd->ident_data.support.command1, cgd->ident_data.support.command2, cgd->ident_data.support.extension,
-    cgd->ident_data.satacapabilities, ATA_QUEUE_LEN(cgd->ident_data.queue));
+	if (softc->flags & ADA_FLAG_CAN_NCQ) {
+		printf("%s%d: Native Command Queueing Enabled\n",
+		       periph->periph_name, periph->unit_number);
+	}
 
 	softc->disk->d_sectorsize = softc->params.secsize;
 	softc->disk->d_mediasize = softc->params.secsize * (off_t)softc->params.sectors;


More information about the p4-projects mailing list